Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001243/0.001243, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001304/0.001304, allocations: 187 kB / 18.67 MB, free: 4.402 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.411/1.411, allocations: 205.1 MB / 224.5 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.001177/0.001177, allocations: 51.92 kB / 328.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07722/0.07841, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1857/0.2642, allocations: 27.04 MB / 402.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.2694, allocations: 4.159 MB / 406.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.2698, allocations: 7.469 kB / 406.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.2706, allocations: 208.1 kB / 406.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009239/0.2715, allocations: 342.9 kB / 406.9 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004949/0.2765, allocations: 1.465 MB / 408.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2778, allocations: 0.8896 MB / 409.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.278, allocations: 104.1 kB / 409.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007037/0.285, allocations: 4.053 MB / 413.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.2856, allocations: 271.1 kB / 413.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.932e-05/0.2857, allocations: 30.97 kB / 413.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.2877, allocations: 0.7283 MB / 414.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.2879, allocations: 96.75 kB / 414.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.2882, allocations: 194.8 kB / 414.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2898, allocations: 0.8555 MB / 415.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2898, allocations: 0 / 415.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2898, allocations: 0 / 415.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.2898, allocations: 0 / 415.6 MB, free: 4.77 MB / 334.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.001178/0.291, allocations: 0.6594 MB / 416.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2911, allocations: 8.875 kB / 416.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.2916, allocations: 57.58 kB / 416.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.2922, allocations: 298 kB / 416.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2922, allocations: 20.56 kB / 416.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.2923, allocations: 26.06 kB / 416.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.2928, allocations: 341.6 kB / 417 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2929, allocations: 5.094 kB / 417 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.2929, allocations: 11.66 kB / 417 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.2929, allocations: 12.17 kB / 417 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.2934, allocations: 212 kB / 417.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.3058, allocations: 5.905 MB / 423.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3061, allocations: 177.5 kB / 423.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3063, allocations: 90.52 kB / 423.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3166, allocations: 3.887 MB / 427.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3166, allocations: 42.48 kB / 427.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.3166, allocations: 3.938 kB / 427.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006369/0.323, allocations: 1.413 MB / 428.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3231, allocations: 55.41 kB / 428.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3234, allocations: 266.5 kB / 429 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3234, allocations: 33.7 kB / 429.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3235, allocations: 188.4 kB / 429.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.3236, allocations: 91.22 kB / 429.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.3237, allocations: 73.66 kB / 429.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3238, allocations: 334.8 kB / 429.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.324, allocations: 95.73 kB / 429.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3242, allocations: 190.9 kB / 430 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.3246, allocations: 299 kB / 430.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3247, allocations: 0 / 430.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000679/0.3253, allocations: 406.8 kB / 430.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3254, allocations: 4 kB / 430.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3254, allocations: 4 kB / 430.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/0.3294, allocations: 0.9342 MB / 431.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3296, allocations: 63.91 kB / 431.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.3312, allocations: 1.987 MB / 433.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3314, allocations: 12 kB / 433.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3315, allocations: 19.88 kB / 433.7 MB, free: 3.883 MB / 350.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 (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.0001565/0.3316, allocations: 151.1 kB / 433.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.3317, allocations: 35.81 kB / 433.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.3325, allocations: 498.6 kB / 434.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3325, allocations: 4 kB / 434.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3325, allocations: 0 / 434.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006188/0.3331, allocations: 0.7166 MB / 435.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3344, allocations: 0.9496 MB / 436.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3344, allocations: 4.031 kB / 436.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.3346, allocations: 47.97 kB / 436.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.3362, allocations: 312.3 kB / 436.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3363, allocations: 8 kB / 436.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004616/0.3367, allocations: 0.646 MB / 437.1 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3367, allocations: 4.031 kB / 437.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000895/0.3376, allocations: 0.7185 MB / 437.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3378, allocations: 104.9 kB / 437.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.3378, allocations: 12.06 kB / 437.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.338, allocations: 8 kB / 437.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3381, allocations: 15.97 kB / 437.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.3381, allocations: 15.98 kB / 438 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.3383, allocations: 186 kB / 438.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3383, allocations: 0 / 438.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.339, allocations: 191.7 kB / 438.3 MB, free: 15.05 MB / 366.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 (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.0006259/0.3396, allocations: 276.6 kB / 438.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008135/0.3404, allocations: 446.2 kB / 439 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3405, allocations: 0.75 kB / 439 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.341, allocations: 235.8 kB / 439.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.342, allocations: 171.4 kB / 439.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3433, allocations: 0.8078 MB / 440.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3436, allocations: 0.7721 MB / 441 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.3438, allocations: 46.95 kB / 441.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.3439, allocations: 35.36 kB / 441.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3439, allocations: 0 / 441.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01594/0.3599, allocations: 9.989 MB / 451.1 MB, free: 2.203 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches