Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 168 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8159/0.8159, allocations: 158.6 MB / 187.5 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.617e-05, allocations: 6.25 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02552/0.02554, allocations: 27.59 MB / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.02957, allocations: 4.21 MB / 282.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.02975, allocations: 7.938 kB / 282.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.0303, allocations: 202.7 kB / 283.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.03088, allocations: 353.8 kB / 283.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.03399, allocations: 1.5 MB / 285 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000856/0.03485, allocations: 0.883 MB / 285.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.03501, allocations: 72.89 kB / 285.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005227/0.04024, allocations: 4.291 MB / 290.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.04057, allocations: 255.2 kB / 290.5 MB, free: 304 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.04062, allocations: 32 kB / 290.5 MB, free: 272 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.04191, allocations: 0.7061 MB / 291.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.04203, allocations: 95.66 kB / 291.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.04218, allocations: 147.7 kB / 291.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.04313, allocations: 0.7949 MB / 292.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.04314, allocations: 0 / 292.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04314, allocations: 0 / 292.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.04314, allocations: 4 kB / 292.2 MB, free: 14.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007561/0.0439, allocations: 0.6862 MB / 292.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.04393, allocations: 15.98 kB / 292.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.0444, allocations: 112.2 kB / 293.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.0447, allocations: 240 kB / 293.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.04473, allocations: 21.03 kB / 293.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.04477, allocations: 28.38 kB / 293.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.04521, allocations: 458.7 kB / 293.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.04522, allocations: 8.141 kB / 293.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.04525, allocations: 16.12 kB / 293.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.04526, allocations: 8 kB / 293.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.04549, allocations: 134.8 kB / 293.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007551/0.05304, allocations: 4.551 MB / 298.5 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.05328, allocations: 135 kB / 298.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.05337, allocations: 55.66 kB / 298.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006035/0.05941, allocations: 2.695 MB / 301.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.05943, allocations: 37.39 kB / 301.4 MB, free: 5.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.05944, allocations: 0 / 301.4 MB, free: 5.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.004515/0.06395, allocations: 1.141 MB / 302.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.06398, allocations: 59.34 kB / 302.6 MB, free: 3.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.0642, allocations: 274.6 kB / 302.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.06422, allocations: 33.64 kB / 302.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.06435, allocations: 243 kB / 303.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.06441, allocations: 95.22 kB / 303.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.0645, allocations: 75.09 kB / 303.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.06464, allocations: 0.504 MB / 303.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.06475, allocations: 55.95 kB / 303.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.06493, allocations: 179.7 kB / 304.1 MB, free: 2.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.06524, allocations: 267.7 kB / 304.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.06524, allocations: 8 kB / 304.3 MB, free: 1.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005166/0.06576, allocations: 316.5 kB / 304.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.06577, allocations: 11.92 kB / 304.6 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.06578, allocations: 4 kB / 304.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/0.06857, allocations: 0.9359 MB / 305.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.06877, allocations: 71.84 kB / 305.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.07004, allocations: 2.556 MB / 308.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.07016, allocations: 15.98 kB / 308.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.07018, allocations: 12 kB / 308.2 MB, free: 13.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.0703, allocations: 180.5 kB / 308.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.07036, allocations: 31.86 kB / 308.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.07085, allocations: 347.5 kB / 308.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.07086, allocations: 7.938 kB / 308.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.07086, allocations: 0 / 308.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004443/0.0713, allocations: 0.5817 MB / 309.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.07216, allocations: 0.7243 MB / 310.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.07217, allocations: 0 / 310.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.07232, allocations: 47.91 kB / 310.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.07336, allocations: 279.3 kB / 310.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.07339, allocations: 8 kB / 310.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/0.07374, allocations: 0.8117 MB / 311.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.07374, allocations: 0 / 311.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.07434, allocations: 0.5435 MB / 311.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.07437, allocations: 23.81 kB / 311.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.0744, allocations: 4 kB / 311.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.07452, allocations: 12.03 kB / 311.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.07456, allocations: 27.88 kB / 311.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.07457, allocations: 8.062 kB / 311.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.07469, allocations: 193.8 kB / 312 MB, free: 9.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.07469, allocations: 0 / 312 MB, free: 9.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.07519, allocations: 191.7 kB / 312.2 MB, free: 9.641 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000469/0.07566, allocations: 278.8 kB / 312.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009101/0.07657, allocations: 412.7 kB / 312.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.07657, allocations: 0 / 312.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.0769, allocations: 159.2 kB / 313.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.07752, allocations: 144.2 kB / 313.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.07877, allocations: 0.6589 MB / 313.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.07884, allocations: 101 kB / 314 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.07897, allocations: 42.95 kB / 314 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.07902, allocations: 32.5 kB / 314 MB, free: 7.746 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.07902, allocations: 4 kB / 314 MB, free: 7.742 MB / 298.7 MB Notification: Performance of Templates: time 0.01226/0.09128, allocations: 9.325 MB / 323.4 MB, free: 14.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.269034154014662]