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.0009251/0.0009251, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009608/0.0009608, allocations: 159.4 kB / 24.91 MB, free: 8.719 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.9106/0.9106, allocations: 177 MB / 205.2 MB, free: 5.039 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.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.27e-05, allocations: 5.266 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0117/0.01172, allocations: 12.95 MB / 286.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.01398, allocations: 2.223 MB / 288.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.01413, allocations: 11.94 kB / 288.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.0145, allocations: 147 kB / 288.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006571/0.01516, allocations: 0.5086 MB / 289.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1067/0.1219, allocations: 1.43 MB / 290.7 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1232, allocations: 1.341 MB / 292 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1234, allocations: 123.3 kB / 292.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007772/0.1242, allocations: 0.6454 MB / 292.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.1246, allocations: 353.4 kB / 293.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.1247, allocations: 46.84 kB / 293.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1259, allocations: 0.7278 MB / 293.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.126, allocations: 144 kB / 294.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.1262, allocations: 214.2 kB / 294.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1273, allocations: 0.8662 MB / 295.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1273, allocations: 1.375 kB / 295.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1273, allocations: 1.25 kB / 295.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1273, allocations: 0 / 295.1 MB, free: 15.71 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.0007289/0.128, allocations: 0.6711 MB / 295.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.128, allocations: 13.77 kB / 295.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.1286, allocations: 169.8 kB / 296 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.129, allocations: 233.9 kB / 296.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.129, allocations: 32.78 kB / 296.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.1291, allocations: 41.06 kB / 296.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1295, allocations: 0.556 MB / 296.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1295, allocations: 1.938 kB / 296.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1295, allocations: 18 kB / 296.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1295, allocations: 14.69 kB / 296.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1297, allocations: 144.2 kB / 297 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005703/0.1354, allocations: 4.162 MB / 301.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1356, allocations: 175.2 kB / 301.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.1357, allocations: 73.25 kB / 301.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003925/0.1396, allocations: 2.492 MB / 303.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1396, allocations: 47.53 kB / 304 MB, free: 13.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.1396, allocations: 0 / 304 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005633/0.1453, allocations: 2.015 MB / 306 MB, free: 12.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.587e-05/0.1453, allocations: 54.62 kB / 306 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1454, allocations: 253 kB / 306.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1454, allocations: 37.38 kB / 306.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1455, allocations: 216.1 kB / 306.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1455, allocations: 169.9 kB / 306.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.1456, allocations: 95.56 kB / 306.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.1456, allocations: 354 kB / 307.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.1457, allocations: 61.31 kB / 307.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/0.1458, allocations: 180.1 kB / 307.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.146, allocations: 296.2 kB / 307.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.146, allocations: 1.781 kB / 307.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003623/0.1464, allocations: 351.1 kB / 308 MB, free: 11.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1464, allocations: 6.125 kB / 308 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1464, allocations: 3.219 kB / 308 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/0.1496, allocations: 1.827 MB / 309.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1498, allocations: 122.6 kB / 310 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006908/0.1505, allocations: 2.267 MB / 312.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1506, allocations: 15.19 kB / 312.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1507, allocations: 19.36 kB / 312.3 MB, free: 7.297 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 8.279e-05/0.1507, allocations: 142.1 kB / 312.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.1508, allocations: 39.09 kB / 312.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.1512, allocations: 0.5036 MB / 312.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1512, allocations: 11.98 kB / 313 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1512, allocations: 7.969 kB / 313 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002432/0.1514, allocations: 0.5695 MB / 313.5 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.1521, allocations: 0.8029 MB / 314.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1521, allocations: 3.984 kB / 314.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1522, allocations: 88.67 kB / 314.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.1535, allocations: 0.5584 MB / 315 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1535, allocations: 15.06 kB / 315 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002504/0.1538, allocations: 1.092 MB / 316.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1538, allocations: 0 / 316.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1542, allocations: 0.6468 MB / 316.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.1542, allocations: 39.64 kB / 316.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.1542, allocations: 9.938 kB / 316.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1543, allocations: 11.5 kB / 316.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1544, allocations: 28.5 kB / 316.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1544, allocations: 15.92 kB / 316.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.1544, allocations: 80.28 kB / 316.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1544, allocations: 0 / 316.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.1549, allocations: 231 kB / 317.1 MB, free: 2.551 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.0003818/0.1552, allocations: 288.2 kB / 317.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.1556, allocations: 467.4 kB / 317.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.1557, allocations: 4.938 kB / 317.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.156, allocations: 245.1 kB / 318.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.1565, allocations: 217 kB / 318.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1575, allocations: 0.9352 MB / 319.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.1576, allocations: 122.8 kB / 319.4 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.1577, allocations: 64.58 kB / 319.5 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.158, allocations: 193.2 kB / 319.6 MB, free: 156 kB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.158, allocations: 4 kB / 319.6 MB, free: 152 kB / 266.7 MB Notification: Performance of Templates: time 0.01398/0.1719, allocations: 13.55 MB / 333.2 MB, free: 2.809 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 -s gbode -gbm=radauIIA3 -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.3487587771378458]