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.001299/0.001299, allocations: 84.98 kB / 23 MB, free: 1.5 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.0009436/0.0009436, allocations: 176.7 kB / 26.39 MB, free: 7.988 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.8668/0.8668, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.132e-06/1.132e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.333e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.009841/0.009854, allocations: 11.69 MB / 264 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007883/0.01774, allocations: 9.309 MB / 273.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.01801, allocations: 11.94 kB / 273.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.01846, allocations: 182.8 kB / 273.5 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008262/0.01928, allocations: 0.5629 MB / 274 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.02365, allocations: 2.001 MB / 276 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.0249, allocations: 1.421 MB / 277.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.02511, allocations: 115 kB / 277.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007461/0.02586, allocations: 0.7016 MB / 278.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.02625, allocations: 402.8 kB / 278.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.0263, allocations: 52 kB / 278.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005343/0.03165, allocations: 5.341 MB / 284 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.03176, allocations: 155.5 kB / 284.2 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.03194, allocations: 247.6 kB / 284.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.03786, allocations: 5.036 MB / 289.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.03786, allocations: 3.984 kB / 289.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.03786, allocations: 4 kB / 289.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.03787, allocations: 0 / 289.5 MB, free: 1.898 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.002123/0.03999, allocations: 1.001 MB / 290.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.04002, allocations: 11.98 kB / 290.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/0.04043, allocations: 190.8 kB / 290.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.04072, allocations: 315.2 kB / 291 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.04074, allocations: 37 kB / 291 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.04079, allocations: 47.94 kB / 291.1 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.04145, allocations: 0.6931 MB / 291.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.04147, allocations: 4 kB / 291.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.0415, allocations: 20 kB / 291.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.04151, allocations: 15.98 kB / 291.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.04187, allocations: 290.5 kB / 292.1 MB, free: 15.12 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.002238/0.04411, allocations: 3.189 MB / 295.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.04453, allocations: 292.4 kB / 295.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.04463, allocations: 120.3 kB / 295.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.04488, allocations: 144.2 kB / 295.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.0449, allocations: 49.75 kB / 295.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.603e-06/0.04491, allocations: 0 / 295.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004026/0.04893, allocations: 1.407 MB / 297.3 MB, free: 9.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.04895, allocations: 55.91 kB / 297.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.04912, allocations: 324 kB / 297.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.04914, allocations: 33.7 kB / 297.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.04931, allocations: 287.7 kB / 298 MB, free: 9.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.0494, allocations: 206.2 kB / 298.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.04951, allocations: 123.9 kB / 298.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.04963, allocations: 0.5195 MB / 298.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.04972, allocations: 81.25 kB / 298.9 MB, free: 8.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.04991, allocations: 300.6 kB / 299.2 MB, free: 7.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.05036, allocations: 411.4 kB / 299.6 MB, free: 7.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.05036, allocations: 4 kB / 299.6 MB, free: 7.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005552/0.05091, allocations: 0.5042 MB / 300.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.05093, allocations: 8 kB / 300.1 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.05094, allocations: 4 kB / 300.1 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00412/0.05506, allocations: 430.5 kB / 300.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.05535, allocations: 139.8 kB / 300.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.05697, allocations: 4.21 MB / 304.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.05712, allocations: 16 kB / 304.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.05715, allocations: 23.98 kB / 304.9 MB, free: 1.664 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume1.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.000138/0.05729, allocations: 196.7 kB / 305.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.05736, allocations: 59.77 kB / 305.1 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.058, allocations: 0.6574 MB / 305.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.05801, allocations: 11.98 kB / 305.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.05802, allocations: 3.938 kB / 305.8 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000483/0.0585, allocations: 0.694 MB / 306.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.05948, allocations: 1.106 MB / 307.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.05949, allocations: 4 kB / 307.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.0597, allocations: 95.89 kB / 307.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.06106, allocations: 318.7 kB / 308 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.06109, allocations: 16 kB / 308 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004652/0.06155, allocations: 1.588 MB / 309.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.06155, allocations: 0 / 309.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.06243, allocations: 0.7512 MB / 310.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.06247, allocations: 47.61 kB / 310.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.0625, allocations: 12 kB / 310.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.06262, allocations: 19.94 kB / 310.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.06266, allocations: 40.42 kB / 310.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.06268, allocations: 15.98 kB / 310.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.0628, allocations: 226.9 kB / 310.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0628, allocations: 0 / 310.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001511/0.06431, allocations: 419.2 kB / 311.1 MB, free: 11.16 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.007674/0.07198, allocations: 3.492 MB / 314.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.07271, allocations: 0.5502 MB / 315.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.07272, allocations: 0 / 315.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.07301, allocations: 245.8 kB / 315.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.0737, allocations: 252.2 kB / 315.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.07519, allocations: 1.119 MB / 316.8 MB, free: 5.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.704e-05/0.07527, allocations: 143.9 kB / 316.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.07557, allocations: 208 kB / 317.1 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.07591, allocations: 266 kB / 317.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.07591, allocations: 0 / 317.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of Templates: time 0.0236/0.09952, allocations: 24.97 MB / 342.4 MB, free: 11.83 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: 4.159689568914473]