Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.417/1.417, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008878/0.0008877, allocations: 88.91 kB / 270.9 MB, free: 8.355 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.3775/0.3775, allocations: 43.56 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.451/0.5855, allocations: 123.2 MB / 0.5991 GB, free: 10.56 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.5911, allocations: 4.349 MB / 0.6034 GB, free: 7.164 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.5913, allocations: 5.406 kB / 0.6034 GB, free: 7.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.5916, allocations: 53.66 kB / 0.6034 GB, free: 7.113 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.5934, allocations: 0.5829 MB / 0.604 GB, free: 6.582 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.5939, allocations: 156.4 kB / 0.6041 GB, free: 6.438 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.5944, allocations: 390.1 kB / 0.6045 GB, free: 6.055 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.5945, allocations: 17.67 kB / 0.6045 GB, free: 6.039 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.5947, allocations: 147.5 kB / 0.6047 GB, free: 5.895 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.595, allocations: 191.4 kB / 0.6048 GB, free: 5.707 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.595, allocations: 8 kB / 0.6048 GB, free: 5.699 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.5963, allocations: 0.5965 MB / 0.6054 GB, free: 5.102 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.5964, allocations: 43.81 kB / 0.6055 GB, free: 5.059 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.5965, allocations: 61.64 kB / 0.6055 GB, free: 4.992 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.597, allocations: 301 kB / 0.6058 GB, free: 4.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.597, allocations: 0 / 0.6058 GB, free: 4.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.597, allocations: 0 / 0.6058 GB, free: 4.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.597, allocations: 4 kB / 0.6058 GB, free: 4.695 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001106/0.5981, allocations: 0.5457 MB / 0.6064 GB, free: 4.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5982, allocations: 8.031 kB / 0.6064 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.5983, allocations: 27.72 kB / 0.6064 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.5986, allocations: 222.8 kB / 0.6066 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.5988, allocations: 127.4 kB / 0.6067 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.5988, allocations: 24 kB / 0.6067 GB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.5993, allocations: 318.8 kB / 0.607 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5994, allocations: 3.438 kB / 0.6071 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5994, allocations: 12 kB / 0.6071 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.5994, allocations: 4 kB / 0.6071 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.6003, allocations: 0.7391 MB / 0.6078 GB, free: 2.555 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.001464/0.6017, allocations: 1.231 MB / 0.609 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.6022, allocations: 175.7 kB / 0.6092 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.6023, allocations: 85.48 kB / 0.6092 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002313/0.6046, allocations: 2.692 MB / 0.6119 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6047, allocations: 42.52 kB / 0.6119 GB, free: 13.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.6047, allocations: 0 / 0.6119 GB, free: 13.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006246/0.6053, allocations: 216 kB / 0.6121 GB, free: 13.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6054, allocations: 51.41 kB / 0.6122 GB, free: 13.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.6056, allocations: 214.9 kB / 0.6124 GB, free: 13.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6056, allocations: 29.7 kB / 0.6124 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.6057, allocations: 214.8 kB / 0.6126 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.6058, allocations: 51.34 kB / 0.6127 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.6058, allocations: 12 kB / 0.6127 GB, free: 12.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.606, allocations: 330.8 kB / 0.613 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.6061, allocations: 52.72 kB / 0.613 GB, free: 12.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.6064, allocations: 328 kB / 0.6133 GB, free: 12.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.6065, allocations: 103.8 kB / 0.6134 GB, free: 11.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6065, allocations: 4 kB / 0.6134 GB, free: 11.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005488/0.6071, allocations: 374.8 kB / 0.6138 GB, free: 11.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6071, allocations: 11.95 kB / 0.6138 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6071, allocations: 12.91 kB / 0.6138 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.6072, allocations: 12 kB / 0.6138 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.6075, allocations: 112.7 kB / 0.6139 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.6076, allocations: 19.92 kB / 0.614 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.6078, allocations: 23.94 kB / 0.614 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.6078, allocations: 28 kB / 0.614 GB, free: 11.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.608, allocations: 153.6 kB / 0.6142 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.6081, allocations: 23.72 kB / 0.6142 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.6084, allocations: 156 kB / 0.6143 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.6084, allocations: 7.984 kB / 0.6143 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6084, allocations: 1.688 kB / 0.6143 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6084, allocations: 3.984 kB / 0.6143 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.609, allocations: 440 kB / 0.6148 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.609, allocations: 3.953 kB / 0.6148 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.6092, allocations: 27.98 kB / 0.6148 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6092, allocations: 0 / 0.6148 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.6092, allocations: 8 kB / 0.6148 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.6092, allocations: 3.938 kB / 0.6148 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6092, allocations: 0 / 0.6148 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.6095, allocations: 229 kB / 0.615 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6096, allocations: 100.9 kB / 0.6151 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.6097, allocations: 7.984 kB / 0.6151 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.61, allocations: 11.12 kB / 0.6151 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.61, allocations: 11.98 kB / 0.6151 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.61, allocations: 7.984 kB / 0.6152 GB, free: 10.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.6102, allocations: 148.5 kB / 0.6153 GB, free: 9.922 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6102, allocations: 0 / 0.6153 GB, free: 9.922 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.6107, allocations: 95.98 kB / 0.6154 GB, free: 9.828 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/0.6109, allocations: 143.2 kB / 0.6155 GB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.6113, allocations: 186 kB / 0.6157 GB, free: 9.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6113, allocations: 0 / 0.6157 GB, free: 9.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.6114, allocations: 35.92 kB / 0.6157 GB, free: 9.465 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.6118, allocations: 48.22 kB / 0.6158 GB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.6129, allocations: 0.606 MB / 0.6164 GB, free: 8.781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.6133, allocations: 0.7287 MB / 0.6171 GB, free: 8.027 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.6134, allocations: 35.42 kB / 0.6171 GB, free: 7.992 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6134, allocations: 0 / 0.6171 GB, free: 7.992 MB / 442.7 MB Notification: Performance of Templates: time 0.006887/0.6203, allocations: 3.159 MB / 0.6202 GB, free: 4.848 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches