Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 112.3 kB / 16.41 MB, free: 6.027 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.001474/0.001475, allocations: 185.1 kB / 17.34 MB, free: 5.633 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.492/1.492, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2229/0.2229, allocations: 43.52 MB / 314.1 MB, free: 460 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.001383/0.001383, allocations: 63.91 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1406, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03427/0.175, allocations: 26.82 MB / 0.5141 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.1788, allocations: 2.959 MB / 0.517 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.1791, allocations: 4 kB / 0.517 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.1795, allocations: 51.61 kB / 0.5171 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.182, allocations: 0.7227 MB / 0.5178 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1824, allocations: 135.7 kB / 0.5179 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.183, allocations: 370.1 kB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.1831, allocations: 17.67 kB / 0.5183 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3946/0.5776, allocations: 15.46 MB / 0.5334 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.5783, allocations: 151.6 kB / 0.5335 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.5783, allocations: 7.906 kB / 0.5335 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.5899, allocations: 3.439 MB / 0.5369 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.5901, allocations: 44.36 kB / 0.5369 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.5904, allocations: 109.1 kB / 0.537 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.5917, allocations: 471.9 kB / 0.5375 GB, free: 12.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5918, allocations: 0 / 0.5375 GB, free: 12.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.5918, allocations: 1.219 kB / 0.5375 GB, free: 12.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.5918, allocations: 0 / 0.5375 GB, free: 12.84 MB / 414.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.001448/0.5933, allocations: 0.6013 MB / 0.5381 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.5933, allocations: 13.55 kB / 0.5381 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.5935, allocations: 25.67 kB / 0.5381 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.5939, allocations: 227.9 kB / 0.5383 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.594, allocations: 123.3 kB / 0.5384 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.5941, allocations: 22.5 kB / 0.5384 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.5947, allocations: 328.8 kB / 0.5388 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5947, allocations: 0 / 0.5388 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.5947, allocations: 10.28 kB / 0.5388 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.5948, allocations: 11.11 kB / 0.5388 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.596, allocations: 0.7337 MB / 0.5395 GB, free: 11.99 MB / 414.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.001474/0.5974, allocations: 1.308 MB / 0.5408 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.5979, allocations: 160.4 kB / 0.5409 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.5981, allocations: 88.39 kB / 0.541 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.6005, allocations: 2.814 MB / 0.5438 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.6005, allocations: 36.16 kB / 0.5438 GB, free: 8.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 3.747e-06/0.6005, allocations: 1.781 kB / 0.5438 GB, free: 8.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003795/0.6009, allocations: 120.3 kB / 0.5439 GB, free: 7.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.601, allocations: 56.78 kB / 0.544 GB, free: 7.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.6013, allocations: 220.5 kB / 0.5442 GB, free: 7.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.6013, allocations: 27.36 kB / 0.5442 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.6015, allocations: 218.6 kB / 0.5444 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.6015, allocations: 45.64 kB / 0.5445 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.6017, allocations: 87.03 kB / 0.5445 GB, free: 7.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6018, allocations: 326.4 kB / 0.5448 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6019, allocations: 49.19 kB / 0.5449 GB, free: 7.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.6022, allocations: 342 kB / 0.5452 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.6027, allocations: 445 kB / 0.5456 GB, free: 6.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.6027, allocations: 6.094 kB / 0.5457 GB, free: 6.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006167/0.6033, allocations: 379.2 kB / 0.546 GB, free: 6.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.6033, allocations: 10.12 kB / 0.546 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.6034, allocations: 14.81 kB / 0.546 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.727e-05/0.6034, allocations: 18.28 kB / 0.5461 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.6037, allocations: 101.3 kB / 0.5462 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.978e-05/0.6038, allocations: 23.09 kB / 0.5462 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.604, allocations: 53.97 kB / 0.5462 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.6041, allocations: 29.17 kB / 0.5463 GB, free: 6.352 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * 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.0001435/0.6043, allocations: 156.1 kB / 0.5464 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.6043, allocations: 15.7 kB / 0.5464 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.6047, allocations: 149.2 kB / 0.5466 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.6047, allocations: 6 kB / 0.5466 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6047, allocations: 2.531 kB / 0.5466 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6047, allocations: 1.797 kB / 0.5466 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.6052, allocations: 412.9 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6052, allocations: 1.562 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.6053, allocations: 12.31 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6053, allocations: 1.938 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6053, allocations: 1.812 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.6053, allocations: 2.375 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6053, allocations: 1.062 kB / 0.547 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.6056, allocations: 208.4 kB / 0.5472 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.6057, allocations: 96.45 kB / 0.5473 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.6057, allocations: 7.656 kB / 0.5473 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.6059, allocations: 9.703 kB / 0.5473 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.6059, allocations: 10.17 kB / 0.5473 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6059, allocations: 4.938 kB / 0.5473 GB, free: 5.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.6061, allocations: 154.7 kB / 0.5475 GB, free: 5.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6061, allocations: 0 / 0.5475 GB, free: 5.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006583/0.6068, allocations: 94.52 kB / 0.5475 GB, free: 5.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0004216/0.6072, allocations: 162.8 kB / 0.5477 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.6077, allocations: 174.6 kB / 0.5479 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6078, allocations: 0.5625 kB / 0.5479 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.6078, allocations: 28.11 kB / 0.5479 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.6083, allocations: 52.69 kB / 0.5479 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.6094, allocations: 0.5267 MB / 0.5485 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.6096, allocations: 0.7228 MB / 0.5492 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.6098, allocations: 60.31 kB / 0.5492 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.6098, allocations: 26.55 kB / 0.5492 GB, free: 4.391 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6098, allocations: 0 / 0.5492 GB, free: 4.391 MB / 414.1 MB Notification: Performance of Templates: time 0.008221/0.6181, allocations: 3.154 MB / 0.5523 GB, free: 4.055 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches