Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 227.2 MB / 245 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008683/0.0008682, allocations: 101.9 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002103, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2077, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9328/1.141, allocations: 0.5375 GB / 0.9373 GB, free: 92.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/1.141, allocations: 81.27 kB / 0.9374 GB, free: 91.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103/2.244, allocations: 472.2 MB / 1.399 GB, free: 117.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/2.244, allocations: 0 / 1.399 GB, free: 117.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/2.244, allocations: 12.42 kB / 1.399 GB, free: 117.7 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.001426/2.246, allocations: 0.7368 MB / 1.399 GB, free: 117.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/2.246, allocations: 8.812 kB / 1.399 GB, free: 117.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/2.246, allocations: 56.47 kB / 1.399 GB, free: 117.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/2.247, allocations: 280 kB / 1.4 GB, free: 117.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/2.247, allocations: 19 kB / 1.4 GB, free: 117.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/2.247, allocations: 34.23 kB / 1.4 GB, free: 117.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/2.248, allocations: 334.7 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/2.248, allocations: 2.312 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/2.248, allocations: 10.56 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/2.248, allocations: 9.938 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/2.248, allocations: 212.8 kB / 1.4 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009442/2.257, allocations: 5.478 MB / 1.406 GB, free: 113.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/2.258, allocations: 165.8 kB / 1.406 GB, free: 113.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007451/2.265, allocations: 3.452 MB / 1.409 GB, free: 112 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/2.265, allocations: 37.8 kB / 1.409 GB, free: 112 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.714e-06/2.265, allocations: 0 / 1.409 GB, free: 112 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.004944/2.27, allocations: 1.387 MB / 1.411 GB, free: 111.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/2.27, allocations: 53.78 kB / 1.411 GB, free: 111.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/2.27, allocations: 235 kB / 1.411 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/2.27, allocations: 32.7 kB / 1.411 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/2.27, allocations: 187.2 kB / 1.411 GB, free: 111.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/2.27, allocations: 103.2 kB / 1.411 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/2.271, allocations: 3.625 kB / 1.411 GB, free: 111.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/2.271, allocations: 341 kB / 1.411 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/2.271, allocations: 87.41 kB / 1.411 GB, free: 110.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/2.271, allocations: 188 kB / 1.412 GB, free: 110.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/2.271, allocations: 122 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/2.271, allocations: 0 / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005739/2.272, allocations: 387.7 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/2.272, allocations: 7.812 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/2.272, allocations: 7.312 kB / 1.412 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/2.276, allocations: 453.2 kB / 1.413 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/2.276, allocations: 69.75 kB / 1.413 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/2.277, allocations: 1.876 MB / 1.415 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/2.277, allocations: 21.41 kB / 1.415 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/2.277, allocations: 21.77 kB / 1.415 GB, free: 108.9 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.0001396/2.278, allocations: 153.2 kB / 1.415 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/2.278, allocations: 27.53 kB / 1.415 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005656/2.278, allocations: 495.3 kB / 1.415 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/2.278, allocations: 6.953 kB / 1.415 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/2.278, allocations: 0 / 1.415 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004459/2.279, allocations: 0.7236 MB / 1.416 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/2.28, allocations: 0.9476 MB / 1.417 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/2.28, allocations: 0 / 1.417 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/2.28, allocations: 46.88 kB / 1.417 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/2.281, allocations: 311.5 kB / 1.417 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/2.281, allocations: 6.594 kB / 1.417 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003198/2.282, allocations: 0.6377 MB / 1.418 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.282, allocations: 0 / 1.418 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/2.283, allocations: 0.7442 MB / 1.419 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/2.283, allocations: 107.7 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/2.283, allocations: 7.625 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/2.283, allocations: 12.97 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/2.283, allocations: 18.91 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/2.283, allocations: 13.75 kB / 1.419 GB, free: 107 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001376/2.283, allocations: 187 kB / 1.419 GB, free: 106.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.283, allocations: 0 / 1.419 GB, free: 106.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008362/2.284, allocations: 209.4 kB / 1.419 GB, free: 106.9 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.001307/2.285, allocations: 468.8 kB / 1.42 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006895/2.286, allocations: 451 kB / 1.42 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.286, allocations: 2.734 kB / 1.42 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/2.287, allocations: 243.8 kB / 1.42 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/2.287, allocations: 162.5 kB / 1.42 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/2.288, allocations: 0.9525 MB / 1.421 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/2.289, allocations: 0.7884 MB / 1.422 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/2.289, allocations: 52.2 kB / 1.422 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/2.289, allocations: 27.94 kB / 1.422 GB, free: 105.4 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/2.289, allocations: 0 / 1.422 GB, free: 105.4 MB / 458.7 MB Notification: Performance of Templates: time 0.01366/2.303, allocations: 10.78 MB / 1.433 GB, free: 104.8 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches