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.001151/0.001151, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.002826, allocations: 457.8 kB / 10.45 MB, free: 244 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.001002/0.001002, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002169, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9169/0.9169, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07288/0.9898, allocations: 53.87 MB / 243.9 MB, free: 14.87 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.012e-06/1.012e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.222e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.008751/0.008764, allocations: 13.01 MB / 258.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.01096, allocations: 2.227 MB / 260.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.01114, allocations: 7.938 kB / 260.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.01145, allocations: 147.1 kB / 260.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.01201, allocations: 0.5125 MB / 261.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.01455, allocations: 1.446 MB / 262.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.01563, allocations: 1.354 MB / 263.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.01581, allocations: 111 kB / 264 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.01653, allocations: 0.6822 MB / 264.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.01691, allocations: 346.9 kB / 265 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.01696, allocations: 44 kB / 265.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.01798, allocations: 0.7335 MB / 265.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.01809, allocations: 115.6 kB / 265.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.01824, allocations: 179.8 kB / 266.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.01905, allocations: 0.7442 MB / 266.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.01906, allocations: 0 / 266.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01906, allocations: 0 / 266.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.01907, allocations: 0 / 266.9 MB, free: 7.836 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.0007982/0.01987, allocations: 0.819 MB / 267.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.0199, allocations: 8.922 kB / 267.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/0.02051, allocations: 245.2 kB / 267.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.02078, allocations: 237.1 kB / 268.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.0208, allocations: 33.38 kB / 268.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.02085, allocations: 56.25 kB / 268.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.02118, allocations: 0.5485 MB / 268.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.0212, allocations: 4.188 kB / 268.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.02122, allocations: 20.12 kB / 268.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.02123, allocations: 12 kB / 268.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.02137, allocations: 142.7 kB / 269 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.02637, allocations: 4.166 MB / 273.1 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.02657, allocations: 171.1 kB / 273.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.02664, allocations: 68.81 kB / 273.4 MB, free: 1.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1007/0.1274, allocations: 2.475 MB / 275.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1274, allocations: 36.84 kB / 275.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.1274, allocations: 1.969 kB / 275.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.006594/0.134, allocations: 2.051 MB / 277.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.134, allocations: 60.28 kB / 278 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1342, allocations: 251.6 kB / 278.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1342, allocations: 32.7 kB / 278.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.1343, allocations: 219.5 kB / 278.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1343, allocations: 173.1 kB / 278.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1344, allocations: 95.06 kB / 278.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.1345, allocations: 353.8 kB / 279.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.1346, allocations: 56.47 kB / 279.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1347, allocations: 181.1 kB / 279.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1349, allocations: 310.6 kB / 279.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1349, allocations: 1.094 kB / 279.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003926/0.1353, allocations: 353.8 kB / 280 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1353, allocations: 10.97 kB / 280 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1353, allocations: 3.625 kB / 280 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003606/0.1389, allocations: 1.836 MB / 281.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.1392, allocations: 132.9 kB / 282 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007257/0.1399, allocations: 2.254 MB / 284.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1401, allocations: 14.72 kB / 284.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1401, allocations: 17.75 kB / 284.2 MB, free: 11.72 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.0001014/0.1402, allocations: 146.3 kB / 284.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.1402, allocations: 40.33 kB / 284.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.1407, allocations: 0.5069 MB / 284.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.1407, allocations: 8.625 kB / 284.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1407, allocations: 0 / 284.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00041/0.1412, allocations: 0.5728 MB / 285.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009452/0.1421, allocations: 0.8123 MB / 286.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1421, allocations: 1.375 kB / 286.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.1424, allocations: 92.58 kB / 286.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.1424, allocations: 46.89 kB / 286.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.1441, allocations: 0.5543 MB / 287 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.1442, allocations: 13.08 kB / 287 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003214/0.1445, allocations: 1.084 MB / 288.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1445, allocations: 5.922 kB / 288.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.1451, allocations: 0.6614 MB / 288.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.1451, allocations: 17.22 kB / 288.8 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1453, allocations: 7.094 kB / 288.8 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1453, allocations: 31.64 kB / 288.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.1453, allocations: 13.27 kB / 288.8 MB, free: 9.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.1454, allocations: 85.39 kB / 288.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1454, allocations: 4.031 kB / 288.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005658/0.146, allocations: 231.3 kB / 289.2 MB, free: 9.375 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.0004665/0.1464, allocations: 281.9 kB / 289.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.147, allocations: 474.2 kB / 289.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.147, allocations: 6 kB / 289.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.1474, allocations: 273.4 kB / 290.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.1482, allocations: 0.9717 MB / 291.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.1558, allocations: 0.9734 MB / 292.1 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/0.1589, allocations: 128.1 kB / 292.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.1591, allocations: 60.67 kB / 292.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.1595, allocations: 196.4 kB / 292.5 MB, free: 7.668 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1595, allocations: 0 / 292.5 MB, free: 7.668 MB / 266.7 MB Notification: Performance of Templates: time 0.03044/0.1899, allocations: 13.29 MB / 305.8 MB, free: 12.63 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2294252710416913]