Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 118.1 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 194.4 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 70.03 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3605/0.4691, allocations: 136.2 MB / 0.6215 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.4741, allocations: 4.706 MB / 0.6261 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.4743, allocations: 0 / 0.6261 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.4747, allocations: 59.58 kB / 0.6262 GB, free: 13.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.4765, allocations: 0.7228 MB / 0.6269 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.4768, allocations: 171.7 kB / 0.6271 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.4773, allocations: 378.1 kB / 0.6274 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.4774, allocations: 9.688 kB / 0.6274 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.4776, allocations: 155.5 kB / 0.6276 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.4779, allocations: 187.4 kB / 0.6278 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.4779, allocations: 12 kB / 0.6278 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.4791, allocations: 0.6785 MB / 0.6284 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.4792, allocations: 47.75 kB / 0.6285 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.4793, allocations: 111.5 kB / 0.6286 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006889/0.48, allocations: 453.5 kB / 0.629 GB, free: 10.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.48, allocations: 8 kB / 0.629 GB, free: 10.77 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.48, allocations: 0 / 0.629 GB, free: 10.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.48, allocations: 0 / 0.629 GB, free: 10.77 MB / 478.1 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.001039/0.4811, allocations: 0.5965 MB / 0.6296 GB, free: 10.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4811, allocations: 11.89 kB / 0.6296 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.4813, allocations: 32.64 kB / 0.6296 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.4816, allocations: 228.1 kB / 0.6299 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4818, allocations: 123.9 kB / 0.63 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4818, allocations: 24.56 kB / 0.63 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.4823, allocations: 326.7 kB / 0.6303 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4823, allocations: 4 kB / 0.6303 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.4823, allocations: 12 kB / 0.6303 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.4824, allocations: 8 kB / 0.6303 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.4831, allocations: 0.7352 MB / 0.6311 GB, free: 8.547 MB / 478.1 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.001387/0.4845, allocations: 1.226 MB / 0.6323 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.4849, allocations: 171.7 kB / 0.6324 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4851, allocations: 93.48 kB / 0.6325 GB, free: 6.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002502/0.4876, allocations: 2.703 MB / 0.6352 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4876, allocations: 38.5 kB / 0.6352 GB, free: 3.676 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.4877, allocations: 0 / 0.6352 GB, free: 3.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006704/0.4883, allocations: 216.8 kB / 0.6354 GB, free: 3.457 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.4884, allocations: 55.34 kB / 0.6354 GB, free: 3.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4886, allocations: 222.8 kB / 0.6357 GB, free: 3.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4886, allocations: 29.7 kB / 0.6357 GB, free: 3.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.4887, allocations: 210.8 kB / 0.6359 GB, free: 2.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.4888, allocations: 51.3 kB / 0.6359 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.4889, allocations: 85.94 kB / 0.636 GB, free: 2.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.489, allocations: 334.8 kB / 0.6363 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.4891, allocations: 56.78 kB / 0.6364 GB, free: 2.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.4893, allocations: 328 kB / 0.6367 GB, free: 1.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.4897, allocations: 422.1 kB / 0.6371 GB, free: 1.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4897, allocations: 4 kB / 0.6371 GB, free: 1.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005214/0.4903, allocations: 387.1 kB / 0.6375 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4903, allocations: 12 kB / 0.6375 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4903, allocations: 8 kB / 0.6375 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4903, allocations: 12 kB / 0.6375 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4907, allocations: 119.7 kB / 0.6376 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.4907, allocations: 15.94 kB / 0.6376 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.4909, allocations: 20.44 kB / 0.6377 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.4909, allocations: 32 kB / 0.6377 GB, free: 0.7734 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.4911, allocations: 145.6 kB / 0.6378 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.4911, allocations: 19.81 kB / 0.6378 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4914, allocations: 155.8 kB / 0.638 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.4915, allocations: 11.88 kB / 0.638 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4915, allocations: 0 / 0.638 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4915, allocations: 0 / 0.638 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.492, allocations: 443.9 kB / 0.6384 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.492, allocations: 4 kB / 0.6384 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.4922, allocations: 23.98 kB / 0.6385 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4922, allocations: 4 kB / 0.6385 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4922, allocations: 4.062 kB / 0.6385 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4923, allocations: 7.922 kB / 0.6385 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4923, allocations: 4 kB / 0.6385 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.4925, allocations: 217 kB / 0.6387 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.4926, allocations: 100.9 kB / 0.6388 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.4926, allocations: 7.906 kB / 0.6388 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.4928, allocations: 15.98 kB / 0.6388 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.4929, allocations: 7.984 kB / 0.6388 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4929, allocations: 4 kB / 0.6388 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.493, allocations: 152.5 kB / 0.639 GB, free: 15.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.493, allocations: 0 / 0.639 GB, free: 15.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.4935, allocations: 91.94 kB / 0.639 GB, free: 15.26 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002592/0.4938, allocations: 167 kB / 0.6392 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.4941, allocations: 181.5 kB / 0.6394 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4941, allocations: 0 / 0.6394 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.4941, allocations: 37.22 kB / 0.6394 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.4946, allocations: 56.02 kB / 0.6395 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.4954, allocations: 497.4 kB / 0.6399 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4957, allocations: 0.7285 MB / 0.6407 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.4958, allocations: 35.42 kB / 0.6407 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4958, allocations: 0 / 0.6407 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Templates: time 0.005115/0.5009, allocations: 3.308 MB / 0.6439 GB, free: 10.22 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches