Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00195/0.00195, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002293/0.002293, allocations: 158.7 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.514e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03227/0.03229, allocations: 24.54 MB / 349.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02814/0.06043, allocations: 22.06 MB / 371.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.06081, allocations: 7.938 kB / 371.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.06164, allocations: 266.3 kB / 371.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007882/0.06243, allocations: 401.4 kB / 372.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01198/0.07441, allocations: 4.177 MB / 376.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.07589, allocations: 0.95 MB / 377.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.07615, allocations: 85.06 kB / 377.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008714/0.07702, allocations: 0.5181 MB / 378 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.07748, allocations: 271.2 kB / 378.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.07755, allocations: 44 kB / 378.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02274/0.1003, allocations: 10.17 MB / 388.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.1006, allocations: 107.6 kB / 388.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.101, allocations: 175.7 kB / 388.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03767/0.1387, allocations: 12 MB / 400.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1387, allocations: 4 kB / 400.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1387, allocations: 0 / 400.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.1387, allocations: 0 / 400.8 MB, free: 9.125 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006557/0.1453, allocations: 1.105 MB / 401.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1453, allocations: 11.98 kB / 401.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.146, allocations: 71.67 kB / 401.9 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.1465, allocations: 252.6 kB / 402.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.1466, allocations: 32.64 kB / 402.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.1466, allocations: 28 kB / 402.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1477, allocations: 0.6035 MB / 402.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1477, allocations: 8 kB / 402.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.1478, allocations: 19.94 kB / 402.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.1478, allocations: 15.98 kB / 402.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.1486, allocations: 378.3 kB / 403.3 MB, free: 6.477 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.1523, allocations: 2.176 MB / 405.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.153, allocations: 281.4 kB / 405.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.1533, allocations: 124.8 kB / 405.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.155, allocations: 467.4 kB / 406.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.155, allocations: 34.56 kB / 406.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.1551, allocations: 0 / 406.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.006379/0.1614, allocations: 1.147 MB / 407.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.1616, allocations: 63.34 kB / 407.5 MB, free: 2.062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.162, allocations: 239.9 kB / 407.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.162, allocations: 33.7 kB / 407.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.1623, allocations: 200.3 kB / 408 MB, free: 1.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1624, allocations: 123 kB / 408.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.1626, allocations: 82.14 kB / 408.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1627, allocations: 334.8 kB / 408.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.163, allocations: 113 kB / 408.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.1633, allocations: 226.7 kB / 408.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.1639, allocations: 381.4 kB / 409.2 MB, free: 240 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1639, allocations: 4 kB / 409.2 MB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00105/0.165, allocations: 450.8 kB / 409.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.165, allocations: 4.438 kB / 409.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.165, allocations: 8 kB / 409.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/0.1715, allocations: 253.3 kB / 409.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.1719, allocations: 91.83 kB / 410 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.1738, allocations: 1.817 MB / 411.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.174, allocations: 20.02 kB / 411.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.174, allocations: 20 kB / 411.9 MB, free: 13.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.1743, allocations: 157.8 kB / 412 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.1745, allocations: 31.81 kB / 412.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1757, allocations: 0.71 MB / 412.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.1757, allocations: 7.984 kB / 412.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1757, allocations: 0 / 412.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.1768, allocations: 0.8802 MB / 413.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.1785, allocations: 1.087 MB / 414.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.1785, allocations: 0 / 414.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.1788, allocations: 63.84 kB / 414.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.1805, allocations: 176.5 kB / 415 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1805, allocations: 15.98 kB / 415 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/0.181, allocations: 0.5796 MB / 415.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.181, allocations: 0 / 415.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.1822, allocations: 0.7395 MB / 416.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1823, allocations: 27.78 kB / 416.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.1823, allocations: 15.95 kB / 416.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1825, allocations: 4 kB / 416.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1826, allocations: 31.7 kB / 416.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.1826, allocations: 11.98 kB / 416.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1828, allocations: 197.4 kB / 416.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 4 kB / 416.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004394/0.1872, allocations: 0.7597 MB / 417.4 MB, free: 7.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02606/0.2133, allocations: 6.509 MB / 423.9 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2144, allocations: 463.2 kB / 424.3 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2144, allocations: 8.125 kB / 424.3 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.2148, allocations: 208.1 kB / 424.5 MB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.2159, allocations: 164.2 kB / 424.7 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.2177, allocations: 0.8376 MB / 425.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2179, allocations: 204.9 kB / 425.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004215/0.2183, allocations: 191.3 kB / 425.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.2184, allocations: 36.5 kB / 426 MB, free: 15.07 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2184, allocations: 0 / 426 MB, free: 15.07 MB / 398.1 MB Notification: Performance of Templates: time 0.04906/0.2675, allocations: 28.63 MB / 454.6 MB, free: 2.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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: 7.968155402690172]