Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 166.9 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8321/0.8321, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.803e-05, allocations: 10.05 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01037/0.01039, allocations: 11.75 MB / 262.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007469/0.01786, allocations: 9.434 MB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.01807, allocations: 11.94 kB / 272.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.0185, allocations: 178.8 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006604/0.01916, allocations: 0.5629 MB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.02246, allocations: 2.004 MB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.02354, allocations: 1.414 MB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.02372, allocations: 111 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.02445, allocations: 0.7132 MB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.02484, allocations: 390.8 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.0249, allocations: 56 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.03022, allocations: 5.341 MB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.03034, allocations: 159.5 kB / 283.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.03053, allocations: 243.6 kB / 283.4 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007051/0.03758, allocations: 5.04 MB / 288.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.03759, allocations: 0 / 288.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03759, allocations: 0 / 288.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.0376, allocations: 4 kB / 288.5 MB, free: 1.973 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00221/0.03981, allocations: 1.001 MB / 289.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.03984, allocations: 11.98 kB / 289.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.04029, allocations: 186.8 kB / 289.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.04064, allocations: 319.2 kB / 290 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.04066, allocations: 37 kB / 290 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.04072, allocations: 51.94 kB / 290 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.04146, allocations: 0.7244 MB / 290.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.04147, allocations: 3.938 kB / 290.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.04151, allocations: 24 kB / 290.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.04152, allocations: 12 kB / 290.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.042, allocations: 345.5 kB / 291.1 MB, free: 15.1 MB / 282.7 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.002318/0.04431, allocations: 3.235 MB / 294.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.04483, allocations: 320.2 kB / 294.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.04499, allocations: 128.4 kB / 294.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.04526, allocations: 156.2 kB / 295 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.04529, allocations: 45.77 kB / 295 MB, free: 11.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.603e-06/0.04529, allocations: 0 / 295 MB, free: 11.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004539/0.04983, allocations: 1.547 MB / 296.6 MB, free: 9.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.04985, allocations: 55.91 kB / 296.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.05005, allocations: 320.2 kB / 296.9 MB, free: 9.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.05008, allocations: 33.7 kB / 297 MB, free: 9.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.0502, allocations: 295.7 kB / 297.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.0503, allocations: 198.3 kB / 297.4 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.05041, allocations: 123.9 kB / 297.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.05054, allocations: 0.5118 MB / 298.1 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.05071, allocations: 105.2 kB / 298.2 MB, free: 7.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.05094, allocations: 316.7 kB / 298.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.05138, allocations: 471.4 kB / 299 MB, free: 6.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.05138, allocations: 0 / 299 MB, free: 6.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007142/0.05209, allocations: 0.5551 MB / 299.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.05211, allocations: 4 kB / 299.5 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.05212, allocations: 15.97 kB / 299.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.05629, allocations: 430.4 kB / 299.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.0566, allocations: 139.8 kB / 300.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.05813, allocations: 4.241 MB / 304.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.05826, allocations: 16 kB / 304.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.05829, allocations: 28.31 kB / 304.4 MB, free: 1.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.05843, allocations: 196.4 kB / 304.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.0585, allocations: 59.75 kB / 304.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.05926, allocations: 0.7315 MB / 305.4 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.05927, allocations: 15.98 kB / 305.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.05927, allocations: 0 / 305.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008591/0.06013, allocations: 0.7604 MB / 306.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.06141, allocations: 1.23 MB / 307.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.06142, allocations: 0 / 307.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.06168, allocations: 103.9 kB / 307.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.06308, allocations: 314.8 kB / 307.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.06312, allocations: 12 kB / 307.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005257/0.06365, allocations: 1.588 MB / 309.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.06365, allocations: 0 / 309.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.06447, allocations: 0.8332 MB / 310.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.06455, allocations: 47.58 kB / 310.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.0646, allocations: 23.95 kB / 310.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.06473, allocations: 4 kB / 310.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.06478, allocations: 44.42 kB / 310.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.0648, allocations: 16 kB / 310.3 MB, free: 11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.06496, allocations: 235 kB / 310.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06496, allocations: 4 kB / 310.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001606/0.06656, allocations: 423.1 kB / 311 MB, free: 10.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.007982/0.07455, allocations: 3.468 MB / 314.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.07561, allocations: 0.5982 MB / 315 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.07562, allocations: 0 / 315 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.07597, allocations: 272.8 kB / 315.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.07674, allocations: 240.2 kB / 315.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.07842, allocations: 1.146 MB / 316.7 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.84e-05/0.07851, allocations: 136 kB / 316.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.07882, allocations: 215.8 kB / 317 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.0789, allocations: 52.48 kB / 317.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.0789, allocations: 0 / 317.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of Templates: time 0.0244/0.1033, allocations: 25.23 MB / 342.3 MB, free: 10.91 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9717258820310235]