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.001005/0.001005, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.433/1.433, allocations: 221.4 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 91.8 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.618e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1428, allocations: 50.41 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.079, allocations: 0.5367 GB / 0.9217 GB, free: 128 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004562/2.08, allocations: 75.11 kB / 0.9217 GB, free: 127.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.494/3.574, allocations: 471.6 MB / 1.382 GB, free: 9.289 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/3.574, allocations: 3.938 kB / 1.382 GB, free: 9.285 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/3.574, allocations: 11.98 kB / 1.382 GB, free: 9.273 MB / 442.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.001363/3.575, allocations: 0.7108 MB / 1.383 GB, free: 8.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/3.575, allocations: 12.02 kB / 1.383 GB, free: 8.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/3.576, allocations: 51.61 kB / 1.383 GB, free: 8.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/3.576, allocations: 286.5 kB / 1.383 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/3.576, allocations: 20.56 kB / 1.383 GB, free: 8.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/3.576, allocations: 28 kB / 1.383 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/3.577, allocations: 330.5 kB / 1.384 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/3.577, allocations: 3.938 kB / 1.384 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/3.577, allocations: 12 kB / 1.384 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/3.577, allocations: 11.95 kB / 1.384 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/3.577, allocations: 206.1 kB / 1.384 GB, free: 7.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/3.587, allocations: 5.511 MB / 1.389 GB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/3.588, allocations: 175.2 kB / 1.389 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/3.588, allocations: 85.23 kB / 1.39 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3718/3.96, allocations: 3.485 MB / 1.393 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.229e-05/3.96, allocations: 34.94 kB / 1.393 GB, free: 100.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 4.528e-06/3.96, allocations: 3.188 kB / 1.393 GB, free: 100.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.006029/3.966, allocations: 1.261 MB / 1.394 GB, free: 100.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/3.966, allocations: 58.66 kB / 1.394 GB, free: 100.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/3.966, allocations: 228.7 kB / 1.394 GB, free: 100.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/3.966, allocations: 32.38 kB / 1.395 GB, free: 100.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/3.966, allocations: 191.9 kB / 1.395 GB, free: 100.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/3.967, allocations: 91.64 kB / 1.395 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/3.967, allocations: 6.375 kB / 1.395 GB, free: 100.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/3.967, allocations: 334.2 kB / 1.395 GB, free: 99.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/3.967, allocations: 92.97 kB / 1.395 GB, free: 99.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/3.967, allocations: 182.9 kB / 1.395 GB, free: 99.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/3.967, allocations: 118.1 kB / 1.395 GB, free: 99.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/3.967, allocations: 4.906 kB / 1.395 GB, free: 99.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008619/3.968, allocations: 392.3 kB / 1.396 GB, free: 99.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/3.968, allocations: 6.375 kB / 1.396 GB, free: 99.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/3.968, allocations: 2.406 kB / 1.396 GB, free: 99.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/3.973, allocations: 460.8 kB / 1.396 GB, free: 99.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/3.973, allocations: 65.88 kB / 1.396 GB, free: 99.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/3.974, allocations: 1.877 MB / 1.398 GB, free: 97.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/3.975, allocations: 19.75 kB / 1.398 GB, free: 97.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/3.975, allocations: 14.56 kB / 1.398 GB, free: 97.84 MB / 442.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 () * 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.0001372/3.975, allocations: 134 kB / 1.398 GB, free: 97.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/3.975, allocations: 34.48 kB / 1.398 GB, free: 97.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008377/3.976, allocations: 481.6 kB / 1.399 GB, free: 97.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/3.976, allocations: 10.17 kB / 1.399 GB, free: 97.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/3.976, allocations: 1.25 kB / 1.399 GB, free: 97.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006511/3.977, allocations: 0.7193 MB / 1.4 GB, free: 97.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/3.978, allocations: 0.9361 MB / 1.4 GB, free: 96.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/3.978, allocations: 3.719 kB / 1.4 GB, free: 96.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/3.978, allocations: 51.42 kB / 1.401 GB, free: 96.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/3.979, allocations: 297.3 kB / 1.401 GB, free: 96.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/3.98, allocations: 10.84 kB / 1.401 GB, free: 96.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003863/3.98, allocations: 0.642 MB / 1.401 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.98, allocations: 7.219 kB / 1.401 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/3.981, allocations: 0.7112 MB / 1.402 GB, free: 96.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/3.981, allocations: 118.6 kB / 1.402 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/3.981, allocations: 6.438 kB / 1.402 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/3.981, allocations: 15.95 kB / 1.402 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/3.981, allocations: 16.5 kB / 1.402 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/3.981, allocations: 10.31 kB / 1.402 GB, free: 96.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002542/3.982, allocations: 182.7 kB / 1.402 GB, free: 95.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/3.982, allocations: 2.844 kB / 1.402 GB, free: 95.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001485/3.983, allocations: 205.8 kB / 1.403 GB, free: 95.94 MB / 442.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 () * 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.001487/3.985, allocations: 483.5 kB / 1.403 GB, free: 95.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009266/3.986, allocations: 443.5 kB / 1.404 GB, free: 95.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/3.986, allocations: 0.9375 kB / 1.404 GB, free: 95.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/3.986, allocations: 233.3 kB / 1.404 GB, free: 95.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/3.987, allocations: 167.1 kB / 1.404 GB, free: 95.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/3.989, allocations: 0.5667 MB / 1.405 GB, free: 95.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/3.989, allocations: 0.7836 MB / 1.405 GB, free: 94.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000255/3.989, allocations: 53.66 kB / 1.405 GB, free: 94.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/3.989, allocations: 29.31 kB / 1.405 GB, free: 94.86 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/3.989, allocations: 0 / 1.405 GB, free: 94.86 MB / 442.7 MB Notification: Performance of Templates: time 0.02607/4.015, allocations: 11.2 MB / 1.416 GB, free: 94.44 MB / 442.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/jenkins/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