Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.001251/0.001251, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001501/0.001501, allocations: 170.3 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8994/0.8994, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.799e-06/1.094e-05, allocations: 2.312 kB / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.008993/0.009004, allocations: 10.74 MB / 284.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1053/0.1143, allocations: 9.183 MB / 293.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.1145, allocations: 7.938 kB / 293.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.1149, allocations: 147 kB / 293.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.1155, allocations: 397.5 kB / 293.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.1191, allocations: 1.92 MB / 295.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009104/0.1201, allocations: 0.9864 MB / 296.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1202, allocations: 91.69 kB / 296.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.1208, allocations: 0.4977 MB / 297.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.1212, allocations: 252.6 kB / 297.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.1212, allocations: 37.28 kB / 297.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005562/0.1268, allocations: 5.339 MB / 303 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.1269, allocations: 113.9 kB / 303.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.127, allocations: 171.3 kB / 303.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.1324, allocations: 4.912 MB / 308.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1324, allocations: 3.938 kB / 308.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1324, allocations: 0.8438 kB / 308.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1324, allocations: 0 / 308.2 MB, free: 11.57 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.002069/0.1345, allocations: 0.7335 MB / 309 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1345, allocations: 12.03 kB / 309 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.1349, allocations: 133.7 kB / 309.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1351, allocations: 224.7 kB / 309.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1351, allocations: 22.84 kB / 309.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.1351, allocations: 38.56 kB / 309.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.1355, allocations: 0.502 MB / 309.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1355, allocations: 0 / 309.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1355, allocations: 18.58 kB / 309.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1355, allocations: 8 kB / 309.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.1358, allocations: 198.9 kB / 310.1 MB, free: 9.789 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.001338/0.1371, allocations: 1.934 MB / 312 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1374, allocations: 178.8 kB / 312.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.1374, allocations: 64.11 kB / 312.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.1376, allocations: 149.5 kB / 312.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1377, allocations: 34.56 kB / 312.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.1377, allocations: 0 / 312.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002363/0.14, allocations: 0.8579 MB / 313.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.539e-05/0.14, allocations: 59.34 kB / 313.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.1401, allocations: 221.2 kB / 313.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1401, allocations: 31.42 kB / 313.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.1402, allocations: 183.4 kB / 313.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1402, allocations: 133.4 kB / 313.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.1403, allocations: 77.53 kB / 314 MB, free: 5.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.1403, allocations: 342.9 kB / 314.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.1404, allocations: 42.3 kB / 314.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.1404, allocations: 163.1 kB / 314.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1406, allocations: 241 kB / 314.8 MB, free: 5.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1406, allocations: 4 kB / 314.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002985/0.1409, allocations: 289.5 kB / 315.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1409, allocations: 4 kB / 315.1 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1409, allocations: 4 kB / 315.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.1433, allocations: 228.7 kB / 315.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1435, allocations: 86.42 kB / 315.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004755/0.144, allocations: 1.693 MB / 317.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.1441, allocations: 15.19 kB / 317.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1441, allocations: 19.94 kB / 317.1 MB, free: 2.766 MB / 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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 7.392e-05/0.1441, allocations: 140.1 kB / 317.2 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.1442, allocations: 39.84 kB / 317.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.1445, allocations: 433.5 kB / 317.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1445, allocations: 11.92 kB / 317.7 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1445, allocations: 3.938 kB / 317.7 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001975/0.1447, allocations: 0.5716 MB / 318.3 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.1452, allocations: 0.6596 MB / 318.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1452, allocations: 0 / 318.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1453, allocations: 67.8 kB / 319 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005617/0.1459, allocations: 150.8 kB / 319.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1459, allocations: 11.98 kB / 319.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/0.146, allocations: 0.531 MB / 319.7 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.146, allocations: 0 / 319.7 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.1464, allocations: 478.1 kB / 320.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.1464, allocations: 27.75 kB / 320.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1464, allocations: 16.67 kB / 320.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.1465, allocations: 4 kB / 320.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.1465, allocations: 28.61 kB / 320.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1465, allocations: 11.98 kB / 320.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.1466, allocations: 81.3 kB / 320.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1466, allocations: 1.312 kB / 320.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001473/0.1481, allocations: 371.2 kB / 320.7 MB, free: 15.07 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.006902/0.155, allocations: 3.489 MB / 324.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.1553, allocations: 322.5 kB / 324.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1553, allocations: 4.812 kB / 324.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1555, allocations: 125.4 kB / 324.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.1559, allocations: 173.7 kB / 324.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1569, allocations: 0.7597 MB / 325.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.157, allocations: 108.3 kB / 325.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000213/0.1572, allocations: 156.7 kB / 325.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.1574, allocations: 178.5 kB / 326 MB, free: 9.91 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1574, allocations: 0 / 326 MB, free: 9.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01979/0.1772, allocations: 21.56 MB / 347.6 MB, free: 4.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.9183483039960265]