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.001065/0.001065, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001071/0.001071, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.374/1.374, 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.001255/0.001255, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08771, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2057/0.2935, allocations: 27.04 MB / 402.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005519/0.299, allocations: 4.163 MB / 406.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.2995, allocations: 7.219 kB / 406.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.3004, allocations: 207.6 kB / 406.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3015, allocations: 336.5 kB / 406.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.3067, allocations: 1.477 MB / 408.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.3081, allocations: 0.8816 MB / 409.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.3083, allocations: 103.3 kB / 409.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007681/0.316, allocations: 4.06 MB / 413.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.3168, allocations: 271.6 kB / 413.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.3169, allocations: 30.91 kB / 413.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.319, allocations: 0.7247 MB / 414.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3192, allocations: 93.88 kB / 414.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.3196, allocations: 201.6 kB / 414.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.322, allocations: 0.8475 MB / 415.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.322, allocations: 1.188 kB / 415.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.322, allocations: 0 / 415.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.3221, allocations: 4 kB / 415.6 MB, free: 4.547 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.001617/0.3237, allocations: 0.6407 MB / 416.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3238, allocations: 9.375 kB / 416.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.3243, allocations: 57.23 kB / 416.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005771/0.3249, allocations: 290.7 kB / 416.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.325, allocations: 23.25 kB / 416.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.325, allocations: 26.56 kB / 416.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.3256, allocations: 346.8 kB / 417 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3256, allocations: 2.953 kB / 417 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.3257, allocations: 11.97 kB / 417 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3257, allocations: 7.312 kB / 417 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.3261, allocations: 208 kB / 417.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.3397, allocations: 5.92 MB / 423.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.3401, allocations: 178.5 kB / 423.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.3403, allocations: 86.2 kB / 423.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3508, allocations: 3.883 MB / 427.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.3509, allocations: 38.5 kB / 427.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.3509, allocations: 4 kB / 427.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006493/0.3574, allocations: 1.416 MB / 428.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.3575, allocations: 55.34 kB / 428.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.3578, allocations: 254.6 kB / 429 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3578, allocations: 33.7 kB / 429 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3579, allocations: 184 kB / 429.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.358, allocations: 98.62 kB / 429.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3581, allocations: 65.7 kB / 429.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3583, allocations: 334.8 kB / 429.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3584, allocations: 99.73 kB / 429.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3586, allocations: 186.9 kB / 430 MB, free: 7.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.359, allocations: 303 kB / 430.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3591, allocations: 0 / 430.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006873/0.3597, allocations: 402.6 kB / 430.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3598, allocations: 4 kB / 430.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3598, allocations: 4 kB / 430.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004013/0.3638, allocations: 0.9402 MB / 431.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.3641, allocations: 63.91 kB / 431.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.3657, allocations: 1.982 MB / 433.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.366, allocations: 15.94 kB / 433.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.366, allocations: 15.98 kB / 433.7 MB, free: 3.77 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.0001941/0.3662, allocations: 151.1 kB / 433.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/0.3663, allocations: 31.56 kB / 433.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.3671, allocations: 498.7 kB / 434.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3671, allocations: 8 kB / 434.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3671, allocations: 0 / 434.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006402/0.3677, allocations: 0.7127 MB / 435.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.369, allocations: 0.9494 MB / 436 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.369, allocations: 0 / 436 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3692, allocations: 47.97 kB / 436.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.371, allocations: 316.3 kB / 436.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.371, allocations: 8 kB / 436.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004813/0.3715, allocations: 0.6421 MB / 437 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3715, allocations: 8.094 kB / 437 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.3725, allocations: 0.7183 MB / 437.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3726, allocations: 108.6 kB / 437.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.3727, allocations: 4 kB / 437.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.3729, allocations: 11.94 kB / 437.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3729, allocations: 20.03 kB / 437.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3729, allocations: 12 kB / 437.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3731, allocations: 182 kB / 438.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3731, allocations: 0 / 438.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007433/0.3739, allocations: 191.9 kB / 438.3 MB, free: 14.95 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.0006767/0.3746, allocations: 271 kB / 438.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008056/0.3754, allocations: 458.5 kB / 439 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3754, allocations: 0 / 439 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.3759, allocations: 232.3 kB / 439.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.3769, allocations: 178 kB / 439.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3783, allocations: 0.7804 MB / 440.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3786, allocations: 0.776 MB / 441 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.3789, allocations: 54.94 kB / 441 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.3789, allocations: 27.44 kB / 441 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3789, allocations: 0 / 441 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01802/0.397, allocations: 10 MB / 451 MB, free: 2.105 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