Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001392/0.001392, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001536/0.001536, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.889/0.889, 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.183e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.008772/0.008784, allocations: 11.95 MB / 285.3 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.01063, allocations: 1.95 MB / 287.3 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.01075, allocations: 7.938 kB / 287.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.01107, allocations: 115.2 kB / 287.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.01154, allocations: 365.7 kB / 287.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.014, allocations: 1.384 MB / 289.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007776/0.01478, allocations: 0.9337 MB / 290.1 MB, free: 292 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.01493, allocations: 82.78 kB / 290.2 MB, free: 208 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0992/0.1141, allocations: 4.217 MB / 294.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.1145, allocations: 235.3 kB / 294.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.1145, allocations: 34.28 kB / 294.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1155, allocations: 0.6846 MB / 295.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1156, allocations: 99.7 kB / 295.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1158, allocations: 147.7 kB / 295.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00095/0.1167, allocations: 0.7552 MB / 296.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1167, allocations: 0 / 296.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1167, allocations: 2.047 kB / 296.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1167, allocations: 0 / 296.3 MB, free: 15.36 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006151/0.1173, allocations: 0.5372 MB / 296.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1174, allocations: 17 kB / 296.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.1177, allocations: 124.2 kB / 297 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1179, allocations: 202.2 kB / 297.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1179, allocations: 21.59 kB / 297.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.1179, allocations: 29.83 kB / 297.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.1182, allocations: 420.7 kB / 297.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1182, allocations: 1.25 kB / 297.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1183, allocations: 17.92 kB / 297.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1183, allocations: 12.08 kB / 297.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1184, allocations: 103.7 kB / 297.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005108/0.1235, allocations: 3.735 MB / 301.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1236, allocations: 102.5 kB / 301.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.1237, allocations: 46.31 kB / 301.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003718/0.1274, allocations: 2.483 MB / 304.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.1274, allocations: 43.27 kB / 304.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.1274, allocations: 0 / 304.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002819/0.1302, allocations: 1.112 MB / 305.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.294e-05/0.1302, allocations: 55 kB / 305.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.1303, allocations: 219.3 kB / 305.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1303, allocations: 29.08 kB / 305.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.1304, allocations: 185.4 kB / 305.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1304, allocations: 98.59 kB / 305.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1305, allocations: 69.61 kB / 306 MB, free: 11.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.084e-05/0.1305, allocations: 341.9 kB / 306.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.1305, allocations: 33.55 kB / 306.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.1306, allocations: 126.2 kB / 306.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1307, allocations: 203.4 kB / 306.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1307, allocations: 0 / 306.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002108/0.1309, allocations: 236.6 kB / 306.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1309, allocations: 5.156 kB / 306.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1309, allocations: 3.031 kB / 306.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.1325, allocations: 0.9168 MB / 307.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1327, allocations: 68.66 kB / 307.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005149/0.1332, allocations: 1.717 MB / 309.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.1333, allocations: 7.688 kB / 309.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1333, allocations: 12.09 kB / 309.6 MB, free: 9.203 MB / 266.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 6.409e-05/0.1333, allocations: 139 kB / 309.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1334, allocations: 28.81 kB / 309.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1336, allocations: 317.6 kB / 310.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1336, allocations: 7.984 kB / 310.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1336, allocations: 0 / 310.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001522/0.1338, allocations: 0.5146 MB / 310.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1342, allocations: 0.5398 MB / 311.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1342, allocations: 4.031 kB / 311.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.1343, allocations: 47.16 kB / 311.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.1349, allocations: 292.9 kB / 311.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.135, allocations: 3.25 kB / 311.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001318/0.1351, allocations: 0.5544 MB / 312 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1351, allocations: 4.031 kB / 312 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1353, allocations: 450 kB / 312.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.1354, allocations: 19.86 kB / 312.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1354, allocations: 7.375 kB / 312.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.1355, allocations: 7.812 kB / 312.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1355, allocations: 15.97 kB / 312.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1355, allocations: 11.55 kB / 312.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.064e-05/0.1355, allocations: 65.39 kB / 312.6 MB, free: 6.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1355, allocations: 0 / 312.6 MB, free: 6.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.1358, allocations: 195.5 kB / 312.8 MB, free: 6.141 MB / 266.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.0003524/0.1362, allocations: 268.7 kB / 313.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1365, allocations: 331 kB / 313.4 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1365, allocations: 4 kB / 313.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1367, allocations: 132.8 kB / 313.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.137, allocations: 141.8 kB / 313.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.1378, allocations: 0.6683 MB / 314.3 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.1378, allocations: 97.06 kB / 314.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.684e-05/0.1379, allocations: 42.89 kB / 314.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.1381, allocations: 145.2 kB / 314.6 MB, free: 4.438 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1381, allocations: 4 kB / 314.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of Templates: time 0.01005/0.1482, allocations: 10.47 MB / 325.1 MB, free: 10.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.128105032723397]