Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001536, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001038/0.001038, allocations: 184.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08737, allocations: 46.63 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2143/0.3017, allocations: 37.45 MB / 412.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.3079, allocations: 4.575 MB / 417.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.3083, allocations: 9.719 kB / 417.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009792/0.3093, allocations: 292.6 kB / 417.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009222/0.3102, allocations: 484.2 kB / 418 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.3158, allocations: 1.64 MB / 419.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.3175, allocations: 1.266 MB / 420.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.3178, allocations: 180.5 kB / 421 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006687/0.3185, allocations: 484.4 kB / 421.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.319, allocations: 402.2 kB / 421.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.3191, allocations: 45.5 kB / 421.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3207, allocations: 0.7557 MB / 422.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3209, allocations: 136.4 kB / 422.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.3212, allocations: 273.1 kB / 423.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.3227, allocations: 1.05 MB / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3227, allocations: 1.406 kB / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3227, allocations: 0 / 424.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3228, allocations: 0 / 424.2 MB, free: 12.46 MB / 350.1 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.001194/0.324, allocations: 0.7768 MB / 424.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.324, allocations: 13.12 kB / 424.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.3249, allocations: 74.53 kB / 425 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.3256, allocations: 352.5 kB / 425.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.3256, allocations: 28.88 kB / 425.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.3257, allocations: 39.56 kB / 425.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3269, allocations: 469.8 kB / 425.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.327, allocations: 10.88 kB / 425.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.3271, allocations: 16.09 kB / 425.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3271, allocations: 10.75 kB / 425.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.3276, allocations: 308.8 kB / 426.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.348, allocations: 6.728 MB / 433 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.3487, allocations: 286.4 kB / 433.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.3491, allocations: 152.8 kB / 433.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01941/0.3685, allocations: 3.889 MB / 437.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.3686, allocations: 34.56 kB / 437.3 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 4.128e-06/0.3686, allocations: 0 / 437.3 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.02262/0.3912, allocations: 2.453 MB / 439.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.3914, allocations: 63.34 kB / 439.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.392, allocations: 295.3 kB / 440.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.3921, allocations: 37.7 kB / 440.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.3924, allocations: 224 kB / 440.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.3926, allocations: 161.6 kB / 440.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.3928, allocations: 94.25 kB / 440.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3931, allocations: 346.8 kB / 441 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.3936, allocations: 157.1 kB / 441.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.3942, allocations: 271.7 kB / 441.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.3955, allocations: 472.3 kB / 441.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3955, allocations: 0 / 441.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002049/0.3976, allocations: 0.592 MB / 442.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.3976, allocations: 15.97 kB / 442.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3977, allocations: 4 kB / 442.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/0.4127, allocations: 1.843 MB / 444.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.4135, allocations: 115.8 kB / 444.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.4169, allocations: 2.565 MB / 447 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.4175, allocations: 19.94 kB / 447 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.4176, allocations: 20 kB / 447 MB, free: 6.266 MB / 366.1 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 0.0003799/0.418, allocations: 177.6 kB / 447.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4182, allocations: 39.53 kB / 447.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.4204, allocations: 0.8591 MB / 448.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.4205, allocations: 4 kB / 448.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.4205, allocations: 0 / 448.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001903/0.4224, allocations: 0.9613 MB / 449 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.4259, allocations: 1.482 MB / 450.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.426, allocations: 4 kB / 450.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.4266, allocations: 75.88 kB / 450.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006268/0.4329, allocations: 0.6216 MB / 451.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.433, allocations: 12 kB / 451.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.4346, allocations: 1.284 MB / 452.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4346, allocations: 0 / 452.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.4373, allocations: 1.229 MB / 453.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.4376, allocations: 112.6 kB / 453.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4377, allocations: 12 kB / 453.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.4382, allocations: 4 kB / 453.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.4383, allocations: 39.83 kB / 453.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.4384, allocations: 23.98 kB / 453.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003765/0.4387, allocations: 213.9 kB / 454.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4388, allocations: 0 / 454.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001357/0.4401, allocations: 231.9 kB / 454.4 MB, free: 14.63 MB / 382.1 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.0009496/0.4411, allocations: 275 kB / 454.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.4433, allocations: 0.7021 MB / 455.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/0.4433, allocations: 0 / 455.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.445, allocations: 449.2 kB / 455.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.4474, allocations: 240.8 kB / 456 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.4507, allocations: 1.199 MB / 457.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.4513, allocations: 0.8402 MB / 458.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.4519, allocations: 76.27 kB / 458.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.452, allocations: 39.44 kB / 458.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.452, allocations: 0 / 458.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of Templates: time 0.02909/0.4812, allocations: 12.78 MB / 470.9 MB, free: 13.96 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches