Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.001269/0.001269, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001458/0.001458, allocations: 165.3 kB / 24.91 MB, free: 9.199 MB / 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.8729/0.8729, allocations: 177 MB / 205.2 MB, free: 5.473 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.336e-05, allocations: 2.312 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01534/0.01536, allocations: 11.78 MB / 285.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.102/0.1174, allocations: 9.47 MB / 294.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.1176, allocations: 10.5 kB / 294.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.1181, allocations: 187.5 kB / 294.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007062/0.1188, allocations: 0.5593 MB / 295.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.1221, allocations: 2.028 MB / 297.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.1232, allocations: 1.413 MB / 298.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.1234, allocations: 126.7 kB / 299 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.1243, allocations: 0.7011 MB / 299.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.1247, allocations: 376.4 kB / 300 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.1248, allocations: 52.94 kB / 300.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005168/0.13, allocations: 5.355 MB / 305.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1301, allocations: 158.7 kB / 305.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1303, allocations: 244.7 kB / 305.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.1358, allocations: 5.044 MB / 310.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1358, allocations: 0 / 310.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1358, allocations: 0 / 310.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1358, allocations: 0 / 310.9 MB, free: 9.801 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.001723/0.1375, allocations: 0.8729 MB / 311.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.1376, allocations: 15.27 kB / 311.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004073/0.138, allocations: 195.8 kB / 311.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1382, allocations: 251 kB / 312.2 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1382, allocations: 37.78 kB / 312.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.1383, allocations: 58.08 kB / 312.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.1387, allocations: 0.6669 MB / 313 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1387, allocations: 7.125 kB / 313 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1387, allocations: 20.72 kB / 313 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1387, allocations: 12 kB / 313 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.139, allocations: 267.9 kB / 313.3 MB, free: 7.336 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.001552/0.1406, allocations: 2.407 MB / 315.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1409, allocations: 260.1 kB / 315.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.141, allocations: 102.8 kB / 316 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.1412, allocations: 154.1 kB / 316.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.1412, allocations: 38.94 kB / 316.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.553e-06/0.1412, allocations: 0 / 316.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004133/0.1454, allocations: 1.372 MB / 317.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.311e-05/0.1454, allocations: 61.22 kB / 317.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.1455, allocations: 260 kB / 317.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1455, allocations: 33.7 kB / 317.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1455, allocations: 227.9 kB / 318.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.1456, allocations: 203.2 kB / 318.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/0.1457, allocations: 114.8 kB / 318.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.545e-05/0.1457, allocations: 351 kB / 318.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.1458, allocations: 66.62 kB / 318.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1459, allocations: 222 kB / 319.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1461, allocations: 359.4 kB / 319.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1461, allocations: 1.719 kB / 319.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0004162/0.1465, allocations: 426.6 kB / 319.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1465, allocations: 7.984 kB / 319.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1465, allocations: 5.719 kB / 319.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00501/0.1515, allocations: 426.9 kB / 320.3 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.1518, allocations: 135.8 kB / 320.4 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.1529, allocations: 2.797 MB / 323.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.153, allocations: 21.66 kB / 323.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.153, allocations: 19.98 kB / 323.2 MB, free: 13.11 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.0001104/0.1532, allocations: 152 kB / 323.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1533, allocations: 74.59 kB / 323.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.1538, allocations: 0.6159 MB / 324.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1538, allocations: 15.98 kB / 324.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1538, allocations: 0.7812 kB / 324.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003711/0.1542, allocations: 0.6149 MB / 324.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.155, allocations: 0.9144 MB / 325.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.155, allocations: 0.8125 kB / 325.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.1552, allocations: 99.88 kB / 325.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.1564, allocations: 318.7 kB / 326 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1564, allocations: 20.73 kB / 326.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003055/0.1567, allocations: 1.046 MB / 327.1 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1567, allocations: 0.8125 kB / 327.1 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.1573, allocations: 0.6585 MB / 327.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.1573, allocations: 47.59 kB / 327.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1574, allocations: 16.72 kB / 327.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1575, allocations: 12 kB / 327.8 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1575, allocations: 37.19 kB / 327.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1575, allocations: 11.98 kB / 327.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.1576, allocations: 108 kB / 328 MB, free: 8.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1576, allocations: 0.7812 kB / 328 MB, free: 8.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00115/0.1587, allocations: 427.1 kB / 328.4 MB, free: 7.832 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.007298/0.166, allocations: 3.492 MB / 331.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.1665, allocations: 459.8 kB / 332.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.1666, allocations: 4 kB / 332.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.1668, allocations: 226.4 kB / 332.6 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.1674, allocations: 248 kB / 332.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1687, allocations: 1.065 MB / 333.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.1688, allocations: 136 kB / 334 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.169, allocations: 210.1 kB / 334.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.1694, allocations: 223.1 kB / 334.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1694, allocations: 0 / 334.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of Templates: time 0.02189/0.1913, allocations: 24.82 MB / 359.3 MB, free: 9.262 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.100238807033747]