Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001869/0.001869, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2004/0.2004, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3443, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01733/0.3617, allocations: 13.81 MB / 0.532 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03327/0.395, allocations: 26.6 MB / 0.5579 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.3954, allocations: 4 kB / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.3961, allocations: 95.38 kB / 0.558 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02768/0.4238, allocations: 8.527 MB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.4247, allocations: 350.5 kB / 0.5667 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004455/0.4292, allocations: 1.998 MB / 0.5686 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.4293, allocations: 20.39 kB / 0.5687 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005547/0.4298, allocations: 266.8 kB / 0.5689 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007193/0.437, allocations: 3.262 MB / 0.5721 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.4371, allocations: 8 kB / 0.5721 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02395/0.461, allocations: 11.6 MB / 0.5834 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4612, allocations: 59.67 kB / 0.5835 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.4615, allocations: 139.3 kB / 0.5836 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01823/0.4797, allocations: 6.733 MB / 0.5902 GB, free: 2.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4798, allocations: 0 / 0.5902 GB, free: 2.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4798, allocations: 0 / 0.5902 GB, free: 2.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-05/0.4798, allocations: 4 kB / 0.5902 GB, free: 2.414 MB / 446.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.005118/0.485, allocations: 1.614 MB / 0.5918 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.485, allocations: 8.031 kB / 0.5918 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.572e-05/0.4851, allocations: 70.72 kB / 0.5919 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.4867, allocations: 188.5 kB / 0.592 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.4872, allocations: 279.8 kB / 0.5923 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.4872, allocations: 21.03 kB / 0.5923 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.4873, allocations: 39.88 kB / 0.5924 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.4895, allocations: 0.7565 MB / 0.5931 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4895, allocations: 0 / 0.5931 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.4895, allocations: 16 kB / 0.5931 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4896, allocations: 8 kB / 0.5931 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.4917, allocations: 0.8176 MB / 0.5939 GB, free: 14.46 MB / 462.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.003516/0.4953, allocations: 2.703 MB / 0.5966 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.4965, allocations: 350.3 kB / 0.5969 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4967, allocations: 72.81 kB / 0.597 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6145/1.111, allocations: 142.7 MB / 0.7363 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/1.112, allocations: 446.4 kB / 0.7368 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/1.112, allocations: 0 / 0.7368 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003706/1.116, allocations: 1.115 MB / 0.7378 GB, free: 166 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/1.116, allocations: 379 kB / 0.7382 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/1.116, allocations: 186.9 kB / 0.7384 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/1.116, allocations: 34.17 kB / 0.7384 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/1.117, allocations: 181.2 kB / 0.7386 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/1.117, allocations: 115.6 kB / 0.7387 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.117, allocations: 131.7 kB / 0.7388 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/1.117, allocations: 333.6 kB / 0.7391 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/1.117, allocations: 80.12 kB / 0.7392 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/1.117, allocations: 354 kB / 0.7396 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/1.118, allocations: 478.4 kB / 0.74 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.118, allocations: 2.219 kB / 0.74 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007683/1.119, allocations: 472.5 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.119, allocations: 9.594 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.119, allocations: 15.59 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.119, allocations: 9.438 kB / 0.7405 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.12, allocations: 210.5 kB / 0.7407 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003608/1.121, allocations: 1.188 MB / 0.7419 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/1.121, allocations: 30.39 kB / 0.7419 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/1.121, allocations: 43.91 kB / 0.7419 GB, free: 162.9 MB / 0.5762 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.121, allocations: 159.5 kB / 0.7421 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/1.121, allocations: 28.86 kB / 0.7421 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.123, allocations: 2.832 MB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.123, allocations: 21.28 kB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.123, allocations: 3.875 kB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.123, allocations: 3.875 kB / 0.7449 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/1.124, allocations: 0.9615 MB / 0.7458 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.124, allocations: 4.656 kB / 0.7458 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/1.125, allocations: 101.5 kB / 0.7459 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/1.125, allocations: 161.1 kB / 0.7461 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/1.125, allocations: 20.31 kB / 0.7461 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002443/1.125, allocations: 0.6418 MB / 0.7467 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.125, allocations: 4.688 kB / 0.7468 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009227/1.126, allocations: 0.9724 MB / 0.7477 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/1.126, allocations: 135.8 kB / 0.7478 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.126, allocations: 87.22 kB / 0.7479 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/1.126, allocations: 18.16 kB / 0.7479 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/1.126, allocations: 38.53 kB / 0.748 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.126, allocations: 13.62 kB / 0.748 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004312/1.127, allocations: 476.6 kB / 0.7484 GB, free: 161 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.127, allocations: 0 / 0.7484 GB, free: 161 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004173/1.131, allocations: 1.612 MB / 0.75 GB, free: 160.4 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006676/1.138, allocations: 3.131 MB / 0.7531 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001501/1.139, allocations: 0.5339 MB / 0.7536 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.139, allocations: 0 / 0.7536 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/1.14, allocations: 364.1 kB / 0.7539 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/1.14, allocations: 135.8 kB / 0.7541 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6314/1.772, allocations: 352.4 MB / 1.098 GB, free: 92.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.772, allocations: 0.984 MB / 1.099 GB, free: 91.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005757/1.773, allocations: 0.4993 MB / 1.1 GB, free: 91.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/1.773, allocations: 323.3 kB / 1.1 GB, free: 91.11 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/1.773, allocations: 0 / 1.1 GB, free: 91.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08781/1.861, allocations: 66.61 MB / 1.165 GB, free: 24.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.94, allocations: 12.36 kB / 1.165 GB, free: 24.69 MB / 0.6075 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches