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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 104.5 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009121/0.0009122, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1885, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01802/0.2066, allocations: 27.3 MB / 434.3 MB, free: 420 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.2111, allocations: 4.21 MB / 438.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.2114, allocations: 4 kB / 438.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.2122, allocations: 175 kB / 438.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007344/0.2129, allocations: 330.3 kB / 439.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.2164, allocations: 1.229 MB / 440.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.2178, allocations: 1.344 MB / 441.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2179, allocations: 80.69 kB / 441.7 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006838/0.2248, allocations: 4.223 MB / 445.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.2252, allocations: 282.9 kB / 446.2 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.2253, allocations: 16 kB / 446.2 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.2267, allocations: 0.6985 MB / 446.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2269, allocations: 83.7 kB / 447 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.2272, allocations: 183.2 kB / 447.2 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2285, allocations: 0.8339 MB / 448 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2285, allocations: 0 / 448 MB, free: 2.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2285, allocations: 0 / 448 MB, free: 2.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2285, allocations: 0 / 448 MB, free: 2.715 MB / 314.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.0009602/0.2295, allocations: 0.6394 MB / 448.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2295, allocations: 8.031 kB / 448.7 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/0.23, allocations: 60.47 kB / 448.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2303, allocations: 295.6 kB / 449 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2304, allocations: 28.92 kB / 449 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.2304, allocations: 24.38 kB / 449.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.2309, allocations: 334.6 kB / 449.4 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2309, allocations: 8 kB / 449.4 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.231, allocations: 16 kB / 449.4 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.231, allocations: 4 kB / 449.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.2313, allocations: 214 kB / 449.6 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.2439, allocations: 5.912 MB / 455.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.2442, allocations: 175.2 kB / 455.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2444, allocations: 89.92 kB / 455.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.2547, allocations: 3.889 MB / 459.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2548, allocations: 30.56 kB / 459.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.2548, allocations: 0 / 459.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.005998/0.2608, allocations: 1.414 MB / 461.1 MB, free: 4.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2609, allocations: 55.41 kB / 461.2 MB, free: 4.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.2611, allocations: 266.5 kB / 461.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2612, allocations: 25.7 kB / 461.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2613, allocations: 188.1 kB / 461.7 MB, free: 4.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.2614, allocations: 98.72 kB / 461.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.2615, allocations: 73.61 kB / 461.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2616, allocations: 330.8 kB / 462.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2618, allocations: 95.95 kB / 462.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.262, allocations: 187.1 kB / 462.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.2624, allocations: 303 kB / 462.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2624, allocations: 0 / 462.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006525/0.263, allocations: 399.2 kB / 463.1 MB, free: 2.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2631, allocations: 4 kB / 463.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2631, allocations: 7.938 kB / 463.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.2671, allocations: 0.9294 MB / 464 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.2674, allocations: 75.84 kB / 464.1 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.269, allocations: 1.88 MB / 466 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.2692, allocations: 27.92 kB / 466 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2693, allocations: 12 kB / 466 MB, free: 15.37 MB / 346.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.0001941/0.2695, allocations: 161.9 kB / 466.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.2695, allocations: 31.61 kB / 466.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.2703, allocations: 498.4 kB / 466.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.2703, allocations: 7.984 kB / 466.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.2703, allocations: 0 / 466.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000631/0.2709, allocations: 0.7199 MB / 467.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2722, allocations: 0.9338 MB / 468.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.2723, allocations: 4 kB / 468.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.2725, allocations: 43.97 kB / 468.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.2742, allocations: 328.2 kB / 468.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2742, allocations: 4 kB / 468.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004785/0.2747, allocations: 0.6422 MB / 469.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2747, allocations: 0 / 469.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0266/0.3013, allocations: 11.61 MB / 481 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3015, allocations: 104.8 kB / 481.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.3016, allocations: 8.125 kB / 481.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3018, allocations: 19.92 kB / 481.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3018, allocations: 15.98 kB / 481.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3019, allocations: 11.98 kB / 481.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3021, allocations: 189.9 kB / 481.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3021, allocations: 0 / 481.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001458/0.3036, allocations: 463.9 kB / 481.8 MB, free: 15 MB / 362.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.001747/0.3053, allocations: 494.6 kB / 482.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008346/0.3062, allocations: 450.9 kB / 482.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3062, allocations: 4 kB / 482.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.3067, allocations: 227.8 kB / 483 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3078, allocations: 173.7 kB / 483.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.3099, allocations: 1.457 MB / 484.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.3103, allocations: 0.7925 MB / 485.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.3106, allocations: 54.94 kB / 485.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.3107, allocations: 27.44 kB / 485.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3107, allocations: 4 kB / 485.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.03413/0.3449, allocations: 22.7 MB / 0.4962 GB, free: 4.645 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches