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.001002/0.001002, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.00106/0.00106, allocations: 160.5 kB / 24.56 MB, free: 12 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 0.973/0.973, allocations: 177 MB / 204.8 MB, free: 5.559 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.733e-06/1.733e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.848e-05, allocations: 5.266 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009707/0.009735, allocations: 12.95 MB / 285.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.01175, allocations: 2.204 MB / 288.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.01192, allocations: 7.938 kB / 288.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.01229, allocations: 147 kB / 288.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.01287, allocations: 0.5125 MB / 288.7 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.01547, allocations: 1.485 MB / 290.2 MB, free: 44 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09917/0.1146, allocations: 1.339 MB / 291.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.1149, allocations: 112.1 kB / 291.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007175/0.1156, allocations: 0.6468 MB / 292.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.116, allocations: 375.6 kB / 292.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.1161, allocations: 46.31 kB / 292.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1173, allocations: 0.6973 MB / 293.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1174, allocations: 141.4 kB / 293.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.1176, allocations: 212 kB / 293.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000994/0.1186, allocations: 0.8666 MB / 294.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1186, allocations: 2.219 kB / 294.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1186, allocations: 3.094 kB / 294.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1186, allocations: 0.7188 kB / 294.6 MB, free: 15.18 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.0008417/0.1194, allocations: 0.7908 MB / 295.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1194, allocations: 13.3 kB / 295.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.1199, allocations: 173.4 kB / 295.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1202, allocations: 285.1 kB / 295.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1202, allocations: 27.62 kB / 295.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.1202, allocations: 44.34 kB / 296 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.1207, allocations: 0.607 MB / 296.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1207, allocations: 8.031 kB / 296.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.1207, allocations: 16.28 kB / 296.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1207, allocations: 14.28 kB / 296.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.121, allocations: 198.4 kB / 296.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006166/0.1272, allocations: 5.164 MB / 302 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.1275, allocations: 207.9 kB / 302.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1276, allocations: 97.05 kB / 302.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004711/0.1323, allocations: 2.699 MB / 305 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1324, allocations: 39.48 kB / 305 MB, free: 11.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.374e-06/0.1324, allocations: 7.938 kB / 305 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.007118/0.1395, allocations: 2.007 MB / 307 MB, free: 10.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.1395, allocations: 57.53 kB / 307.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1397, allocations: 319.5 kB / 307.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1397, allocations: 36.45 kB / 307.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1398, allocations: 274.1 kB / 307.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.1399, allocations: 165.3 kB / 307.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.14, allocations: 103 kB / 308 MB, free: 10.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.14, allocations: 0.5148 MB / 308.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1402, allocations: 90.19 kB / 308.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.1404, allocations: 261.8 kB / 308.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1407, allocations: 392.2 kB / 309.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1407, allocations: 2.938 kB / 309.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006675/0.1414, allocations: 494.7 kB / 309.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1414, allocations: 6.469 kB / 309.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1414, allocations: 7.188 kB / 309.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004736/0.1462, allocations: 1.838 MB / 311.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1465, allocations: 109.4 kB / 311.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.1475, allocations: 3.384 MB / 315 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.1476, allocations: 11.69 kB / 315 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.1477, allocations: 27.94 kB / 315.1 MB, free: 4.215 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.0001089/0.1478, allocations: 191 kB / 315.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.1478, allocations: 47.39 kB / 315.3 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.1485, allocations: 0.5899 MB / 315.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.1485, allocations: 11.94 kB / 315.9 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1485, allocations: 0 / 315.9 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000497/0.149, allocations: 0.6915 MB / 316.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.1501, allocations: 1.062 MB / 317.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1501, allocations: 0 / 317.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.1503, allocations: 77.64 kB / 317.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.1521, allocations: 0.5553 MB / 318.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1521, allocations: 15.98 kB / 318.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005316/0.1526, allocations: 1.634 MB / 319.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1526, allocations: 0 / 319.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.1536, allocations: 0.8182 MB / 320.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.1536, allocations: 39.66 kB / 320.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.1537, allocations: 20.05 kB / 320.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1538, allocations: 4 kB / 320.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.1539, allocations: 27.95 kB / 320.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.1539, allocations: 23.98 kB / 320.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.154, allocations: 209.1 kB / 321.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.154, allocations: 0 / 321.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006216/0.1547, allocations: 235.7 kB / 321.3 MB, free: 13.84 MB / 282.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.0005089/0.1552, allocations: 289.7 kB / 321.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008578/0.156, allocations: 0.5764 MB / 322.2 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.156, allocations: 4 kB / 322.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.1566, allocations: 287.7 kB / 322.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.1574, allocations: 229.1 kB / 322.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.159, allocations: 1.005 MB / 323.7 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.488e-05/0.1591, allocations: 126.7 kB / 323.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.1593, allocations: 67.34 kB / 323.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.1594, allocations: 36.5 kB / 323.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1594, allocations: 0 / 323.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of Templates: time 0.01733/0.1767, allocations: 13.55 MB / 337.4 MB, free: 13.91 MB / 298.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.6135967043228447]