Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 78.88 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 153.6 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.402e-05, allocations: 7.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0168/0.01682, allocations: 14.25 MB / 333.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.02759, allocations: 3.973 MB / 337.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.03131, allocations: 162.3 kB / 337.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01853/0.04984, allocations: 7.34 MB / 344.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007249/0.05709, allocations: 1.512 MB / 346.2 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.06118, allocations: 1.102 MB / 347.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.07274, allocations: 8.578 MB / 355.8 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02813/0.1009, allocations: 14.26 MB / 370.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/0.1143, allocations: 7.31 MB / 377.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008813/0.1231, allocations: 4.635 MB / 382 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003523/0.1267, allocations: 1.383 MB / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.1317, allocations: 1.64 MB / 385.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.1356, allocations: 2.63 MB / 387.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007364/0.143, allocations: 3.493 MB / 391.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02324/0.1662, allocations: 18.51 MB / 409.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1662, allocations: 3.938 kB / 409.7 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1662, allocations: 7.938 kB / 409.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000388/0.1666, allocations: 0 / 409.7 MB, free: 0.5117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.0306/0.1972, allocations: 10.46 MB / 420.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1972, allocations: 15.97 kB / 420.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01971/0.217, allocations: 3.784 MB / 424 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.2283, allocations: 5.41 MB / 429.4 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006548/0.229, allocations: 0.6828 MB / 430.1 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/0.2317, allocations: 0.8983 MB / 431 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/0.2603, allocations: 12.79 MB / 443.7 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.2605, allocations: 11.89 kB / 443.8 MB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.2615, allocations: 376 kB / 444.1 MB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/0.2619, allocations: 411.1 kB / 444.5 MB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.2847, allocations: 11.38 MB / 455.9 MB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3443/0.629, allocations: 37.33 MB / 493.2 MB, free: 101.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008276/0.6373, allocations: 4.162 MB / 497.4 MB, free: 100.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.6393, allocations: 1.534 MB / 498.9 MB, free: 100.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.6394, allocations: 52.12 kB / 499 MB, free: 100.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.6395, allocations: 53.03 kB / 499 MB, free: 100 MB / 430.1 MB Notification: Performance of pre-optimization done (n=223): time 4.849e-06/0.6395, allocations: 0.9062 kB / 499 MB, free: 100 MB / 430.1 MB Notification: Performance of matching and sorting (n=223): time 0.00789/0.6474, allocations: 4.583 MB / 0.4918 GB, free: 98.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.6474, allocations: 80.78 kB / 0.4919 GB, free: 98.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.6508, allocations: 3.033 MB / 0.4949 GB, free: 96.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.651, allocations: 64.17 kB / 0.4949 GB, free: 96.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.6527, allocations: 3.973 MB / 0.4988 GB, free: 94.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.6532, allocations: 0.8103 MB / 0.4996 GB, free: 93.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.6542, allocations: 0.9512 MB / 0.5005 GB, free: 92.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.6543, allocations: 305.1 kB / 0.5008 GB, free: 92.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.6564, allocations: 1.971 MB / 0.5027 GB, free: 91.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.6591, allocations: 4.163 MB / 0.5068 GB, free: 87.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/0.6643, allocations: 6.51 MB / 0.5131 GB, free: 82.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/0.6643, allocations: 24 kB / 0.5132 GB, free: 82.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007841/0.6722, allocations: 6.5 MB / 0.5195 GB, free: 78.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.6722, allocations: 36 kB / 0.5196 GB, free: 78.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.713e-05/0.6723, allocations: 72 kB / 0.5196 GB, free: 78.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007662/0.673, allocations: 420.9 kB / 0.52 GB, free: 77.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.676, allocations: 1.061 MB / 0.5211 GB, free: 76.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.6799, allocations: 4.187 MB / 0.5251 GB, free: 72.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.6826, allocations: 0.6325 MB / 0.5258 GB, free: 71.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.6829, allocations: 248 kB / 0.526 GB, free: 71.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003794/0.6867, allocations: 3.365 MB / 0.5293 GB, free: 68.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/0.6871, allocations: 294.1 kB / 0.5296 GB, free: 67.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.6917, allocations: 3.576 MB / 0.5331 GB, free: 64.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003217/0.6949, allocations: 2.792 MB / 0.5358 GB, free: 61.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6949, allocations: 11.92 kB / 0.5358 GB, free: 61.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.6949, allocations: 11.95 kB / 0.5358 GB, free: 61.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.706, allocations: 7.986 MB / 0.5436 GB, free: 53.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.706, allocations: 0 / 0.5436 GB, free: 53.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.7075, allocations: 411.4 kB / 0.544 GB, free: 53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/0.7081, allocations: 316.5 kB / 0.5443 GB, free: 52.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.7082, allocations: 51.98 kB / 0.5444 GB, free: 52.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003713/0.7119, allocations: 4.004 MB / 0.5483 GB, free: 48.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7119, allocations: 3.938 kB / 0.5483 GB, free: 48.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005576/0.7175, allocations: 5.117 MB / 0.5533 GB, free: 43.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/0.7185, allocations: 0.5562 MB / 0.5538 GB, free: 42.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.7188, allocations: 40 kB / 0.5538 GB, free: 42.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.7199, allocations: 131.8 kB / 0.554 GB, free: 42.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.7201, allocations: 157.6 kB / 0.5541 GB, free: 42.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.7203, allocations: 60.09 kB / 0.5542 GB, free: 42.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002079/0.7223, allocations: 1.943 MB / 0.5561 GB, free: 40.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7223, allocations: 0 / 0.5561 GB, free: 40.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003976/0.7263, allocations: 1.988 MB / 0.558 GB, free: 38.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003795/0.7267, allocations: 241.4 kB / 0.5582 GB, free: 38.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005152/0.7318, allocations: 4.431 MB / 0.5626 GB, free: 33.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7318, allocations: 0 / 0.5626 GB, free: 33.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.7336, allocations: 1.611 MB / 0.5641 GB, free: 32.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.7366, allocations: 0.6615 MB / 0.5648 GB, free: 31.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.7532, allocations: 13.52 MB / 0.578 GB, free: 17.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00395/0.7572, allocations: 5.168 MB / 0.583 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003152/0.7603, allocations: 1.69 MB / 0.5847 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.7609, allocations: 236.5 kB / 0.5849 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7609, allocations: 0 / 0.5849 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Templates: time 0.07434/0.8352, allocations: 38.31 MB / 0.6223 GB, free: 5.008 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.074312224984169]