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.001128/0.001128, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001213/0.001213, allocations: 167.9 kB / 25.69 MB, free: 8.453 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.7825/0.7825, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.363e-06/1.363e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.613e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01575/0.01577, allocations: 11.73 MB / 263.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009929/0.0257, allocations: 9.452 MB / 272.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.02588, allocations: 11.94 kB / 272.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.02629, allocations: 182.8 kB / 272.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.02691, allocations: 0.5629 MB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.02954, allocations: 2.028 MB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.03042, allocations: 1.41 MB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.03059, allocations: 119 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.03114, allocations: 0.7054 MB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.03146, allocations: 374.9 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.03152, allocations: 56 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.03605, allocations: 5.337 MB / 283.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.03617, allocations: 163.5 kB / 283.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.03634, allocations: 243.6 kB / 283.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.0419, allocations: 5.032 MB / 288.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0419, allocations: 0 / 288.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0419, allocations: 0 / 288.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.04191, allocations: 0 / 288.9 MB, free: 1.742 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.001715/0.04362, allocations: 0.876 MB / 289.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.04365, allocations: 11.98 kB / 289.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.04405, allocations: 191.1 kB / 290 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.04433, allocations: 256.4 kB / 290.2 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.04435, allocations: 33 kB / 290.3 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.0444, allocations: 55.94 kB / 290.3 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.04496, allocations: 0.6716 MB / 291 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.04497, allocations: 4 kB / 291 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.045, allocations: 20 kB / 291 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.04501, allocations: 12 kB / 291 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.04538, allocations: 273.4 kB / 291.3 MB, free: 15.21 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.002003/0.04738, allocations: 2.403 MB / 293.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.04778, allocations: 267.9 kB / 294 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.04787, allocations: 101.5 kB / 294.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.04813, allocations: 152.2 kB / 294.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.04815, allocations: 38.94 kB / 294.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.543e-06/0.04815, allocations: 0 / 294.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004004/0.05215, allocations: 1.352 MB / 295.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.05217, allocations: 59.91 kB / 295.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.05232, allocations: 264.7 kB / 295.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.05234, allocations: 37.7 kB / 296 MB, free: 10.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.05243, allocations: 217.6 kB / 296.2 MB, free: 10.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.05251, allocations: 198.2 kB / 296.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.05261, allocations: 118.2 kB / 296.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.05269, allocations: 350.7 kB / 296.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.05277, allocations: 77.22 kB / 296.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.05292, allocations: 216.1 kB / 297.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.05319, allocations: 365.5 kB / 297.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.05319, allocations: 4 kB / 297.5 MB, free: 8.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004118/0.05361, allocations: 392.7 kB / 297.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.05362, allocations: 8 kB / 297.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.05363, allocations: 4 kB / 297.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/0.05746, allocations: 414.3 kB / 298.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.05774, allocations: 135.8 kB / 298.4 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.05878, allocations: 2.791 MB / 301.2 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.05891, allocations: 16 kB / 301.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.05893, allocations: 23.98 kB / 301.2 MB, free: 4.781 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.000112/0.05905, allocations: 156.4 kB / 301.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.0591, allocations: 43.97 kB / 301.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.05962, allocations: 0.6106 MB / 302 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.05963, allocations: 12 kB / 302.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.05963, allocations: 4.062 kB / 302.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003792/0.06001, allocations: 0.6265 MB / 302.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.06081, allocations: 0.9064 MB / 303.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.06081, allocations: 0 / 303.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.06101, allocations: 103.8 kB / 303.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.06216, allocations: 310.8 kB / 304 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.06219, allocations: 19.92 kB / 304 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003155/0.0625, allocations: 1.058 MB / 305.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.06251, allocations: 3.938 kB / 305.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.06299, allocations: 0.646 MB / 305.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.06302, allocations: 43.66 kB / 305.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.06306, allocations: 15.98 kB / 305.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.06317, allocations: 12.05 kB / 305.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.0632, allocations: 36.33 kB / 305.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.06322, allocations: 11.98 kB / 305.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.0633, allocations: 108.6 kB / 305.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0633, allocations: 4.125 kB / 305.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001114/0.06441, allocations: 419.2 kB / 306.4 MB, free: 15.43 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.006943/0.07135, allocations: 3.481 MB / 309.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.07185, allocations: 470.5 kB / 310.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.07186, allocations: 7.938 kB / 310.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.07211, allocations: 218 kB / 310.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.07265, allocations: 235.9 kB / 310.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.07393, allocations: 1.08 MB / 311.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.515e-05/0.07401, allocations: 140 kB / 312 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.07426, allocations: 200 kB / 312.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.07456, allocations: 219.1 kB / 312.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.07456, allocations: 0 / 312.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of Templates: time 0.02205/0.09662, allocations: 24.75 MB / 337.1 MB, free: 0.5547 MB / 314.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.7978357071988285]