Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0007747/0.0007747, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002274, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009976/0.0009976, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.00232, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9805/0.9805, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08301/1.063, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.956e-05, allocations: 5.828 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01635/0.01637, allocations: 13 MB / 258 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.01907, allocations: 2.223 MB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.01924, allocations: 15.94 kB / 260.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.01959, allocations: 135.1 kB / 260.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.02016, allocations: 0.5163 MB / 260.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.02295, allocations: 1.449 MB / 262.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009399/0.02389, allocations: 1.35 MB / 263.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.02406, allocations: 115 kB / 263.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.02461, allocations: 0.6744 MB / 264.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.02495, allocations: 350.9 kB / 264.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.025, allocations: 48 kB / 264.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.02601, allocations: 0.7374 MB / 265.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.02611, allocations: 111.7 kB / 265.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.02625, allocations: 175.8 kB / 265.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.02729, allocations: 0.7519 MB / 266.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.0273, allocations: 0 / 266.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.02731, allocations: 0 / 266.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.02733, allocations: 0 / 266.7 MB, free: 7.91 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007701/0.0281, allocations: 0.8152 MB / 267.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.02813, allocations: 8.922 kB / 267.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.02854, allocations: 245.2 kB / 267.7 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.0288, allocations: 233.1 kB / 268 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.02882, allocations: 29.38 kB / 268 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.02887, allocations: 56.31 kB / 268 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.02922, allocations: 0.5523 MB / 268.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.02924, allocations: 192 / 268.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.02927, allocations: 24.12 kB / 268.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.02928, allocations: 11.98 kB / 268.6 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.02943, allocations: 142.7 kB / 268.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.03463, allocations: 4.162 MB / 272.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.03484, allocations: 163.1 kB / 273.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.03491, allocations: 76.81 kB / 273.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1035/0.1384, allocations: 2.479 MB / 275.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1384, allocations: 38.53 kB / 275.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.414e-06/0.1384, allocations: 0 / 275.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005865/0.1443, allocations: 2.014 MB / 277.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.1443, allocations: 57.25 kB / 277.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1445, allocations: 252.4 kB / 278 MB, free: 14.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1445, allocations: 31.7 kB / 278 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.1446, allocations: 222.7 kB / 278.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.1447, allocations: 164.4 kB / 278.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1448, allocations: 102 kB / 278.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.1448, allocations: 351.4 kB / 278.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.1449, allocations: 54.67 kB / 278.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.145, allocations: 186.7 kB / 279.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.1452, allocations: 296 kB / 279.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1452, allocations: 1.344 kB / 279.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004377/0.1457, allocations: 352 kB / 279.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1457, allocations: 5.812 kB / 279.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1457, allocations: 4.406 kB / 279.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.1494, allocations: 1.832 MB / 281.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.1497, allocations: 130.9 kB / 281.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007677/0.1504, allocations: 2.261 MB / 284 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1506, allocations: 12.47 kB / 284 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1506, allocations: 17.34 kB / 284 MB, free: 11.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1507, allocations: 148.7 kB / 284.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.1508, allocations: 45.88 kB / 284.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1512, allocations: 0.4961 MB / 284.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.1512, allocations: 13.86 kB / 284.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.1512, allocations: 1.781 kB / 284.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003044/0.1515, allocations: 0.5695 MB / 285.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.1523, allocations: 0.8123 MB / 286.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1523, allocations: 0 / 286.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1525, allocations: 95.52 kB / 286.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.1526, allocations: 38.94 kB / 286.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.1539, allocations: 0.5679 MB / 286.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1539, allocations: 13.98 kB / 286.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002866/0.1542, allocations: 1.085 MB / 287.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1542, allocations: 0.9062 kB / 287.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.1547, allocations: 0.6537 MB / 288.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.1548, allocations: 16.52 kB / 288.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1549, allocations: 7.094 kB / 288.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1549, allocations: 31.08 kB / 288.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1549, allocations: 12.48 kB / 288.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.155, allocations: 84.42 kB / 288.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.155, allocations: 0 / 288.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.1554, allocations: 234.2 kB / 288.9 MB, free: 9.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/0.1558, allocations: 292.6 kB / 289.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.1563, allocations: 461.5 kB / 289.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.1563, allocations: 10.28 kB / 289.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.1567, allocations: 247.3 kB / 289.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.1572, allocations: 257.2 kB / 290.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/0.1631, allocations: 0.9603 MB / 291.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/0.1631, allocations: 129 kB / 291.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.1633, allocations: 61.22 kB / 291.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.1636, allocations: 183.9 kB / 291.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1636, allocations: 0 / 291.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of Templates: time 0.01367/0.1773, allocations: 13.98 MB / 305.4 MB, free: 13.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.4458199655637145]