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.0009412/0.0009412, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001146/0.001146, allocations: 164 kB / 24.82 MB, free: 9.234 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.9619/0.9619, allocations: 177 MB / 205.1 MB, free: 5.484 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.593e-06/1.593e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.484e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009339/0.009354, allocations: 11.86 MB / 285.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.01119, allocations: 1.923 MB / 287.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.01136, allocations: 7.938 kB / 287.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.01169, allocations: 99.34 kB / 287.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.01217, allocations: 373.7 kB / 287.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.01467, allocations: 1.38 MB / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006685/0.01534, allocations: 0.9377 MB / 289.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.01548, allocations: 68.89 kB / 290 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1095/0.125, allocations: 4.278 MB / 294.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.1254, allocations: 255.9 kB / 294.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.1255, allocations: 31.41 kB / 294.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1266, allocations: 0.6817 MB / 295.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1267, allocations: 103.5 kB / 295.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1268, allocations: 146.2 kB / 295.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009707/0.1278, allocations: 0.7507 MB / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1278, allocations: 1 kB / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1278, allocations: 4 kB / 296.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1278, allocations: 1.031 kB / 296.2 MB, free: 15.33 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.0007424/0.1286, allocations: 0.6748 MB / 296.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1286, allocations: 13.11 kB / 296.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.1289, allocations: 122 kB / 297 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1292, allocations: 232.3 kB / 297.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1292, allocations: 25.97 kB / 297.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1292, allocations: 31.16 kB / 297.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.1295, allocations: 444.3 kB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1295, allocations: 1.281 kB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1295, allocations: 11.72 kB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1295, allocations: 11.31 kB / 297.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1297, allocations: 114 kB / 297.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005519/0.1352, allocations: 4.351 MB / 302.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1353, allocations: 115 kB / 302.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.1354, allocations: 57.86 kB / 302.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003964/0.1393, allocations: 2.533 MB / 304.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1394, allocations: 47.97 kB / 305 MB, free: 12.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.1394, allocations: 0 / 305 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.00272/0.1421, allocations: 1.073 MB / 306 MB, free: 11.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.404e-05/0.1421, allocations: 54.84 kB / 306.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1422, allocations: 282.6 kB / 306.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1422, allocations: 25.7 kB / 306.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.1423, allocations: 248.2 kB / 306.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1423, allocations: 96.72 kB / 306.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.1424, allocations: 73.48 kB / 306.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.1424, allocations: 0.5082 MB / 307.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.1425, allocations: 38.75 kB / 307.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1425, allocations: 178.2 kB / 307.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1427, allocations: 239.1 kB / 307.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1427, allocations: 3.188 kB / 307.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003072/0.143, allocations: 313.4 kB / 308.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.143, allocations: 7.406 kB / 308.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.143, allocations: 6.812 kB / 308.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.1448, allocations: 0.938 MB / 309 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1449, allocations: 69.69 kB / 309.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.1496, allocations: 5.879 MB / 315 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.1497, allocations: 7.625 kB / 315 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1497, allocations: 19.66 kB / 315 MB, free: 4.109 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.1498, allocations: 177.2 kB / 315.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.1498, allocations: 31.8 kB / 315.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.1502, allocations: 331.9 kB / 315.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1502, allocations: 7.875 kB / 315.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1502, allocations: 0 / 315.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002394/0.1504, allocations: 0.5721 MB / 316.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.1509, allocations: 0.6671 MB / 316.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.1509, allocations: 0 / 316.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.151, allocations: 45.84 kB / 316.8 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.1518, allocations: 350.3 kB / 317.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1518, allocations: 7.234 kB / 317.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006679/0.1525, allocations: 1.851 MB / 319 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1525, allocations: 0 / 319 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1529, allocations: 0.4998 MB / 319.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.1529, allocations: 23.84 kB / 319.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1529, allocations: 11.69 kB / 319.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.153, allocations: 10.67 kB / 319.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.153, allocations: 18.53 kB / 319.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1531, allocations: 11.98 kB / 319.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.705e-05/0.1531, allocations: 183.3 kB / 319.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1531, allocations: 64 / 319.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004656/0.1536, allocations: 202.5 kB / 320 MB, free: 15.23 MB / 282.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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004078/0.154, allocations: 284.7 kB / 320.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.1547, allocations: 0.5815 MB / 320.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1547, allocations: 0 / 320.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.155, allocations: 311.8 kB / 321.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.1554, allocations: 139.7 kB / 321.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.1564, allocations: 0.6748 MB / 321.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.1564, allocations: 101.1 kB / 322 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1565, allocations: 46.94 kB / 322.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.1568, allocations: 181.5 kB / 322.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1568, allocations: 0 / 322.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of Templates: time 0.01229/0.169, allocations: 11.19 MB / 333.5 MB, free: 2.082 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.1904965648427606]