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.001725/0.001725, allocations: 115.6 kB / 17.08 MB, free: 6.012 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.002201/0.002201, allocations: 197.3 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.55/2.55, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2182/0.2182, allocations: 43.53 MB / 314.8 MB, free: 472 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.002336/0.002336, allocations: 63.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1419, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.05309/0.195, allocations: 26.82 MB / 0.5148 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.2017, allocations: 2.955 MB / 0.5177 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2019, allocations: 4 kB / 0.5177 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.2025, allocations: 55.59 kB / 0.5177 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.2059, allocations: 0.7188 MB / 0.5184 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.2066, allocations: 139.7 kB / 0.5185 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.2075, allocations: 370.1 kB / 0.5189 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.2076, allocations: 9.688 kB / 0.5189 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4435/0.6512, allocations: 15.46 MB / 0.534 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.6518, allocations: 152.9 kB / 0.5342 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.652, allocations: 9.375 kB / 0.5342 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.6657, allocations: 3.44 MB / 0.5375 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.6659, allocations: 44.38 kB / 0.5376 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.6663, allocations: 108.3 kB / 0.5377 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.6681, allocations: 471.8 kB / 0.5381 GB, free: 12.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6682, allocations: 0.6094 kB / 0.5381 GB, free: 12.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6682, allocations: 0 / 0.5381 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.6682, allocations: 0 / 0.5381 GB, free: 12.3 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.001646/0.6699, allocations: 0.5992 MB / 0.5387 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6699, allocations: 14.55 kB / 0.5387 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.6702, allocations: 25.78 kB / 0.5387 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.6707, allocations: 227.8 kB / 0.539 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.6708, allocations: 122.2 kB / 0.5391 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.6709, allocations: 21.72 kB / 0.5391 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.6718, allocations: 334.3 kB / 0.5394 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6718, allocations: 2.234 kB / 0.5394 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.6719, allocations: 10.75 kB / 0.5394 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.6719, allocations: 7.703 kB / 0.5394 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.6734, allocations: 0.7384 MB / 0.5402 GB, free: 11.46 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.001968/0.6754, allocations: 1.3 MB / 0.5414 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.676, allocations: 162 kB / 0.5416 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.6762, allocations: 89.23 kB / 0.5417 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003176/0.6794, allocations: 2.816 MB / 0.5444 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.6795, allocations: 37.61 kB / 0.5445 GB, free: 7.488 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.314e-06/0.6795, allocations: 0 / 0.5445 GB, free: 7.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004411/0.6799, allocations: 117.2 kB / 0.5446 GB, free: 7.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.68, allocations: 52.59 kB / 0.5446 GB, free: 7.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.6803, allocations: 224.5 kB / 0.5448 GB, free: 7.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.6803, allocations: 30.67 kB / 0.5449 GB, free: 7.238 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6804, allocations: 220.5 kB / 0.5451 GB, free: 7.055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.6805, allocations: 43.36 kB / 0.5451 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.6807, allocations: 87.53 kB / 0.5452 GB, free: 7.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.6807, allocations: 326.2 kB / 0.5455 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.6809, allocations: 51.53 kB / 0.5456 GB, free: 6.695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.6812, allocations: 343.4 kB / 0.5459 GB, free: 6.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.6818, allocations: 444.3 kB / 0.5463 GB, free: 5.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.6818, allocations: 7.281 kB / 0.5463 GB, free: 5.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000929/0.6828, allocations: 374.9 kB / 0.5467 GB, free: 5.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.6828, allocations: 13.38 kB / 0.5467 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.6829, allocations: 10.91 kB / 0.5467 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/0.6829, allocations: 17.84 kB / 0.5467 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.6834, allocations: 101.3 kB / 0.5468 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-05/0.6834, allocations: 19.12 kB / 0.5468 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.6839, allocations: 53.97 kB / 0.5469 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.684, allocations: 29.47 kB / 0.5469 GB, free: 5.824 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.000152/0.6842, allocations: 154.2 kB / 0.547 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.6843, allocations: 16.38 kB / 0.5471 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.6847, allocations: 148.5 kB / 0.5472 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.6847, allocations: 6.781 kB / 0.5472 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6847, allocations: 0.6562 kB / 0.5472 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.6847, allocations: 4 kB / 0.5472 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.6854, allocations: 407.9 kB / 0.5476 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6854, allocations: 1.125 kB / 0.5476 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.6855, allocations: 16.2 kB / 0.5476 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6855, allocations: 1.906 kB / 0.5476 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6856, allocations: 4.5 kB / 0.5476 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6856, allocations: 0 / 0.5476 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6856, allocations: 4.75 kB / 0.5476 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.6859, allocations: 204.1 kB / 0.5478 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.686, allocations: 95.33 kB / 0.5479 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.6861, allocations: 16.03 kB / 0.5479 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.6864, allocations: 9.531 kB / 0.5479 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.6864, allocations: 10.3 kB / 0.548 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.6865, allocations: 4.672 kB / 0.548 GB, free: 5.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.6867, allocations: 156 kB / 0.5481 GB, free: 4.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6867, allocations: 0 / 0.5481 GB, free: 4.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009957/0.6877, allocations: 89.64 kB / 0.5482 GB, free: 4.941 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.0004249/0.6882, allocations: 167 kB / 0.5484 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.6888, allocations: 173.2 kB / 0.5485 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6889, allocations: 1.5 kB / 0.5485 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.689, allocations: 25.28 kB / 0.5485 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.6897, allocations: 56.91 kB / 0.5486 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.6913, allocations: 0.5572 MB / 0.5491 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.6915, allocations: 0.7223 MB / 0.5498 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.6916, allocations: 32.61 kB / 0.5499 GB, free: 3.852 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6916, allocations: 0 / 0.5499 GB, free: 3.852 MB / 414.1 MB Notification: Performance of Templates: time 0.01167/0.7033, allocations: 3.377 MB / 0.5532 GB, free: 3.484 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/jenkins1/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/jenkins1/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