Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0008836/0.0008836, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.194/1.194, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0006913/0.0006913, allocations: 85.05 kB / 271.2 MB, free: 8.238 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.3138/0.3138, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3075/0.4114, allocations: 137.3 MB / 0.6134 GB, free: 13.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.4187, allocations: 6.454 MB / 0.6197 GB, free: 7.184 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.4189, allocations: 4 kB / 0.6197 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.4192, allocations: 47.72 kB / 0.6198 GB, free: 7.133 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.4227, allocations: 1.19 MB / 0.6209 GB, free: 5.945 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.423, allocations: 132.5 kB / 0.621 GB, free: 5.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.4235, allocations: 418 kB / 0.6214 GB, free: 5.414 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.4236, allocations: 16.61 kB / 0.6215 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.4239, allocations: 155.4 kB / 0.6216 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.4241, allocations: 183.4 kB / 0.6218 GB, free: 5.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.4242, allocations: 4 kB / 0.6218 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.4263, allocations: 1.119 MB / 0.6229 GB, free: 3.945 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.4264, allocations: 43.81 kB / 0.6229 GB, free: 3.902 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.4265, allocations: 129.3 kB / 0.623 GB, free: 3.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4276, allocations: 0.6643 MB / 0.6237 GB, free: 3.105 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4276, allocations: 0 / 0.6237 GB, free: 3.105 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4276, allocations: 0 / 0.6237 GB, free: 3.105 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4277, allocations: 3.938 kB / 0.6237 GB, free: 3.102 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001322/0.429, allocations: 0.6474 MB / 0.6243 GB, free: 2.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.429, allocations: 12.03 kB / 0.6243 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/0.4356, allocations: 0.5918 MB / 0.6249 GB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.4361, allocations: 264.2 kB / 0.6252 GB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.4362, allocations: 127.8 kB / 0.6253 GB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/0.4363, allocations: 20 kB / 0.6253 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.4374, allocations: 0.5595 MB / 0.6259 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4375, allocations: 0 / 0.6259 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.4375, allocations: 12 kB / 0.6259 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4376, allocations: 4 kB / 0.6259 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.4389, allocations: 0.6299 MB / 0.6265 GB, free: 116 kB / 442.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.002031/0.441, allocations: 1.639 MB / 0.6281 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.4413, allocations: 158.5 kB / 0.6282 GB, free: 14.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.4415, allocations: 72.83 kB / 0.6283 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.4428, allocations: 1.314 MB / 0.6296 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4428, allocations: 45.36 kB / 0.6296 GB, free: 12.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.4428, allocations: 0 / 0.6296 GB, free: 12.56 MB / 458.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.0009526/0.4438, allocations: 330.5 kB / 0.6299 GB, free: 12.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.4438, allocations: 55.34 kB / 0.63 GB, free: 12.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.444, allocations: 191.2 kB / 0.6302 GB, free: 11.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.444, allocations: 29.7 kB / 0.6302 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.4441, allocations: 183.3 kB / 0.6304 GB, free: 11.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.4442, allocations: 67.09 kB / 0.6304 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.4442, allocations: 8 kB / 0.6305 GB, free: 11.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4443, allocations: 330.8 kB / 0.6308 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4444, allocations: 60.72 kB / 0.6308 GB, free: 11.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4447, allocations: 271.7 kB / 0.6311 GB, free: 10.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.4452, allocations: 361.7 kB / 0.6314 GB, free: 10.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4452, allocations: 7.938 kB / 0.6314 GB, free: 10.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005828/0.4458, allocations: 365.6 kB / 0.6318 GB, free: 10.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4458, allocations: 9.562 kB / 0.6318 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4458, allocations: 8 kB / 0.6318 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4458, allocations: 12 kB / 0.6318 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.4462, allocations: 123.8 kB / 0.6319 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000324/0.4466, allocations: 0.6016 MB / 0.6325 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.4468, allocations: 51.69 kB / 0.6326 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.4469, allocations: 39.98 kB / 0.6326 GB, free: 9.246 MB / 458.7 MB 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.0001399/0.447, allocations: 149.6 kB / 0.6328 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.4471, allocations: 19.75 kB / 0.6328 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.4478, allocations: 296.5 kB / 0.6331 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4478, allocations: 0 / 0.6331 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4478, allocations: 4 kB / 0.6331 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4478, allocations: 0 / 0.6331 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.4485, allocations: 0.5186 MB / 0.6336 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4485, allocations: 7.938 kB / 0.6336 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.4487, allocations: 55.91 kB / 0.6336 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4487, allocations: 4 kB / 0.6336 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4487, allocations: 4 kB / 0.6336 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002896/0.449, allocations: 0.6055 MB / 0.6342 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.449, allocations: 0 / 0.6342 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.4494, allocations: 274.7 kB / 0.6345 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4495, allocations: 112.9 kB / 0.6346 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.4496, allocations: 7.938 kB / 0.6346 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4498, allocations: 15.98 kB / 0.6346 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.4498, allocations: 11.98 kB / 0.6346 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.4499, allocations: 19.98 kB / 0.6346 GB, free: 7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.45, allocations: 138.1 kB / 0.6348 GB, free: 6.867 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.45, allocations: 0 / 0.6348 GB, free: 6.867 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006468/0.4506, allocations: 196 kB / 0.635 GB, free: 6.676 MB / 458.7 MB 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 (15): * Single equations (assignments): 14 * 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.0007697/0.4514, allocations: 318.6 kB / 0.6353 GB, free: 6.367 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.4519, allocations: 220 kB / 0.6355 GB, free: 6.156 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4519, allocations: 4 kB / 0.6355 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.4521, allocations: 83.83 kB / 0.6356 GB, free: 6.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4526, allocations: 62.44 kB / 0.6356 GB, free: 6.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.4555, allocations: 2.056 MB / 0.6376 GB, free: 3.914 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4558, allocations: 0.7245 MB / 0.6383 GB, free: 3.164 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.4561, allocations: 71.33 kB / 0.6384 GB, free: 3.094 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4561, allocations: 3.938 kB / 0.6384 GB, free: 3.09 MB / 458.7 MB Notification: Performance of Templates: time 0.008524/0.4646, allocations: 5.653 MB / 0.6439 GB, free: 13.44 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches