Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002257/0.002257, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 78.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.603e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3465, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.561/1.908, allocations: 0.5386 GB / 0.8925 GB, free: 95.08 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/1.908, allocations: 96.69 kB / 0.8926 GB, free: 95.02 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.758/2.666, allocations: 144.7 MB / 1.034 GB, free: 108 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.583e-06/2.666, allocations: 0 / 1.034 GB, free: 108 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.367e-05/2.666, allocations: 3.938 kB / 1.034 GB, free: 108 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001209/2.668, allocations: 0.5939 MB / 1.034 GB, free: 107.6 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/2.668, allocations: 11.81 kB / 1.034 GB, free: 107.6 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/2.668, allocations: 44.31 kB / 1.034 GB, free: 107.6 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/2.668, allocations: 282.6 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/2.668, allocations: 6.656 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/2.669, allocations: 13.97 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004463/2.669, allocations: 180.1 kB / 1.035 GB, free: 107.4 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/2.67, allocations: 270.2 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/2.67, allocations: 3.969 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/2.67, allocations: 0 / 1.035 GB, free: 107.3 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/2.67, allocations: 13.98 kB / 1.035 GB, free: 107.3 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/2.672, allocations: 1.549 MB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/2.672, allocations: 142.9 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/2.673, allocations: 77.38 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/2.673, allocations: 5.312 kB / 1.037 GB, free: 106.1 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/2.673, allocations: 39.62 kB / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 2.925e-06/2.673, allocations: 0 / 1.037 GB, free: 106 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.006645/2.679, allocations: 0.9956 MB / 1.038 GB, free: 105.6 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/2.679, allocations: 57.31 kB / 1.038 GB, free: 105.6 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/2.68, allocations: 202.5 kB / 1.038 GB, free: 105.5 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/2.68, allocations: 25.7 kB / 1.038 GB, free: 105.4 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/2.68, allocations: 244.1 kB / 1.038 GB, free: 105.2 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/2.68, allocations: 87.06 kB / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/2.68, allocations: 0 / 1.039 GB, free: 105.2 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/2.68, allocations: 329.1 kB / 1.039 GB, free: 104.9 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/2.68, allocations: 72.94 kB / 1.039 GB, free: 104.9 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/2.681, allocations: 176.2 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/2.681, allocations: 110.5 kB / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/2.681, allocations: 0 / 1.039 GB, free: 104.8 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008278/2.682, allocations: 355.3 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/2.682, allocations: 9.562 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/2.682, allocations: 5.844 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/2.682, allocations: 63.28 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/2.683, allocations: 87.59 kB / 1.04 GB, free: 104.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/2.684, allocations: 1.812 MB / 1.041 GB, free: 103 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/2.684, allocations: 12.97 kB / 1.041 GB, free: 103 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/2.685, allocations: 40.52 kB / 1.042 GB, free: 103 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001404/2.685, allocations: 115.3 kB / 1.042 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/2.685, allocations: 27.31 kB / 1.042 GB, free: 102.9 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/2.686, allocations: 340.9 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/2.686, allocations: 7.484 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.686, allocations: 2.781 kB / 1.042 GB, free: 102.8 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005735/2.686, allocations: 0.548 MB / 1.043 GB, free: 102.3 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/2.688, allocations: 0.6557 MB / 1.043 GB, free: 102 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/2.688, allocations: 3.594 kB / 1.043 GB, free: 102 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/2.688, allocations: 72.2 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/2.688, allocations: 23.72 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/2.689, allocations: 6.781 kB / 1.043 GB, free: 101.9 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008078/2.689, allocations: 1.239 MB / 1.044 GB, free: 100.7 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.689, allocations: 3.062 kB / 1.044 GB, free: 100.7 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/2.69, allocations: 477.3 kB / 1.045 GB, free: 100.4 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/2.69, allocations: 95.17 kB / 1.045 GB, free: 100.3 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/2.69, allocations: 3.469 kB / 1.045 GB, free: 100.3 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/2.691, allocations: 11.78 kB / 1.045 GB, free: 100.3 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/2.691, allocations: 33.86 kB / 1.045 GB, free: 100.3 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/2.691, allocations: 30.23 kB / 1.045 GB, free: 100.3 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000182/2.691, allocations: 158.6 kB / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.4e-07/2.691, allocations: 3.844 kB / 1.045 GB, free: 100.2 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009358/2.692, allocations: 157.9 kB / 1.045 GB, free: 100.1 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/2.694, allocations: 0.9215 MB / 1.046 GB, free: 99.92 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008047/2.694, allocations: 339.5 kB / 1.047 GB, free: 99.75 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.695, allocations: 7.906 kB / 1.047 GB, free: 99.74 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/2.695, allocations: 206.7 kB / 1.047 GB, free: 99.61 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/2.696, allocations: 122.8 kB / 1.047 GB, free: 99.59 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/2.697, allocations: 0.4974 MB / 1.047 GB, free: 99.33 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/2.697, allocations: 0.7727 MB / 1.048 GB, free: 98.62 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/2.698, allocations: 72.31 kB / 1.048 GB, free: 98.62 MB / 427.1 MB Notification: Performance of SimCode: time 7.61e-07/2.698, allocations: 0 / 1.048 GB, free: 98.62 MB / 427.1 MB Notification: Performance of Templates: time 0.02046/2.718, allocations: 11.1 MB / 1.059 GB, free: 96.62 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches