Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 90.61 kB / 16.3 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008836/0.0008837, allocations: 182.1 kB / 17.2 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8.172 kB / 300.7 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08201, allocations: 50.43 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0146/0.09664, allocations: 16.38 MB / 367.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.1023, allocations: 4.76 MB / 372.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.1027, allocations: 3.938 kB / 372.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006596/0.1034, allocations: 175.2 kB / 372.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.104, allocations: 231.3 kB / 372.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.1075, allocations: 1.193 MB / 373.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007577/0.1083, allocations: 0.4912 MB / 374.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1085, allocations: 80.67 kB / 374.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009007/0.1175, allocations: 7.223 MB / 381.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1177, allocations: 171.3 kB / 381.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.1178, allocations: 15.94 kB / 381.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.1192, allocations: 0.7297 MB / 382.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.1193, allocations: 71.78 kB / 382.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.1194, allocations: 97.58 kB / 382.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006582/0.1201, allocations: 0.6003 MB / 383.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1201, allocations: 0 / 383.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1201, allocations: 0 / 383.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1201, allocations: 3.938 kB / 383.3 MB, free: 11.46 MB / 318.1 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.0006587/0.1208, allocations: 0.5846 MB / 383.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.486e-05/0.1208, allocations: 8.031 kB / 383.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004143/0.1212, allocations: 59.59 kB / 384 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1215, allocations: 274.6 kB / 384.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1216, allocations: 20.56 kB / 384.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.1216, allocations: 28 kB / 384.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.1221, allocations: 330.4 kB / 384.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1221, allocations: 8 kB / 384.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.1221, allocations: 12 kB / 384.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1222, allocations: 4 kB / 384.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.1225, allocations: 206 kB / 384.9 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1341, allocations: 5.92 MB / 390.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1344, allocations: 179.2 kB / 391 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009509/0.1439, allocations: 3.873 MB / 394.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.144, allocations: 30.75 kB / 394.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.144, allocations: 4 kB / 394.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.005922/0.1499, allocations: 1.415 MB / 396.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1499, allocations: 59.36 kB / 396.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1502, allocations: 254.6 kB / 396.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1502, allocations: 29.7 kB / 396.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1503, allocations: 184.1 kB / 396.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.1504, allocations: 98.64 kB / 396.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.1504, allocations: 8 kB / 396.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1506, allocations: 338.8 kB / 397.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1507, allocations: 91.73 kB / 397.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1509, allocations: 183.1 kB / 397.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1511, allocations: 119.9 kB / 397.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1511, allocations: 4 kB / 397.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006243/0.1517, allocations: 390.7 kB / 398 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1518, allocations: 8.375 kB / 398 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1518, allocations: 8 kB / 398 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003241/0.155, allocations: 401.3 kB / 398.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.1553, allocations: 71.84 kB / 398.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.1566, allocations: 1.884 MB / 400.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1569, allocations: 27.92 kB / 400.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.1569, allocations: 12 kB / 400.4 MB, free: 9.141 MB / 334.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.157, allocations: 162.5 kB / 400.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.1571, allocations: 23.72 kB / 400.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.1578, allocations: 494 kB / 401.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.1578, allocations: 7.984 kB / 401.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1578, allocations: 0 / 401.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005704/0.1584, allocations: 0.7242 MB / 401.8 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.1595, allocations: 0.9416 MB / 402.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1595, allocations: 4 kB / 402.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1597, allocations: 39.98 kB / 402.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.1614, allocations: 336.2 kB / 403.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1615, allocations: 11.98 kB / 403.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004101/0.1619, allocations: 0.6344 MB / 403.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1619, allocations: 0 / 403.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.1627, allocations: 0.7375 MB / 404.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.1628, allocations: 112.7 kB / 404.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1629, allocations: 8 kB / 404.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.1631, allocations: 8.062 kB / 404.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1631, allocations: 23.97 kB / 404.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1632, allocations: 7.984 kB / 404.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1633, allocations: 186 kB / 404.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1633, allocations: 0 / 404.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006219/0.164, allocations: 183.9 kB / 405 MB, free: 4.266 MB / 334.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005556/0.1645, allocations: 279 kB / 405.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007137/0.1652, allocations: 458.9 kB / 405.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1653, allocations: 4.688 kB / 405.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.1658, allocations: 227.9 kB / 406 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.1667, allocations: 162.7 kB / 406.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1679, allocations: 0.953 MB / 407.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1683, allocations: 0.7879 MB / 407.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.1685, allocations: 46.97 kB / 407.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.1686, allocations: 35.42 kB / 407.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1686, allocations: 0 / 407.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of Templates: time 0.01362/0.1822, allocations: 9.359 MB / 417.3 MB, free: 7.957 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches