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.001165/0.001165, allocations: 176.9 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 223.6 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008139/0.0008141, allocations: 89.53 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2047, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.218, allocations: 0.5889 GB / 0.9558 GB, free: 23.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.219, allocations: 99.94 kB / 0.9559 GB, free: 23.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4971/1.716, allocations: 151.5 MB / 1.104 GB, free: 42.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.716, allocations: 4 kB / 1.104 GB, free: 42.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.544e-05/1.716, allocations: 4 kB / 1.104 GB, free: 42.47 MB / 426.7 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.001181/1.717, allocations: 0.6208 MB / 1.104 GB, free: 41.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.717, allocations: 8.031 kB / 1.104 GB, free: 41.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003714/1.717, allocations: 44.55 kB / 1.105 GB, free: 41.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/1.718, allocations: 284.1 kB / 1.105 GB, free: 41.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/1.718, allocations: 16.94 kB / 1.105 GB, free: 41.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/1.718, allocations: 28.38 kB / 1.105 GB, free: 41.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/1.719, allocations: 312.2 kB / 1.105 GB, free: 41.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/1.719, allocations: 4.188 kB / 1.105 GB, free: 41.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/1.719, allocations: 19.88 kB / 1.105 GB, free: 41.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.719, allocations: 7.938 kB / 1.105 GB, free: 41.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/1.719, allocations: 205.6 kB / 1.105 GB, free: 40.82 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001565/1.721, allocations: 1.593 MB / 1.107 GB, free: 39.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/1.721, allocations: 170.5 kB / 1.107 GB, free: 38.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/1.721, allocations: 93.14 kB / 1.107 GB, free: 38.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/1.721, allocations: 8 kB / 1.107 GB, free: 38.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/1.721, allocations: 30.56 kB / 1.107 GB, free: 38.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/1.721, allocations: 0 / 1.107 GB, free: 38.76 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005026/1.726, allocations: 1.633 MB / 1.109 GB, free: 37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.726, allocations: 59.39 kB / 1.109 GB, free: 36.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/1.726, allocations: 248.9 kB / 1.109 GB, free: 36.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/1.726, allocations: 33.7 kB / 1.109 GB, free: 36.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/1.727, allocations: 176.2 kB / 1.109 GB, free: 36.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/1.727, allocations: 106.6 kB / 1.109 GB, free: 36.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/1.727, allocations: 4 kB / 1.109 GB, free: 36.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/1.727, allocations: 339.1 kB / 1.11 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/1.727, allocations: 87.95 kB / 1.11 GB, free: 35.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/1.727, allocations: 187.8 kB / 1.11 GB, free: 35.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/1.727, allocations: 300.3 kB / 1.11 GB, free: 35.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.727, allocations: 3.938 kB / 1.11 GB, free: 35.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005772/1.728, allocations: 394.7 kB / 1.111 GB, free: 34.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.728, allocations: 8 kB / 1.111 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.728, allocations: 0 / 1.111 GB, free: 34.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/1.728, allocations: 78.08 kB / 1.111 GB, free: 34.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/1.729, allocations: 87.83 kB / 1.111 GB, free: 34.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/1.73, allocations: 1.852 MB / 1.113 GB, free: 32.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/1.73, allocations: 16 kB / 1.113 GB, free: 32.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/1.73, allocations: 44.17 kB / 1.113 GB, free: 32.72 MB / 426.7 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 () * Number of clocked 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.0001754/1.73, allocations: 149.7 kB / 1.113 GB, free: 32.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/1.73, allocations: 35.59 kB / 1.113 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/1.731, allocations: 444.7 kB / 1.113 GB, free: 32.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.731, allocations: 4 kB / 1.113 GB, free: 32.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/1.731, allocations: 0 / 1.113 GB, free: 32.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000404/1.732, allocations: 0.5591 MB / 1.114 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/1.732, allocations: 0.7251 MB / 1.115 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.732, allocations: 64 / 1.115 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.733, allocations: 71.89 kB / 1.115 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-05/1.733, allocations: 24.84 kB / 1.115 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/1.733, allocations: 11.98 kB / 1.115 GB, free: 30.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005948/1.733, allocations: 1.28 MB / 1.116 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.733, allocations: 4.031 kB / 1.116 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/1.734, allocations: 486.5 kB / 1.116 GB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/1.734, allocations: 100.8 kB / 1.116 GB, free: 28.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/1.734, allocations: 8 kB / 1.116 GB, free: 28.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/1.734, allocations: 15.98 kB / 1.116 GB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/1.735, allocations: 35.91 kB / 1.117 GB, free: 28.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/1.735, allocations: 31.98 kB / 1.117 GB, free: 28.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001605/1.735, allocations: 182 kB / 1.117 GB, free: 28.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.735, allocations: 0 / 1.117 GB, free: 28.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007771/1.736, allocations: 199.8 kB / 1.117 GB, free: 28.03 MB / 426.7 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 () * Number of clocked 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.001241/1.737, allocations: 0.7789 MB / 1.118 GB, free: 27.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006598/1.737, allocations: 370.4 kB / 1.118 GB, free: 26.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.738, allocations: 0 / 1.118 GB, free: 26.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/1.738, allocations: 239.3 kB / 1.118 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/1.739, allocations: 164.3 kB / 1.118 GB, free: 26.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.74, allocations: 0.8531 MB / 1.119 GB, free: 25.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/1.74, allocations: 0.757 MB / 1.12 GB, free: 24.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/1.74, allocations: 79.41 kB / 1.12 GB, free: 24.71 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/1.74, allocations: 0 / 1.12 GB, free: 24.71 MB / 426.7 MB Notification: Performance of Templates: time 0.01531/1.756, allocations: 11.29 MB / 1.131 GB, free: 13.42 MB / 426.7 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