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.0009144/0.0009144, allocations: 88.73 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.0009332/0.0009332, allocations: 160.2 kB / 24.91 MB, free: 8.77 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.9296/0.9296, allocations: 177 MB / 205.2 MB, free: 5.062 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 2.375e-06/2.375e-06, allocations: 4 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.201e-05, allocations: 2.312 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.008943/0.008955, allocations: 12.91 MB / 286.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.01108, allocations: 2.215 MB / 288.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.01122, allocations: 11.88 kB / 288.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.01158, allocations: 151 kB / 288.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.01216, allocations: 0.5125 MB / 289.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.09661/0.1088, allocations: 1.496 MB / 290.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.11, allocations: 1.336 MB / 292 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.1102, allocations: 123.8 kB / 292.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007136/0.1109, allocations: 0.6495 MB / 292.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004427/0.1113, allocations: 348.1 kB / 293.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.1114, allocations: 46.16 kB / 293.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1125, allocations: 0.6904 MB / 293.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1126, allocations: 145.7 kB / 294 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.1128, allocations: 212.6 kB / 294.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.1137, allocations: 0.8732 MB / 295.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1138, allocations: 0 / 295.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1138, allocations: 0.5938 kB / 295.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1138, allocations: 0.5 kB / 295.1 MB, free: 15.8 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.0006994/0.1145, allocations: 0.6624 MB / 295.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.1145, allocations: 12.98 kB / 295.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.1149, allocations: 170.4 kB / 295.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1151, allocations: 235.2 kB / 296.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1151, allocations: 29.83 kB / 296.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1152, allocations: 45.12 kB / 296.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1155, allocations: 0.5565 MB / 296.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1155, allocations: 6.844 kB / 296.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.1155, allocations: 20.62 kB / 296.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1155, allocations: 13.81 kB / 296.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.1157, allocations: 143.9 kB / 297 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005307/0.121, allocations: 4.157 MB / 301.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1212, allocations: 172.8 kB / 301.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.1213, allocations: 73.78 kB / 301.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003848/0.1251, allocations: 2.493 MB / 303.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1251, allocations: 40.67 kB / 303.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.1251, allocations: 0 / 303.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005109/0.1302, allocations: 2.016 MB / 305.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.423e-05/0.1303, allocations: 59.05 kB / 306 MB, free: 12.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1304, allocations: 251.2 kB / 306.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1304, allocations: 35.77 kB / 306.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.1304, allocations: 215.6 kB / 306.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.1305, allocations: 164.6 kB / 306.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.1305, allocations: 100 kB / 306.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.1306, allocations: 349 kB / 307.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.1306, allocations: 57.66 kB / 307.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.1307, allocations: 187.8 kB / 307.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1309, allocations: 307.3 kB / 307.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1309, allocations: 0 / 307.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003114/0.1312, allocations: 350 kB / 308 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1312, allocations: 7.031 kB / 308 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1312, allocations: 3 kB / 308 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.1343, allocations: 1.829 MB / 309.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1345, allocations: 103 kB / 309.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006038/0.1351, allocations: 2.258 MB / 312.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1352, allocations: 22.69 kB / 312.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1353, allocations: 19.98 kB / 312.2 MB, free: 7.484 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 7.894e-05/0.1353, allocations: 143.1 kB / 312.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.1354, allocations: 35.41 kB / 312.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.1357, allocations: 0.5065 MB / 312.9 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1357, allocations: 7.984 kB / 312.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1357, allocations: 0 / 312.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002304/0.136, allocations: 0.5667 MB / 313.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.1366, allocations: 0.8143 MB / 314.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.1366, allocations: 4 kB / 314.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1367, allocations: 76.48 kB / 314.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.1379, allocations: 0.5565 MB / 314.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1379, allocations: 20.08 kB / 314.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002399/0.1382, allocations: 1.08 MB / 316 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1382, allocations: 3.938 kB / 316 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1386, allocations: 0.6485 MB / 316.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.1386, allocations: 39.69 kB / 316.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1386, allocations: 10.19 kB / 316.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1387, allocations: 15.62 kB / 316.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.1388, allocations: 31.31 kB / 316.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1388, allocations: 11.94 kB / 316.8 MB, free: 3.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.1388, allocations: 83.91 kB / 316.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1388, allocations: 0 / 316.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003811/0.1392, allocations: 235.4 kB / 317.1 MB, free: 2.742 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.0003517/0.1396, allocations: 286.8 kB / 317.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.1399, allocations: 457.9 kB / 317.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.14, allocations: 4 kB / 317.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1403, allocations: 254.6 kB / 318 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1407, allocations: 199 kB / 318.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1417, allocations: 0.9439 MB / 319.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.1418, allocations: 122.8 kB / 319.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.1419, allocations: 66.17 kB / 319.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.1422, allocations: 181.2 kB / 319.5 MB, free: 376 kB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1422, allocations: 0 / 319.5 MB, free: 376 kB / 266.7 MB Notification: Performance of Templates: time 0.01376/0.1559, allocations: 13.47 MB / 333 MB, free: 3.113 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 -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.4741221400909126]