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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.92 MB / 349.6 MB, free: 1.762 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 72.91 kB / 491.8 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1206, allocations: 64.26 MB / 0.5431 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01846/0.139, allocations: 13.88 MB / 0.5566 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0332/0.1722, allocations: 26.68 MB / 0.5827 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.1725, allocations: 0 / 0.5827 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1729, allocations: 87.45 kB / 0.5827 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02326/0.1962, allocations: 8.539 MB / 0.5911 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009803/0.1972, allocations: 346.5 kB / 0.5914 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00431/0.2015, allocations: 2.01 MB / 0.5934 GB, free: 400 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.2016, allocations: 12.41 kB / 0.5934 GB, free: 388 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.2021, allocations: 266.9 kB / 0.5936 GB, free: 120 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00715/0.2092, allocations: 3.266 MB / 0.5968 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.2093, allocations: 8 kB / 0.5968 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/0.2327, allocations: 11.63 MB / 0.6082 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2329, allocations: 51.7 kB / 0.6082 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.2332, allocations: 139.3 kB / 0.6084 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2838/0.517, allocations: 6.751 MB / 0.615 GB, free: 18.97 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.517, allocations: 0.7812 kB / 0.615 GB, free: 18.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.517, allocations: 0 / 0.615 GB, free: 18.97 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.5171, allocations: 1.031 kB / 0.615 GB, free: 18.97 MB / 462.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.009181/0.5262, allocations: 1.665 MB / 0.6166 GB, free: 18.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.5263, allocations: 13.19 kB / 0.6166 GB, free: 18.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.024e-05/0.5264, allocations: 75.84 kB / 0.6167 GB, free: 18.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.5283, allocations: 190.8 kB / 0.6169 GB, free: 18.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.5288, allocations: 269.3 kB / 0.6171 GB, free: 17.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.5288, allocations: 20.47 kB / 0.6171 GB, free: 17.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.5288, allocations: 35.5 kB / 0.6172 GB, free: 17.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.5311, allocations: 0.7513 MB / 0.6179 GB, free: 17.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5312, allocations: 5.312 kB / 0.6179 GB, free: 17.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.5312, allocations: 15.72 kB / 0.6179 GB, free: 17.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.5312, allocations: 9.062 kB / 0.6179 GB, free: 17.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.5335, allocations: 0.8192 MB / 0.6187 GB, free: 17.65 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.003418/0.5369, allocations: 2.706 MB / 0.6214 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.5381, allocations: 340.4 kB / 0.6217 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5383, allocations: 65.45 kB / 0.6218 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4153/0.9535, allocations: 142.8 MB / 0.7612 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.955, allocations: 448 kB / 0.7616 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.955, allocations: 0 / 0.7616 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.004099/0.9591, allocations: 1.138 MB / 0.7627 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.9593, allocations: 379.5 kB / 0.7631 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.9595, allocations: 186.6 kB / 0.7632 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.9595, allocations: 39.52 kB / 0.7633 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.9597, allocations: 189.7 kB / 0.7635 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.9598, allocations: 120.9 kB / 0.7636 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.9599, allocations: 119.5 kB / 0.7637 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9601, allocations: 342.2 kB / 0.764 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.9603, allocations: 78.75 kB / 0.7641 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.9607, allocations: 343.6 kB / 0.7644 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.9613, allocations: 481.2 kB / 0.7649 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9613, allocations: 11.19 kB / 0.7649 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008722/0.9622, allocations: 472.7 kB / 0.7653 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.9622, allocations: 12.97 kB / 0.7654 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9622, allocations: 8 kB / 0.7654 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.9622, allocations: 16 kB / 0.7654 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.9638, allocations: 211.9 kB / 0.7656 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000769/0.9646, allocations: 1.187 MB / 0.7667 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.9649, allocations: 18.62 kB / 0.7668 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.965, allocations: 48.11 kB / 0.7668 GB, free: 7.789 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.0002173/0.9652, allocations: 166.2 kB / 0.767 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.9653, allocations: 28.36 kB / 0.767 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.9684, allocations: 2.812 MB / 0.7697 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/0.9684, allocations: 23.97 kB / 0.7698 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.9684, allocations: 6.953 kB / 0.7698 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.9684, allocations: 12.16 kB / 0.7698 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.9696, allocations: 0.9713 MB / 0.7707 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.9697, allocations: 4 kB / 0.7707 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.9702, allocations: 99.52 kB / 0.7708 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.9705, allocations: 160.4 kB / 0.771 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.9705, allocations: 13.84 kB / 0.771 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004806/0.971, allocations: 0.642 MB / 0.7716 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.971, allocations: 6.188 kB / 0.7716 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.9724, allocations: 0.9634 MB / 0.7726 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.9726, allocations: 132.6 kB / 0.7727 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.9727, allocations: 95.08 kB / 0.7728 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.9731, allocations: 19.98 kB / 0.7728 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.9731, allocations: 31.19 kB / 0.7728 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.9731, allocations: 16 kB / 0.7728 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006522/0.9738, allocations: 471 kB / 0.7733 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9738, allocations: 0 / 0.7733 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009013/0.9828, allocations: 1.629 MB / 0.7749 GB, free: 360 kB / 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.01515/0.998, allocations: 3.148 MB / 0.778 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.9998, allocations: 0.5307 MB / 0.7785 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9998, allocations: 192 / 0.7785 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004817/1, allocations: 300.8 kB / 0.7788 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/1.001, allocations: 128.8 kB / 0.7789 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9871/1.988, allocations: 352.6 MB / 1.123 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/1.989, allocations: 0.9835 MB / 1.124 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005969/1.989, allocations: 0.5121 MB / 1.125 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/1.989, allocations: 315.3 kB / 1.125 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/1.989, allocations: 0 / 1.125 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09738/2.087, allocations: 66.35 MB / 1.19 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/19.2, allocations: 5.109 kB / 1.19 GB, free: 149.6 MB / 0.6387 GB " [Timeout remaining time 641] (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 --stepSize=1.9992e-05 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.665891885757446]