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.002558/0.002558, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002819/0.002819, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.606/1.606, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.474e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1493/0.1494, allocations: 38.35 MB / 310.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.1538, allocations: 4.654 MB / 315.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.1542, allocations: 10.44 kB / 315.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.1549, allocations: 279.2 kB / 315.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008307/0.1557, allocations: 0.494 MB / 316 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.1594, allocations: 1.666 MB / 317.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.1606, allocations: 1.288 MB / 318.9 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.1608, allocations: 113.9 kB / 319.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1619, allocations: 0.644 MB / 319.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/0.1625, allocations: 380.7 kB / 320.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.1626, allocations: 49.09 kB / 320.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.1639, allocations: 0.7245 MB / 320.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1641, allocations: 147.6 kB / 321 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.1644, allocations: 215.2 kB / 321.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1659, allocations: 1.166 MB / 322.4 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.166, allocations: 0 / 322.4 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.166, allocations: 3.938 kB / 322.4 MB, free: 192 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.166, allocations: 4 kB / 322.4 MB, free: 188 kB / 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.001553/0.1675, allocations: 0.8383 MB / 323.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1676, allocations: 11.98 kB / 323.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007998/0.1684, allocations: 167.8 kB / 323.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.169, allocations: 287.8 kB / 323.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.169, allocations: 29.38 kB / 323.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.1691, allocations: 44.38 kB / 323.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.1704, allocations: 0.7055 MB / 324.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.1704, allocations: 7.938 kB / 324.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.1705, allocations: 21 kB / 324.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1705, allocations: 11.94 kB / 324.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.1711, allocations: 291.7 kB / 324.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.1862, allocations: 5.293 MB / 330.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.1868, allocations: 263 kB / 330.3 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.1871, allocations: 145.5 kB / 330.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.1986, allocations: 2.7 MB / 333.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/0.1987, allocations: 41.39 kB / 333.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.1987, allocations: 0 / 333.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01226/0.2109, allocations: 2.25 MB / 335.5 MB, free: 2.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.211, allocations: 63.33 kB / 335.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.2115, allocations: 368.2 kB / 335.9 MB, free: 2.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2115, allocations: 37.7 kB / 335.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.2118, allocations: 283.2 kB / 336.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.212, allocations: 182.5 kB / 336.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.2122, allocations: 124 kB / 336.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003481/0.2126, allocations: 0.5391 MB / 337 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2129, allocations: 149.2 kB / 337.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.2134, allocations: 333.9 kB / 337.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.2142, allocations: 0.5219 MB / 338 MB, free: 4 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2142, allocations: 4 kB / 338 MB, free: 0 / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001516/0.2157, allocations: 0.6211 MB / 338.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2157, allocations: 4.469 kB / 338.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2157, allocations: 8 kB / 338.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008752/0.2245, allocations: 1.872 MB / 340.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.2249, allocations: 107.8 kB / 340.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.2281, allocations: 3.508 MB / 344.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2284, allocations: 24 kB / 344.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.2284, allocations: 20 kB / 344.2 MB, free: 9.645 MB / 298.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.0002735/0.2287, allocations: 216.4 kB / 344.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.2288, allocations: 55.83 kB / 344.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.2301, allocations: 0.6743 MB / 345.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.2301, allocations: 19.92 kB / 345.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2301, allocations: 0 / 345.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/0.2314, allocations: 0.793 MB / 345.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.2335, allocations: 1.249 MB / 347.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2336, allocations: 0 / 347.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.2339, allocations: 79.89 kB / 347.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/0.2375, allocations: 0.5806 MB / 347.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.2376, allocations: 16 kB / 347.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.239, allocations: 1.713 MB / 349.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.239, allocations: 0 / 349.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.2406, allocations: 0.9865 MB / 350.6 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.2407, allocations: 39.66 kB / 350.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.2408, allocations: 12 kB / 350.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.241, allocations: 8 kB / 350.6 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.2411, allocations: 31.94 kB / 350.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.2411, allocations: 23.92 kB / 350.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002734/0.2414, allocations: 233.1 kB / 350.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2414, allocations: 0 / 350.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000813/0.2422, allocations: 231.8 kB / 351.1 MB, free: 2.43 MB / 298.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.0006811/0.2429, allocations: 287.2 kB / 351.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2443, allocations: 0.6958 MB / 352.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2443, allocations: 0 / 352.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.2453, allocations: 337.4 kB / 352.4 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.2465, allocations: 214.3 kB / 352.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.2487, allocations: 1.074 MB / 353.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2489, allocations: 233.3 kB / 353.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.2492, allocations: 63.36 kB / 354 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.2493, allocations: 36.5 kB / 354 MB, free: 15.44 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2493, allocations: 4 kB / 354 MB, free: 15.44 MB / 314.7 MB Notification: Performance of Templates: time 0.02339/0.2727, allocations: 12.01 MB / 366.1 MB, free: 3.594 MB / 314.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1854864759370685]