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.00118/0.00118, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009303/0.0009303, allocations: 157.9 kB / 24.99 MB, free: 8.246 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.9975/0.9975, allocations: 177 MB / 205.2 MB, free: 5.57 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.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.182e-06/1.182e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.384e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1264/0.1264, allocations: 38.44 MB / 311.4 MB, free: 7.926 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.1296, allocations: 4.635 MB / 316.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1298, allocations: 14.25 kB / 316.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.1303, allocations: 279.6 kB / 316.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.1309, allocations: 0.4933 MB / 316.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.1335, allocations: 1.669 MB / 318.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007453/0.1342, allocations: 1.287 MB / 319.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1344, allocations: 113.4 kB / 319.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.1349, allocations: 0.6501 MB / 320.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.1352, allocations: 378.9 kB / 320.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.1353, allocations: 44.19 kB / 321 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.136, allocations: 0.725 MB / 321.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.1361, allocations: 150.6 kB / 321.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1363, allocations: 214.4 kB / 322.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.137, allocations: 0.9248 MB / 323 MB, free: 268 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.137, allocations: 4 kB / 323 MB, free: 264 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.137, allocations: 0 / 323 MB, free: 264 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.137, allocations: 7.984 kB / 323 MB, free: 256 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.0007748/0.1378, allocations: 0.807 MB / 323.8 MB, free: 15.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1378, allocations: 11.98 kB / 323.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.1383, allocations: 167.8 kB / 324 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1386, allocations: 288.4 kB / 324.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1386, allocations: 29.38 kB / 324.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.1387, allocations: 44.33 kB / 324.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.1391, allocations: 0.6118 MB / 325 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1392, allocations: 4.188 kB / 325 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.1392, allocations: 16.38 kB / 325 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.1392, allocations: 15.94 kB / 325 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.1394, allocations: 205.6 kB / 325.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006222/0.1457, allocations: 5.15 MB / 330.3 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.146, allocations: 218.6 kB / 330.6 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1461, allocations: 93.61 kB / 330.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004643/0.1507, allocations: 2.695 MB / 333.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1508, allocations: 41.39 kB / 333.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.1508, allocations: 3.094 kB / 333.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.005991/0.1567, allocations: 2.004 MB / 335.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.1568, allocations: 55.41 kB / 335.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.157, allocations: 320.1 kB / 335.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.157, allocations: 33.7 kB / 335.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1571, allocations: 275.2 kB / 336.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.1572, allocations: 174.5 kB / 336.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.1573, allocations: 104 kB / 336.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1574, allocations: 0.5235 MB / 336.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1576, allocations: 81.27 kB / 336.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1578, allocations: 262 kB / 337.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.1581, allocations: 394.5 kB / 337.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1581, allocations: 0 / 337.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005952/0.1587, allocations: 488 kB / 338 MB, free: 0.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1588, allocations: 11.98 kB / 338.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.1588, allocations: 4 kB / 338.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003959/0.1627, allocations: 1.841 MB / 339.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1629, allocations: 111.8 kB / 340 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1643, allocations: 3.391 MB / 343.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1645, allocations: 12 kB / 343.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1645, allocations: 24 kB / 343.4 MB, free: 11.09 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.0001177/0.1646, allocations: 184.5 kB / 343.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.1647, allocations: 55.89 kB / 343.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.1653, allocations: 0.5805 MB / 344.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.1653, allocations: 15.92 kB / 344.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1653, allocations: 0 / 344.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005064/0.1658, allocations: 0.6955 MB / 345 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1668, allocations: 1.062 MB / 346 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1668, allocations: 0 / 346 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.167, allocations: 75.89 kB / 346.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.1685, allocations: 0.5571 MB / 346.7 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1685, allocations: 16 kB / 346.7 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005568/0.1691, allocations: 1.635 MB / 348.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1691, allocations: 0 / 348.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.1698, allocations: 0.8186 MB / 349.1 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.1699, allocations: 39.69 kB / 349.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.1699, allocations: 12 kB / 349.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.17, allocations: 4 kB / 349.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.17, allocations: 31.94 kB / 349.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1701, allocations: 19.98 kB / 349.2 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1702, allocations: 205.1 kB / 349.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1702, allocations: 0 / 349.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004434/0.1706, allocations: 231.7 kB / 349.7 MB, free: 4.602 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.0004113/0.171, allocations: 298.8 kB / 350 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.1717, allocations: 0.5864 MB / 350.5 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1717, allocations: 0 / 350.5 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.1721, allocations: 289.4 kB / 350.8 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.1728, allocations: 207.1 kB / 351 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1741, allocations: 1.005 MB / 352 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.1742, allocations: 126.7 kB / 352.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1744, allocations: 67.36 kB / 352.2 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1744, allocations: 32.5 kB / 352.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1744, allocations: 4 kB / 352.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of Templates: time 0.01249/0.1869, allocations: 12.01 MB / 364.3 MB, free: 6.082 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","",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.730434919008985]