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.0009059/0.0009059, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002117, allocations: 445.7 kB / 10.37 MB, free: 328 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.0008785/0.0008785, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.00201, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8775/0.8775, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.028, allocations: 49.48 MB / 220.5 MB, free: 1.457 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.693e-06/1.693e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.426e-05, allocations: 2.312 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01322/0.01324, allocations: 11.78 MB / 233.6 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008651/0.02189, allocations: 9.503 MB / 243.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.02222, allocations: 11.94 kB / 243.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.02267, allocations: 186.8 kB / 243.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008697/0.02354, allocations: 0.5552 MB / 243.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.02796, allocations: 1.918 MB / 245.8 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.02934, allocations: 1.425 MB / 247.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.02957, allocations: 118.9 kB / 247.3 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.03067, allocations: 0.7328 MB / 248.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.03123, allocations: 370.9 kB / 248.4 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.03131, allocations: 52 kB / 248.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.03751, allocations: 5.45 MB / 253.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.03768, allocations: 127.6 kB / 254.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.03798, allocations: 207.7 kB / 254.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006874/0.04485, allocations: 4.83 MB / 259.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-05/0.04487, allocations: 0 / 259.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04487, allocations: 4 kB / 259.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.0449, allocations: 0 / 259.1 MB, free: 10.78 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.002625/0.04752, allocations: 1.628 MB / 260.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.04755, allocations: 12.03 kB / 260.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.048, allocations: 264.2 kB / 261 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.04831, allocations: 272.3 kB / 261.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.04833, allocations: 37 kB / 261.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.04839, allocations: 51.94 kB / 261.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.04897, allocations: 0.6755 MB / 262 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.04898, allocations: 0 / 262 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.04901, allocations: 20 kB / 262 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.04902, allocations: 12 kB / 262.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.04935, allocations: 273.4 kB / 262.3 MB, free: 7.379 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.001926/0.05128, allocations: 2.411 MB / 264.7 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.05167, allocations: 267.7 kB / 265 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.05176, allocations: 94.31 kB / 265.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.05201, allocations: 155.8 kB / 265.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.05203, allocations: 42.55 kB / 265.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.563e-06/0.05203, allocations: 0 / 265.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.003825/0.05586, allocations: 1.351 MB / 266.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.05589, allocations: 63.89 kB / 266.7 MB, free: 2.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.05604, allocations: 256.8 kB / 266.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.05606, allocations: 33.7 kB / 267 MB, free: 2.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.05615, allocations: 233.4 kB / 267.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.05625, allocations: 202.3 kB / 267.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.05635, allocations: 114.2 kB / 267.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.05644, allocations: 350.7 kB / 267.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.05652, allocations: 69.28 kB / 267.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.05666, allocations: 220.1 kB / 268.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.05693, allocations: 365.5 kB / 268.5 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.05693, allocations: 0 / 268.5 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004197/0.05735, allocations: 396.5 kB / 268.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.05736, allocations: 8 kB / 268.9 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.05737, allocations: 4 kB / 268.9 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003774/0.06115, allocations: 410.5 kB / 269.3 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.06152, allocations: 167.8 kB / 269.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.0626, allocations: 2.795 MB / 272.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.06272, allocations: 16 kB / 272.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.06274, allocations: 20 kB / 272.3 MB, free: 12.91 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.0001134/0.06286, allocations: 152.5 kB / 272.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.06291, allocations: 43.97 kB / 272.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.06344, allocations: 0.6185 MB / 273.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.06345, allocations: 12 kB / 273.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.06346, allocations: 7.875 kB / 273.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003606/0.06382, allocations: 0.6188 MB / 273.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.06464, allocations: 0.9104 MB / 274.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.06465, allocations: 0 / 274.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.0649, allocations: 127.7 kB / 274.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.06493, allocations: 43.64 kB / 274.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.06606, allocations: 322.6 kB / 275.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.06608, allocations: 15.98 kB / 275.2 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003374/0.06642, allocations: 1.058 MB / 276.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.06642, allocations: 0 / 276.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.06692, allocations: 0.6421 MB / 276.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.06695, allocations: 15.94 kB / 276.9 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.06706, allocations: 15.98 kB / 276.9 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.06709, allocations: 32.56 kB / 276.9 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.06711, allocations: 19.98 kB / 276.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.06719, allocations: 100.6 kB / 277 MB, free: 7.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06719, allocations: 0 / 277 MB, free: 7.945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001274/0.06846, allocations: 427.1 kB / 277.4 MB, free: 7.527 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.007415/0.07588, allocations: 3.497 MB / 280.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.07655, allocations: 463.2 kB / 281.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.493e-05/0.07657, allocations: 20.17 kB / 281.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.07688, allocations: 225.9 kB / 281.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.07757, allocations: 300.2 kB / 281.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.08426, allocations: 1.103 MB / 283 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.481e-05/0.08434, allocations: 144 kB / 283.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.08469, allocations: 204.1 kB / 283.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.08503, allocations: 223.1 kB / 283.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.08503, allocations: 0 / 283.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of Templates: time 0.1178/0.2028, allocations: 25.35 MB / 308.9 MB, free: 26.8 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.055327107198536]