Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008809/0.0008811, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 241.4 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007623/0.0007623, allocations: 100.8 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003287, allocations: 11.94 kB / 352.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9296/1.138, allocations: 0.5369 GB / 0.9302 GB, free: 113.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/1.138, allocations: 79.95 kB / 0.9303 GB, free: 113.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8977/2.036, allocations: 455.8 MB / 1.375 GB, free: 35.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.036, allocations: 0 / 1.375 GB, free: 35.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/2.036, allocations: 8 kB / 1.375 GB, free: 35.39 MB / 458.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.001045/2.037, allocations: 0.7342 MB / 1.376 GB, free: 34.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/2.037, allocations: 12.03 kB / 1.376 GB, free: 34.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/2.037, allocations: 56.53 kB / 1.376 GB, free: 34.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/2.038, allocations: 288.1 kB / 1.377 GB, free: 34.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/2.038, allocations: 20.94 kB / 1.377 GB, free: 34.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/2.038, allocations: 28.38 kB / 1.377 GB, free: 34.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/2.038, allocations: 331.1 kB / 1.377 GB, free: 33.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/2.038, allocations: 8.109 kB / 1.377 GB, free: 33.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/2.038, allocations: 15.94 kB / 1.377 GB, free: 33.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/2.038, allocations: 8 kB / 1.377 GB, free: 33.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/2.038, allocations: 214 kB / 1.377 GB, free: 33.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008437/2.047, allocations: 5.471 MB / 1.382 GB, free: 27.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/2.047, allocations: 178.3 kB / 1.383 GB, free: 27.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/2.047, allocations: 88.83 kB / 1.383 GB, free: 27.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/2.054, allocations: 3.449 MB / 1.386 GB, free: 23.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/2.054, allocations: 38.56 kB / 1.386 GB, free: 23.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/2.054, allocations: 0 / 1.386 GB, free: 23.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.004914/2.059, allocations: 1.371 MB / 1.387 GB, free: 22.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/2.059, allocations: 63.39 kB / 1.388 GB, free: 22.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/2.059, allocations: 250.6 kB / 1.388 GB, free: 21.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/2.059, allocations: 33.7 kB / 1.388 GB, free: 21.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/2.059, allocations: 184 kB / 1.388 GB, free: 21.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/2.059, allocations: 98.64 kB / 1.388 GB, free: 21.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/2.059, allocations: 8 kB / 1.388 GB, free: 21.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/2.059, allocations: 334.8 kB / 1.388 GB, free: 21.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/2.06, allocations: 95.75 kB / 1.388 GB, free: 21.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/2.06, allocations: 179.1 kB / 1.389 GB, free: 20.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/2.06, allocations: 304.5 kB / 1.389 GB, free: 20.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/2.06, allocations: 4 kB / 1.389 GB, free: 20.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005374/2.061, allocations: 395.4 kB / 1.389 GB, free: 20.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/2.061, allocations: 4 kB / 1.389 GB, free: 20.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/2.061, allocations: 4 kB / 1.389 GB, free: 20.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/2.064, allocations: 453.6 kB / 1.39 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/2.065, allocations: 67.91 kB / 1.39 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009933/2.066, allocations: 1.883 MB / 1.392 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/2.066, allocations: 20 kB / 1.392 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/2.066, allocations: 20.05 kB / 1.392 GB, free: 17.46 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001494/2.066, allocations: 154.4 kB / 1.392 GB, free: 17.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/2.066, allocations: 31.56 kB / 1.392 GB, free: 17.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/2.067, allocations: 492.2 kB / 1.392 GB, free: 16.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/2.067, allocations: 11.94 kB / 1.392 GB, free: 16.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/2.067, allocations: 0 / 1.392 GB, free: 16.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004445/2.067, allocations: 0.7175 MB / 1.393 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009574/2.068, allocations: 0.9452 MB / 1.394 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/2.068, allocations: 4 kB / 1.394 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/2.068, allocations: 47.94 kB / 1.394 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/2.07, allocations: 308.3 kB / 1.394 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/2.07, allocations: 8 kB / 1.394 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/2.07, allocations: 0.6382 MB / 1.395 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.07, allocations: 3.938 kB / 1.395 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/2.071, allocations: 0.7307 MB / 1.396 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/2.071, allocations: 108.8 kB / 1.396 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/2.071, allocations: 8 kB / 1.396 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/2.071, allocations: 15.88 kB / 1.396 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/2.071, allocations: 24.03 kB / 1.396 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/2.071, allocations: 8 kB / 1.396 GB, free: 13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001426/2.071, allocations: 186 kB / 1.396 GB, free: 12.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/2.071, allocations: 0 / 1.396 GB, free: 12.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008356/2.072, allocations: 211.8 kB / 1.396 GB, free: 12.61 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009809/2.073, allocations: 480.7 kB / 1.397 GB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006341/2.074, allocations: 435.8 kB / 1.397 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/2.074, allocations: 0 / 1.397 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/2.074, allocations: 248.6 kB / 1.397 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/2.075, allocations: 167.5 kB / 1.397 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/2.076, allocations: 0.9397 MB / 1.398 GB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/2.076, allocations: 0.7763 MB / 1.399 GB, free: 9.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/2.077, allocations: 58.12 kB / 1.399 GB, free: 9.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/2.077, allocations: 27.44 kB / 1.399 GB, free: 9.465 MB / 458.7 MB Notification: Performance of SimCode: time 3.51e-07/2.077, allocations: 4 kB / 1.399 GB, free: 9.461 MB / 458.7 MB Notification: Performance of Templates: time 0.1823/2.259, allocations: 11.03 MB / 1.41 GB, free: 120.7 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches