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.0009859/0.000986, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008181/0.0008183, allocations: 79.19 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.634e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.727/1.842, allocations: 0.536 GB / 0.9144 GB, free: 152.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.842, allocations: 75.41 kB / 0.9145 GB, free: 152.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299/3.141, allocations: 459.8 MB / 1.363 GB, free: 51.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/3.141, allocations: 4 kB / 1.363 GB, free: 51.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.277e-05/3.141, allocations: 4 kB / 1.363 GB, free: 51.22 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.001727/3.143, allocations: 0.711 MB / 1.364 GB, free: 50.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/3.143, allocations: 14.97 kB / 1.364 GB, free: 50.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/3.143, allocations: 51.61 kB / 1.364 GB, free: 50.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/3.144, allocations: 282.2 kB / 1.364 GB, free: 50.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/3.144, allocations: 8 kB / 1.365 GB, free: 50.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/3.144, allocations: 23.91 kB / 1.365 GB, free: 50.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003439/3.144, allocations: 177.1 kB / 1.365 GB, free: 49.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/3.145, allocations: 289.4 kB / 1.365 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/3.145, allocations: 4 kB / 1.365 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/3.145, allocations: 3.953 kB / 1.365 GB, free: 49.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/3.145, allocations: 8 kB / 1.365 GB, free: 49.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/3.155, allocations: 5.451 MB / 1.37 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/3.155, allocations: 167 kB / 1.37 GB, free: 43.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/3.156, allocations: 77.23 kB / 1.371 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007525/3.163, allocations: 3.49 MB / 1.374 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/3.163, allocations: 40.8 kB / 1.374 GB, free: 39.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 3.907e-06/3.163, allocations: 4 kB / 1.374 GB, free: 39.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.004156/3.167, allocations: 0.9878 MB / 1.375 GB, free: 38.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/3.167, allocations: 59.41 kB / 1.375 GB, free: 38.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/3.168, allocations: 187.2 kB / 1.375 GB, free: 38.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/3.168, allocations: 29.7 kB / 1.375 GB, free: 38.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/3.168, allocations: 190.8 kB / 1.375 GB, free: 38.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/3.168, allocations: 90.59 kB / 1.375 GB, free: 37.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/3.168, allocations: 0 / 1.375 GB, free: 37.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.351e-05/3.168, allocations: 338.8 kB / 1.376 GB, free: 37.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/3.168, allocations: 87.77 kB / 1.376 GB, free: 37.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/3.168, allocations: 167.2 kB / 1.376 GB, free: 37.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/3.169, allocations: 193.6 kB / 1.376 GB, free: 37.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/3.169, allocations: 0 / 1.376 GB, free: 37.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001158/3.17, allocations: 439.4 kB / 1.377 GB, free: 36.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/3.17, allocations: 4 kB / 1.377 GB, free: 36.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/3.17, allocations: 4 kB / 1.377 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/3.171, allocations: 66.05 kB / 1.377 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/3.171, allocations: 71.91 kB / 1.377 GB, free: 36.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/3.172, allocations: 1.879 MB / 1.379 GB, free: 34.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/3.173, allocations: 18.92 kB / 1.379 GB, free: 34.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/3.173, allocations: 19.98 kB / 1.379 GB, free: 34.49 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 9.45e-05/3.173, allocations: 116.9 kB / 1.379 GB, free: 34.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/3.173, allocations: 27.66 kB / 1.379 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008069/3.174, allocations: 468.4 kB / 1.379 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/3.174, allocations: 3.984 kB / 1.379 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/3.174, allocations: 11.95 kB / 1.379 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006522/3.174, allocations: 0.6958 MB / 1.38 GB, free: 33.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/3.176, allocations: 0.8755 MB / 1.381 GB, free: 32.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/3.176, allocations: 3.984 kB / 1.381 GB, free: 32.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/3.176, allocations: 39.98 kB / 1.381 GB, free: 32.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/3.176, allocations: 100.6 kB / 1.381 GB, free: 32.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/3.176, allocations: 7.984 kB / 1.381 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004433/3.177, allocations: 0.6772 MB / 1.382 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/3.177, allocations: 3.984 kB / 1.382 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/3.178, allocations: 0.698 MB / 1.382 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/3.178, allocations: 108.8 kB / 1.382 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/3.178, allocations: 4 kB / 1.382 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/3.178, allocations: 8.125 kB / 1.382 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/3.178, allocations: 15.97 kB / 1.382 GB, free: 30.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/3.178, allocations: 15.98 kB / 1.382 GB, free: 30.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001243/3.178, allocations: 157.6 kB / 1.383 GB, free: 30.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.178, allocations: 0 / 1.383 GB, free: 30.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001004/3.179, allocations: 191.9 kB / 1.383 GB, free: 30.06 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/3.181, allocations: 0.4926 MB / 1.383 GB, free: 29.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006653/3.181, allocations: 410.2 kB / 1.384 GB, free: 29.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/3.181, allocations: 0 / 1.384 GB, free: 29.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/3.182, allocations: 211.8 kB / 1.384 GB, free: 28.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/3.182, allocations: 127.2 kB / 1.384 GB, free: 28.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/3.183, allocations: 0.5589 MB / 1.385 GB, free: 28.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/3.184, allocations: 0.7876 MB / 1.385 GB, free: 27.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/3.184, allocations: 43.27 kB / 1.385 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/3.184, allocations: 31.42 kB / 1.385 GB, free: 27.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/3.184, allocations: 0 / 1.385 GB, free: 27.41 MB / 442.7 MB Notification: Performance of Templates: time 0.01269/3.196, allocations: 8.896 MB / 1.394 GB, free: 18.62 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