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.001649/0.001649, allocations: 116.2 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.002058/0.002058, allocations: 195 kB / 18.01 MB, free: 5.094 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.479/1.479, 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.2006/0.2006, 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.001444/0.001444, allocations: 63.91 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1124, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03267/0.1451, allocations: 26.82 MB / 0.5148 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.1486, allocations: 2.963 MB / 0.5177 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1488, allocations: 4 kB / 0.5177 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.1492, allocations: 55.59 kB / 0.5177 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.1513, allocations: 0.7149 MB / 0.5184 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1517, allocations: 139.7 kB / 0.5185 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.1524, allocations: 370.1 kB / 0.5189 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.236e-05/0.1525, allocations: 9.688 kB / 0.5189 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.268/0.4206, allocations: 15.46 MB / 0.534 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.421, allocations: 153 kB / 0.5342 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.4211, allocations: 8.188 kB / 0.5342 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008177/0.4293, allocations: 3.445 MB / 0.5375 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4294, allocations: 42.05 kB / 0.5376 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.4296, allocations: 106.9 kB / 0.5377 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.4306, allocations: 467.8 kB / 0.5381 GB, free: 12.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4306, allocations: 1.844 kB / 0.5381 GB, free: 12.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4306, allocations: 0 / 0.5381 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4306, allocations: 0 / 0.5381 GB, free: 12.17 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.001141/0.4318, allocations: 0.6033 MB / 0.5387 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4318, allocations: 13.77 kB / 0.5387 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.432, allocations: 28.47 kB / 0.5387 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.4323, allocations: 223 kB / 0.539 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.4324, allocations: 122.5 kB / 0.5391 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.4325, allocations: 25.25 kB / 0.5391 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.433, allocations: 327.1 kB / 0.5394 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.433, allocations: 5.25 kB / 0.5394 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.433, allocations: 13.47 kB / 0.5394 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.4331, allocations: 5.922 kB / 0.5394 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.434, allocations: 0.7375 MB / 0.5402 GB, free: 11.32 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.001218/0.4352, allocations: 1.302 MB / 0.5414 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.4356, allocations: 167.2 kB / 0.5416 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.4357, allocations: 83.72 kB / 0.5417 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/0.4377, allocations: 2.812 MB / 0.5444 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4377, allocations: 37.67 kB / 0.5444 GB, free: 7.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.4377, allocations: 0 / 0.5444 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003103/0.438, allocations: 117.6 kB / 0.5446 GB, free: 7.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.4381, allocations: 53.91 kB / 0.5446 GB, free: 7.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4383, allocations: 220.1 kB / 0.5448 GB, free: 7.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4383, allocations: 30.64 kB / 0.5448 GB, free: 7.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4385, allocations: 224.5 kB / 0.5451 GB, free: 6.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4385, allocations: 39.36 kB / 0.5451 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4386, allocations: 90.42 kB / 0.5452 GB, free: 6.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.4387, allocations: 328.5 kB / 0.5455 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.4388, allocations: 44.58 kB / 0.5455 GB, free: 6.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.439, allocations: 346 kB / 0.5459 GB, free: 6.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.4393, allocations: 452.4 kB / 0.5463 GB, free: 5.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4393, allocations: 7.844 kB / 0.5463 GB, free: 5.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005551/0.4399, allocations: 376.7 kB / 0.5467 GB, free: 5.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4399, allocations: 14.28 kB / 0.5467 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.4399, allocations: 10.38 kB / 0.5467 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.44, allocations: 18.52 kB / 0.5467 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.4402, allocations: 94.38 kB / 0.5468 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.4403, allocations: 22.94 kB / 0.5468 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.4405, allocations: 53.03 kB / 0.5469 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.4406, allocations: 29.53 kB / 0.5469 GB, free: 5.691 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.0001091/0.4407, allocations: 150.1 kB / 0.547 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.4407, allocations: 25.59 kB / 0.5471 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.441, allocations: 147.5 kB / 0.5472 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.441, allocations: 1.094 kB / 0.5472 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4411, allocations: 1.641 kB / 0.5472 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4411, allocations: 4.75 kB / 0.5472 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.4415, allocations: 411.9 kB / 0.5476 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4415, allocations: 1.406 kB / 0.5476 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.4415, allocations: 13.67 kB / 0.5476 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4416, allocations: 0 / 0.5476 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4416, allocations: 5.969 kB / 0.5476 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4416, allocations: 2.438 kB / 0.5476 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4416, allocations: 5.125 kB / 0.5476 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.4417, allocations: 206.6 kB / 0.5478 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.4418, allocations: 97.89 kB / 0.5479 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.4419, allocations: 11.84 kB / 0.5479 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.442, allocations: 7.969 kB / 0.5479 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.442, allocations: 9.938 kB / 0.548 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.4421, allocations: 4.266 kB / 0.548 GB, free: 4.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.4422, allocations: 157.3 kB / 0.5481 GB, free: 4.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4422, allocations: 0 / 0.5481 GB, free: 4.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.4428, allocations: 86.38 kB / 0.5482 GB, free: 4.805 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.0003182/0.4432, allocations: 163.6 kB / 0.5483 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.4436, allocations: 173.7 kB / 0.5485 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4436, allocations: 1.531 kB / 0.5485 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.4436, allocations: 33.42 kB / 0.5485 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.4441, allocations: 52.22 kB / 0.5486 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4452, allocations: 0.5492 MB / 0.5491 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4454, allocations: 0.7225 MB / 0.5498 GB, free: 3.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.4455, allocations: 35.41 kB / 0.5499 GB, free: 3.719 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4455, allocations: 0 / 0.5499 GB, free: 3.719 MB / 414.1 MB Notification: Performance of Templates: time 0.007324/0.4528, allocations: 3.357 MB / 0.5532 GB, free: 3.352 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