Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 174.2 kB / 16.58 MB, free: 6.844 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.903/1.903, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4397/0.4397, allocations: 43.58 MB / 314.6 MB, free: 8.734 MB / 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.0005717/0.0005717, allocations: 12 kB / 384 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1448, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01652/0.1614, allocations: 12.8 MB / 455.6 MB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3177/0.4792, allocations: 24.6 MB / 480.2 MB, free: 28.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003934/0.4797, allocations: 3.938 kB / 480.2 MB, free: 28.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.4801, allocations: 77.36 kB / 480.3 MB, free: 28.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03007/0.5102, allocations: 6.555 MB / 486.9 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.5116, allocations: 302.5 kB / 487.1 MB, free: 25.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007318/0.5189, allocations: 3.204 MB / 490.4 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.5191, allocations: 16.56 kB / 490.4 MB, free: 25.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.5198, allocations: 242.8 kB / 490.6 MB, free: 25.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/0.5313, allocations: 5.67 MB / 496.3 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.5315, allocations: 11.88 kB / 496.3 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02889/0.5604, allocations: 11.08 MB / 0.4955 GB, free: 21.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.5606, allocations: 53.23 kB / 0.4955 GB, free: 21.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.5609, allocations: 79.86 kB / 0.4956 GB, free: 21.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.5742, allocations: 4.504 MB / 0.5 GB, free: 19.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.5743, allocations: 1 kB / 0.5 GB, free: 19.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5743, allocations: 0 / 0.5 GB, free: 19.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.5743, allocations: 0 / 0.5 GB, free: 19.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007587/0.5819, allocations: 1.548 MB / 0.5015 GB, free: 18.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.582, allocations: 9.438 kB / 0.5015 GB, free: 18.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.584, allocations: 191.5 kB / 0.5017 GB, free: 18.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.5848, allocations: 268.9 kB / 0.502 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.5849, allocations: 20.62 kB / 0.502 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.585, allocations: 33.66 kB / 0.502 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.5875, allocations: 0.756 MB / 0.5027 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.5875, allocations: 2.969 kB / 0.5028 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.5876, allocations: 14.77 kB / 0.5028 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5876, allocations: 10.78 kB / 0.5028 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.5896, allocations: 0.8195 MB / 0.5036 GB, free: 17.54 MB / 382.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.00439/0.594, allocations: 2.711 MB / 0.5062 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.5953, allocations: 352.5 kB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.5955, allocations: 71.55 kB / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6403/1.236, allocations: 142.5 MB / 0.6457 GB, free: 165.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/1.237, allocations: 444.5 kB / 0.6462 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 4.498e-06/1.237, allocations: 0 / 0.6462 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00412/1.242, allocations: 1.124 MB / 0.6473 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.242, allocations: 375.6 kB / 0.6476 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/1.242, allocations: 184.9 kB / 0.6478 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/1.242, allocations: 29.2 kB / 0.6478 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/1.242, allocations: 189.7 kB / 0.648 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/1.242, allocations: 116 kB / 0.6481 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/1.242, allocations: 10.66 kB / 0.6481 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.242, allocations: 332.6 kB / 0.6484 GB, free: 164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.242, allocations: 80.42 kB / 0.6485 GB, free: 164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/1.243, allocations: 340 kB / 0.6488 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/1.243, allocations: 130.2 kB / 0.649 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.243, allocations: 3.188 kB / 0.649 GB, free: 163.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007849/1.244, allocations: 462.3 kB / 0.6494 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.244, allocations: 9.562 kB / 0.6494 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.244, allocations: 9.25 kB / 0.6494 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/1.244, allocations: 15.16 kB / 0.6494 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.245, allocations: 210 kB / 0.6496 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004594/1.246, allocations: 1.189 MB / 0.6508 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/1.246, allocations: 23.12 kB / 0.6508 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/1.246, allocations: 46.12 kB / 0.6509 GB, free: 162.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/1.246, allocations: 166.7 kB / 0.651 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/1.246, allocations: 30.31 kB / 0.6511 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/1.25, allocations: 2.875 MB / 0.6539 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/1.25, allocations: 21.94 kB / 0.6539 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.25, allocations: 10.97 kB / 0.6539 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.25, allocations: 6.312 kB / 0.6539 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.251, allocations: 0.9647 MB / 0.6549 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.251, allocations: 3.156 kB / 0.6549 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/1.252, allocations: 104.1 kB / 0.655 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/1.252, allocations: 162.3 kB / 0.6551 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/1.252, allocations: 12.97 kB / 0.6551 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/1.252, allocations: 0.6482 MB / 0.6558 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.252, allocations: 3.031 kB / 0.6558 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.254, allocations: 0.9679 MB / 0.6567 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/1.254, allocations: 350.7 kB / 0.657 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.254, allocations: 13.94 kB / 0.6571 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/1.255, allocations: 20.22 kB / 0.6571 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/1.255, allocations: 29.45 kB / 0.6571 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/1.255, allocations: 25.53 kB / 0.6571 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005798/1.255, allocations: 463.8 kB / 0.6576 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.255, allocations: 3.406 kB / 0.6576 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0102/1.265, allocations: 1.621 MB / 0.6592 GB, free: 160.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01435/1.28, allocations: 1.863 MB / 0.661 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001946/1.282, allocations: 0.5238 MB / 0.6615 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.282, allocations: 2.812 kB / 0.6615 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/1.282, allocations: 362.9 kB / 0.6618 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.284, allocations: 130.2 kB / 0.662 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.013/2.297, allocations: 347.7 MB / 1.001 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/2.298, allocations: 0.9792 MB / 1.002 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001378/2.299, allocations: 0.5016 MB / 1.003 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/2.3, allocations: 58.5 kB / 1.003 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.044e-06/2.3, allocations: 0 / 1.003 GB, free: 163.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1051/2.405, allocations: 59.03 MB / 1.061 GB, free: 134.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches