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.001633/0.001633, allocations: 100.3 kB / 18.39 MB, free: 4.66 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.001926/0.001926, allocations: 188.2 kB / 19.33 MB, free: 3.734 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.505/1.505, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.002254/0.002254, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1367, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.282/0.4187, allocations: 37.45 MB / 413.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.4255, allocations: 4.579 MB / 417.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.426, allocations: 9.594 kB / 417.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.4271, allocations: 294.1 kB / 418.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.4283, allocations: 483 kB / 418.6 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006685/0.435, allocations: 1.643 MB / 420.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.4371, allocations: 1.271 MB / 421.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.4375, allocations: 170.9 kB / 421.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.4383, allocations: 480 kB / 422.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.4389, allocations: 411.3 kB / 422.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.921e-05/0.4391, allocations: 45.53 kB / 422.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.4412, allocations: 0.75 MB / 423.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.4414, allocations: 133.7 kB / 423.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.4417, allocations: 277.5 kB / 423.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.4437, allocations: 1.051 MB / 424.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4437, allocations: 0 / 424.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4437, allocations: 0 / 424.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.4437, allocations: 5.312 kB / 424.8 MB, free: 12.5 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.001439/0.4452, allocations: 0.7722 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.4453, allocations: 10 kB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.4459, allocations: 77.81 kB / 425.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.4466, allocations: 348.4 kB / 426 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.4466, allocations: 34.16 kB / 426.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.4467, allocations: 37.47 kB / 426.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.4474, allocations: 478.1 kB / 426.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4475, allocations: 6.438 kB / 426.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.4475, allocations: 17.5 kB / 426.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4475, allocations: 14.39 kB / 426.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.4481, allocations: 305.9 kB / 426.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.464, allocations: 6.732 MB / 433.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.4646, allocations: 274.5 kB / 433.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.4649, allocations: 153.7 kB / 434.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.4762, allocations: 3.885 MB / 437.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.4763, allocations: 50.48 kB / 438 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.4763, allocations: 0 / 438 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01312/0.4894, allocations: 2.442 MB / 440.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.4895, allocations: 63.34 kB / 440.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.4899, allocations: 299.3 kB / 440.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.49, allocations: 33.7 kB / 440.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.4902, allocations: 231.9 kB / 441 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4903, allocations: 161.6 kB / 441.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4905, allocations: 90.25 kB / 441.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4906, allocations: 346.8 kB / 441.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.4909, allocations: 153.1 kB / 441.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.4913, allocations: 283.7 kB / 442.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.492, allocations: 468.3 kB / 442.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.492, allocations: 0 / 442.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001393/0.4934, allocations: 0.5916 MB / 443.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.4934, allocations: 11.94 kB / 443.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4935, allocations: 8.406 kB / 443.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/0.5023, allocations: 1.847 MB / 445 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.5028, allocations: 111.8 kB / 445.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.505, allocations: 2.558 MB / 447.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.5054, allocations: 16.06 kB / 447.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.5055, allocations: 31.98 kB / 447.7 MB, free: 6.301 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.0002795/0.5058, allocations: 169.7 kB / 447.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5059, allocations: 43.61 kB / 447.9 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.5071, allocations: 0.8551 MB / 448.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.5071, allocations: 11.98 kB / 448.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5072, allocations: 7.938 kB / 448.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.5082, allocations: 0.9535 MB / 449.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.5103, allocations: 1.482 MB / 451.2 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5103, allocations: 0 / 451.2 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.5107, allocations: 79.89 kB / 451.3 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/0.5143, allocations: 0.6216 MB / 451.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.5143, allocations: 16 kB / 451.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.5154, allocations: 1.28 MB / 453.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5154, allocations: 3.938 kB / 453.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.517, allocations: 1.213 MB / 454.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.5172, allocations: 120.6 kB / 454.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.5173, allocations: 8 kB / 454.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.5176, allocations: 12 kB / 454.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.5176, allocations: 35.84 kB / 454.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.5177, allocations: 19.98 kB / 454.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.5179, allocations: 209.9 kB / 454.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5179, allocations: 0 / 454.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.519, allocations: 235.9 kB / 455 MB, free: 14.67 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.0008804/0.5199, allocations: 279.1 kB / 455.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.5212, allocations: 0.7101 MB / 456 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5212, allocations: 0 / 456 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009748/0.5222, allocations: 437 kB / 456.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.5235, allocations: 231.7 kB / 456.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5256, allocations: 1.255 MB / 457.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.526, allocations: 0.8363 MB / 458.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.5262, allocations: 43.44 kB / 458.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5262, allocations: 0 / 458.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01933/0.5455, allocations: 13.04 MB / 471.9 MB, free: 13.76 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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