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.001183/0.001183, allocations: 96.75 kB / 15.69 MB, free: 480 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.001528/0.001528, allocations: 169.7 kB / 16.57 MB, free: 6.387 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.455/1.455, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3704/0.3704, allocations: 43.54 MB / 314.5 MB, free: 8.738 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.0005555/0.0005558, allocations: 14.66 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01559/0.1512, allocations: 11.81 MB / 454.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2573/0.4085, allocations: 22.39 MB / 476.9 MB, free: 31.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.4088, allocations: 0 / 476.9 MB, free: 31.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.4091, allocations: 82.88 kB / 477 MB, free: 31.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02182/0.431, allocations: 6.7 MB / 483.7 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4321, allocations: 312 kB / 484 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.4368, allocations: 3.04 MB / 487.1 MB, free: 27.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.4369, allocations: 24.48 kB / 487.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.4374, allocations: 273.5 kB / 487.4 MB, free: 27.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008741/0.4462, allocations: 5.558 MB / 492.9 MB, free: 26.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.4463, allocations: 11.67 kB / 492.9 MB, free: 26.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/0.474, allocations: 11.45 MB / 0.4926 GB, free: 24.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4742, allocations: 49.03 kB / 0.4926 GB, free: 24.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.4744, allocations: 75.02 kB / 0.4927 GB, free: 24.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4874, allocations: 4.492 MB / 0.4971 GB, free: 22.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4874, allocations: 0 / 0.4971 GB, free: 22.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4875, allocations: 0 / 0.4971 GB, free: 22.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.4875, allocations: 0.7812 kB / 0.4971 GB, free: 22.36 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.007214/0.4947, allocations: 1.549 MB / 0.4986 GB, free: 21.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4947, allocations: 8.688 kB / 0.4986 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.4962, allocations: 189.8 kB / 0.4988 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.4966, allocations: 273.3 kB / 0.499 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.4967, allocations: 22.94 kB / 0.499 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.4967, allocations: 31.06 kB / 0.4991 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.4986, allocations: 0.748 MB / 0.4998 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4986, allocations: 0 / 0.4998 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.526e-05/0.4987, allocations: 19.2 kB / 0.4998 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4987, allocations: 8.156 kB / 0.4998 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.5005, allocations: 0.8123 MB / 0.5006 GB, free: 20 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.003098/0.5036, allocations: 2.725 MB / 0.5033 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.5046, allocations: 352.1 kB / 0.5036 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6011/1.106, allocations: 142.5 MB / 0.6428 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/1.107, allocations: 445.8 kB / 0.6432 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.933e-06/1.107, allocations: 0 / 0.6432 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.003548/1.111, allocations: 1.121 MB / 0.6443 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/1.111, allocations: 375 kB / 0.6446 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.111, allocations: 180.3 kB / 0.6448 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.111, allocations: 28.08 kB / 0.6448 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/1.111, allocations: 191.9 kB / 0.645 GB, free: 166 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.722e-05/1.111, allocations: 110.4 kB / 0.6451 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/1.111, allocations: 17.25 kB / 0.6451 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/1.111, allocations: 331.4 kB / 0.6455 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.111, allocations: 88.56 kB / 0.6455 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/1.112, allocations: 338.4 kB / 0.6459 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/1.112, allocations: 127.3 kB / 0.646 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.112, allocations: 2.469 kB / 0.646 GB, free: 165.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006772/1.112, allocations: 473.1 kB / 0.6464 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.112, allocations: 6.594 kB / 0.6465 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.113, allocations: 11.81 kB / 0.6465 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.113, allocations: 12.78 kB / 0.6465 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.114, allocations: 208.5 kB / 0.6467 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003781/1.114, allocations: 1.189 MB / 0.6478 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/1.115, allocations: 27.12 kB / 0.6479 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/1.115, allocations: 42.69 kB / 0.6479 GB, free: 163.9 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.0001829/1.115, allocations: 165.4 kB / 0.6481 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/1.115, allocations: 26.69 kB / 0.6481 GB, free: 163.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.117, allocations: 2.883 MB / 0.6509 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.118, allocations: 25.33 kB / 0.6509 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.118, allocations: 3.25 kB / 0.6509 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.118, allocations: 6.344 kB / 0.6509 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/1.119, allocations: 0.9629 MB / 0.6519 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.119, allocations: 6.969 kB / 0.6519 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/1.119, allocations: 101.3 kB / 0.652 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/1.119, allocations: 168 kB / 0.6521 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/1.119, allocations: 12.78 kB / 0.6522 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002769/1.12, allocations: 0.6414 MB / 0.6528 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.12, allocations: 11 kB / 0.6528 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.121, allocations: 1.103 MB / 0.6539 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/1.121, allocations: 350.5 kB / 0.6542 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.121, allocations: 19.41 kB / 0.6542 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/1.121, allocations: 15.22 kB / 0.6542 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/1.121, allocations: 25.36 kB / 0.6543 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.122, allocations: 16.53 kB / 0.6543 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004303/1.122, allocations: 468.8 kB / 0.6547 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.122, allocations: 0 / 0.6547 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006992/1.129, allocations: 1.618 MB / 0.6563 GB, free: 161.6 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.0113/1.14, allocations: 1.859 MB / 0.6581 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001739/1.142, allocations: 0.5392 MB / 0.6586 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.142, allocations: 0 / 0.6586 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/1.143, allocations: 355.9 kB / 0.659 GB, free: 161 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/1.143, allocations: 128.8 kB / 0.6591 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/1.146, allocations: 2.592 MB / 0.6616 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.147, allocations: 1.002 MB / 0.6626 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007147/1.147, allocations: 0.5038 MB / 0.6631 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/1.147, allocations: 55.97 kB / 0.6632 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/1.147, allocations: 0 / 0.6632 GB, free: 158.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.07309/1.221, allocations: 59.02 MB / 0.7208 GB, free: 115.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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