Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009386/0.0009386, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009535/0.0009535, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9675/0.9675, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.627e-05, allocations: 6.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.009437/0.009454, allocations: 10.77 MB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1067/0.1161, allocations: 9.172 MB / 292.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.1163, allocations: 6.656 kB / 292.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.1168, allocations: 144.5 kB / 293 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.1173, allocations: 400.5 kB / 293.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.1209, allocations: 1.907 MB / 295.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008488/0.1218, allocations: 0.9913 MB / 296.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1219, allocations: 83.84 kB / 296.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.1225, allocations: 0.4913 MB / 296.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.1228, allocations: 278.8 kB / 297.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.1228, allocations: 37.47 kB / 297.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005404/0.1282, allocations: 5.332 MB / 302.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.151e-05/0.1283, allocations: 117.9 kB / 302.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1285, allocations: 169.4 kB / 302.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.1349, allocations: 4.918 MB / 307.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1349, allocations: 4 kB / 307.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1349, allocations: 0 / 307.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1349, allocations: 0 / 307.7 MB, free: 12.07 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001751/0.1367, allocations: 0.8556 MB / 308.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1367, allocations: 11.98 kB / 308.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.1371, allocations: 144.8 kB / 308.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1373, allocations: 265.1 kB / 309 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1373, allocations: 26.34 kB / 309 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.1374, allocations: 35.94 kB / 309 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.1378, allocations: 0.5381 MB / 309.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1378, allocations: 0 / 309.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.1378, allocations: 17.72 kB / 309.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1378, allocations: 8 kB / 309.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.1381, allocations: 246.3 kB / 309.8 MB, free: 9.824 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.001461/0.1396, allocations: 2.57 MB / 312.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1399, allocations: 217.7 kB / 312.6 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.14, allocations: 90.53 kB / 312.7 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.1403, allocations: 147 kB / 312.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.1403, allocations: 37.39 kB / 312.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.452e-06/0.1403, allocations: 0 / 312.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002623/0.1429, allocations: 0.9892 MB / 313.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.1429, allocations: 57.84 kB / 313.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.143, allocations: 291.1 kB / 314.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1431, allocations: 29.7 kB / 314.2 MB, free: 5.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1431, allocations: 243.8 kB / 314.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1432, allocations: 121.5 kB / 314.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.1432, allocations: 88.61 kB / 314.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.1433, allocations: 0.5079 MB / 315.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.1434, allocations: 66.8 kB / 315.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1435, allocations: 234.1 kB / 315.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.1437, allocations: 320.1 kB / 315.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1437, allocations: 5.562 kB / 315.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004431/0.1442, allocations: 390.5 kB / 316.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1442, allocations: 11.06 kB / 316.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1442, allocations: 4.812 kB / 316.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.1469, allocations: 235.9 kB / 316.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1471, allocations: 91.7 kB / 316.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/0.1477, allocations: 2.55 MB / 319.1 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.1478, allocations: 12 kB / 319.1 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1478, allocations: 21.72 kB / 319.1 MB, free: 180 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.000107/0.1479, allocations: 182.4 kB / 319.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.148, allocations: 53.41 kB / 319.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.1486, allocations: 0.4885 MB / 319.8 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1486, allocations: 7.938 kB / 319.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1486, allocations: 4 kB / 319.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000412/0.149, allocations: 0.6542 MB / 320.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/0.1498, allocations: 0.8677 MB / 321.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1498, allocations: 7.938 kB / 321.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1499, allocations: 59.53 kB / 321.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/0.1506, allocations: 162.8 kB / 321.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1506, allocations: 12 kB / 321.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/0.1509, allocations: 0.7977 MB / 322.4 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1509, allocations: 0 / 322.4 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.1514, allocations: 0.5744 MB / 323 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.1514, allocations: 29.47 kB / 323 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1515, allocations: 15.94 kB / 323 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.1516, allocations: 8 kB / 323 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1516, allocations: 23.95 kB / 323 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1516, allocations: 12 kB / 323.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1517, allocations: 214.8 kB / 323.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1517, allocations: 0 / 323.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001154/0.1529, allocations: 383.1 kB / 323.6 MB, free: 11.46 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007336/0.1602, allocations: 3.467 MB / 327.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.1607, allocations: 442.8 kB / 327.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1607, allocations: 1.344 kB / 327.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.1609, allocations: 145 kB / 327.7 MB, free: 7.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.1614, allocations: 171.4 kB / 327.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1625, allocations: 0.78 MB / 328.6 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.1626, allocations: 112.6 kB / 328.7 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.1628, allocations: 164.1 kB / 328.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.1629, allocations: 33.31 kB / 328.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1629, allocations: 0 / 328.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of Templates: time 0.01985/0.1827, allocations: 22.08 MB / 351 MB, free: 364 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.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.080688847228885]