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.001231/0.001231, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00187/0.0031, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.00073/0.00073, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001752, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9215/0.9215, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1436/1.065, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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.593e-06/1.593e-06, allocations: 0 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.724e-05, allocations: 9.406 kB / 222 MB, free: 40 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01145/0.01148, allocations: 11.78 MB / 233.8 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.0192, allocations: 9.499 MB / 243.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.01944, allocations: 15.88 kB / 243.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.01987, allocations: 194.8 kB / 243.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.02054, allocations: 0.5512 MB / 244 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.02402, allocations: 1.918 MB / 246 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.02531, allocations: 1.421 MB / 247.4 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.02558, allocations: 126.9 kB / 247.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.02672, allocations: 0.7289 MB / 248.2 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.02729, allocations: 382.8 kB / 248.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.02737, allocations: 52 kB / 248.7 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009378/0.03675, allocations: 5.446 MB / 254.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.03692, allocations: 123.6 kB / 254.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.03722, allocations: 207.7 kB / 254.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008122/0.04535, allocations: 4.826 MB / 259.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.04536, allocations: 0 / 259.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04536, allocations: 0 / 259.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.04537, allocations: 0 / 259.3 MB, free: 10.66 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.002671/0.04804, allocations: 1.628 MB / 260.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.04807, allocations: 11.97 kB / 260.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.04859, allocations: 264.2 kB / 261.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.04894, allocations: 260.3 kB / 261.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.04897, allocations: 41 kB / 261.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.04904, allocations: 55.94 kB / 261.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.04973, allocations: 0.6755 MB / 262.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.04975, allocations: 4 kB / 262.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.04978, allocations: 23.98 kB / 262.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.0498, allocations: 12 kB / 262.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.0502, allocations: 265.4 kB / 262.5 MB, free: 7.262 MB / 266.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.002224/0.05242, allocations: 2.415 MB / 264.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.05286, allocations: 271.7 kB / 265.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.05296, allocations: 101.5 kB / 265.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.05323, allocations: 144.2 kB / 265.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.05326, allocations: 38.94 kB / 265.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.704e-06/0.05326, allocations: 0 / 265.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004949/0.05821, allocations: 1.5 MB / 266.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.05824, allocations: 59.91 kB / 267 MB, free: 2.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.05839, allocations: 256.8 kB / 267.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.05842, allocations: 37.7 kB / 267.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.05851, allocations: 229.5 kB / 267.5 MB, free: 2.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.05861, allocations: 198.3 kB / 267.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.05871, allocations: 114.2 kB / 267.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.05881, allocations: 354.7 kB / 268.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.05889, allocations: 65.28 kB / 268.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.05905, allocations: 224.1 kB / 268.4 MB, free: 1.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.05935, allocations: 369.5 kB / 268.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.05935, allocations: 0 / 268.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004596/0.05981, allocations: 400.6 kB / 269.2 MB, free: 232 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.05983, allocations: 4 kB / 269.2 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.05984, allocations: 4 kB / 269.2 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/0.06374, allocations: 426.3 kB / 269.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.0641, allocations: 167.7 kB / 269.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.06529, allocations: 2.787 MB / 272.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.06542, allocations: 16 kB / 272.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.06544, allocations: 20 kB / 272.6 MB, free: 12.64 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.0001247/0.06557, allocations: 156.5 kB / 272.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.06562, allocations: 43.91 kB / 272.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.06618, allocations: 0.6106 MB / 273.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.06618, allocations: 12.06 kB / 273.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.06619, allocations: 7.938 kB / 273.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003916/0.06658, allocations: 0.6227 MB / 274 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.06754, allocations: 0.9104 MB / 275 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.06754, allocations: 0 / 275 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.06781, allocations: 127.7 kB / 275.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.06785, allocations: 43.66 kB / 275.1 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.06911, allocations: 314.7 kB / 275.4 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.06914, allocations: 19.98 kB / 275.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004166/0.06956, allocations: 1.054 MB / 276.5 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.06956, allocations: 0 / 276.5 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.07007, allocations: 0.646 MB / 277.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.07011, allocations: 19.92 kB / 277.2 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.07022, allocations: 12 kB / 277.2 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.07026, allocations: 32.44 kB / 277.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.07028, allocations: 15.98 kB / 277.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.6e-05/0.07035, allocations: 112.7 kB / 277.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07035, allocations: 0 / 277.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001338/0.07169, allocations: 419.1 kB / 277.8 MB, free: 7.262 MB / 282.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.008003/0.0797, allocations: 3.497 MB / 281.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.08039, allocations: 468.2 kB / 281.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/0.08041, allocations: 12 kB / 281.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.08079, allocations: 263.6 kB / 282 MB, free: 3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.08187, allocations: 1.058 MB / 283 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/0.0907, allocations: 1.107 MB / 284.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.0908, allocations: 139.7 kB / 284.3 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.09115, allocations: 208.1 kB / 284.5 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.09156, allocations: 223.1 kB / 284.7 MB, free: 52 kB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.09156, allocations: 0 / 284.7 MB, free: 52 kB / 282.7 MB Notification: Performance of Templates: time 0.1226/0.2142, allocations: 25.2 MB / 309.9 MB, free: 25.52 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.210175179876387]