Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009096/0.0009097, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.506/1.506, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.001001/0.001001, allocations: 89.34 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3919/0.3919, allocations: 43.56 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 12 kB / 432.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 58.84 MB / 491.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.483, allocations: 0.5964 GB / 1.076 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/1.483, allocations: 76.25 kB / 1.076 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3958/1.879, allocations: 61.11 MB / 1.136 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.234e-06/1.879, allocations: 0 / 1.136 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.484e-05/1.879, allocations: 3.906 kB / 1.136 GB, free: 163.7 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001698/1.88, allocations: 0.7151 MB / 1.137 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.88, allocations: 7.688 kB / 1.137 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/1.887, allocations: 0.5957 MB / 1.137 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/1.887, allocations: 265.2 kB / 1.138 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/1.887, allocations: 123.2 kB / 1.138 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/1.887, allocations: 26.97 kB / 1.138 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/1.888, allocations: 0.5576 MB / 1.138 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.888, allocations: 3.938 kB / 1.138 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/1.889, allocations: 7.812 kB / 1.138 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.889, allocations: 15.58 kB / 1.138 GB, free: 162 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/1.89, allocations: 0.6019 MB / 1.139 GB, free: 161.7 MB / 0.5105 GB 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.001735/1.891, allocations: 1.637 MB / 1.141 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/1.892, allocations: 153.4 kB / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/1.892, allocations: 80.05 kB / 1.141 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/1.893, allocations: 1.315 MB / 1.142 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.893, allocations: 34.56 kB / 1.142 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.417e-06/1.893, allocations: 0 / 1.142 GB, free: 158.7 MB / 0.5105 GB 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.0009344/1.894, allocations: 336.5 kB / 1.142 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.894, allocations: 55.34 kB / 1.142 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/1.894, allocations: 187.3 kB / 1.143 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.894, allocations: 29.7 kB / 1.143 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/1.894, allocations: 191.2 kB / 1.143 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/1.894, allocations: 63.09 kB / 1.143 GB, free: 158 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/1.894, allocations: 12 kB / 1.143 GB, free: 158 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/1.894, allocations: 330.8 kB / 1.143 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/1.895, allocations: 60.7 kB / 1.143 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/1.895, allocations: 275.7 kB / 1.144 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/1.895, allocations: 360.8 kB / 1.144 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.895, allocations: 4 kB / 1.144 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000495/1.896, allocations: 361 kB / 1.144 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.896, allocations: 8 kB / 1.144 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.896, allocations: 11.98 kB / 1.144 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/1.896, allocations: 15.94 kB / 1.144 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/1.896, allocations: 120.4 kB / 1.144 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002514/1.896, allocations: 0.6133 MB / 1.145 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.897, allocations: 47.53 kB / 1.145 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/1.897, allocations: 43.98 kB / 1.145 GB, free: 155.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.897, allocations: 145.6 kB / 1.145 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/1.897, allocations: 15.81 kB / 1.145 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/1.897, allocations: 291.7 kB / 1.145 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.897, allocations: 7.938 kB / 1.145 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.898, allocations: 4 kB / 1.145 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.898, allocations: 0 / 1.145 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/1.898, allocations: 0.5376 MB / 1.146 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.898, allocations: 4 kB / 1.146 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/1.898, allocations: 63.89 kB / 1.146 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.898, allocations: 4.125 kB / 1.146 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/1.898, allocations: 12 kB / 1.146 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001946/1.899, allocations: 0.5899 MB / 1.147 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.899, allocations: 0 / 1.147 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/1.899, allocations: 282.7 kB / 1.147 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/1.899, allocations: 116.9 kB / 1.147 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/1.899, allocations: 4 kB / 1.147 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/1.899, allocations: 11.98 kB / 1.147 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/1.899, allocations: 19.92 kB / 1.147 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.899, allocations: 27.98 kB / 1.147 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.86e-05/1.899, allocations: 131 kB / 1.147 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.899, allocations: 0 / 1.147 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001057/1.9, allocations: 247.6 kB / 1.147 GB, free: 152.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/1.902, allocations: 0.7289 MB / 1.148 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004735/1.902, allocations: 226.6 kB / 1.148 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.902, allocations: 4.062 kB / 1.148 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.902, allocations: 91.81 kB / 1.148 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/1.903, allocations: 52.12 kB / 1.149 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04076/1.943, allocations: 23.46 MB / 1.171 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/1.944, allocations: 0.7248 MB / 1.172 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006472/1.944, allocations: 110.2 kB / 1.172 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.944, allocations: 43.42 kB / 1.172 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.041e-06/1.945, allocations: 3.938 kB / 1.172 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01542/1.96, allocations: 12.22 MB / 1.184 GB, free: 115.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches