Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001906/0.001906, allocations: 119.3 kB / 17.13 MB, free: 5.926 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.002092/0.002092, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3129/0.3129, allocations: 44.23 MB / 326.5 MB, free: 7.242 MB / 254.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.003294/0.003294, allocations: 63.91 kB / 462.2 MB, free: 1.016 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2831, allocations: 61 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01243/0.2955, allocations: 13.88 MB / 0.5245 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03186/0.3273, allocations: 26.68 MB / 0.5506 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.3276, allocations: 0 / 0.5506 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.328, allocations: 95.39 kB / 0.5506 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02222/0.3502, allocations: 8.513 MB / 0.559 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.3511, allocations: 346.9 kB / 0.5593 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.355, allocations: 2.017 MB / 0.5613 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.3551, allocations: 20.39 kB / 0.5613 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.3555, allocations: 266.9 kB / 0.5615 GB, free: 11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005875/0.3614, allocations: 3.266 MB / 0.5647 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.3615, allocations: 15.98 kB / 0.5647 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02145/0.3829, allocations: 10.81 MB / 0.5753 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.383, allocations: 59.67 kB / 0.5754 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.3832, allocations: 143.3 kB / 0.5755 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.3977, allocations: 6.31 MB / 0.5817 GB, free: 6.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3977, allocations: 4 kB / 0.5817 GB, free: 6.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3977, allocations: 0 / 0.5817 GB, free: 6.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.3977, allocations: 0 / 0.5817 GB, free: 6.316 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.003935/0.4016, allocations: 1.604 MB / 0.5832 GB, free: 4.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4017, allocations: 15.83 kB / 0.5832 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.17e-05/0.4017, allocations: 70.72 kB / 0.5833 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.4034, allocations: 216.5 kB / 0.5835 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.4037, allocations: 279.9 kB / 0.5838 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.4038, allocations: 21.03 kB / 0.5838 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.4038, allocations: 39.92 kB / 0.5838 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.4062, allocations: 0.8249 MB / 0.5846 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4062, allocations: 0 / 0.5846 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.4062, allocations: 12 kB / 0.5847 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4062, allocations: 8 kB / 0.5847 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.4087, allocations: 0.9347 MB / 0.5856 GB, free: 2.152 MB / 446.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.003583/0.4123, allocations: 2.574 MB / 0.5881 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.4137, allocations: 377.4 kB / 0.5885 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.4139, allocations: 72.81 kB / 0.5885 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7961/1.21, allocations: 227.4 MB / 0.8106 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001839/1.212, allocations: 470.8 kB / 0.811 GB, free: 7.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 4.298e-06/1.212, allocations: 0 / 0.811 GB, free: 7.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003425/1.215, allocations: 0.7844 MB / 0.8118 GB, free: 6.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/1.216, allocations: 363.8 kB / 0.8122 GB, free: 5.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.216, allocations: 193.7 kB / 0.8123 GB, free: 5.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/1.216, allocations: 33.7 kB / 0.8124 GB, free: 5.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/1.216, allocations: 197.8 kB / 0.8126 GB, free: 5.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.216, allocations: 113.8 kB / 0.8127 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/1.217, allocations: 126.1 kB / 0.8128 GB, free: 5.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.217, allocations: 342.8 kB / 0.8131 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/1.217, allocations: 77.06 kB / 0.8132 GB, free: 4.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/1.217, allocations: 344.7 kB / 0.8135 GB, free: 4.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/1.218, allocations: 478.2 kB / 0.814 GB, free: 3.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/1.218, allocations: 4 kB / 0.814 GB, free: 3.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001132/1.22, allocations: 469 kB / 0.8144 GB, free: 3.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.22, allocations: 8 kB / 0.8144 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.22, allocations: 12 kB / 0.8144 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.22, allocations: 12 kB / 0.8145 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/1.22, allocations: 143.7 kB / 0.8146 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/1.22, allocations: 16.53 kB / 0.8146 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/1.221, allocations: 59.61 kB / 0.8147 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/1.221, allocations: 43.98 kB / 0.8147 GB, free: 3.016 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.0002379/1.221, allocations: 165.5 kB / 0.8149 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.221, allocations: 27.86 kB / 0.8149 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/1.224, allocations: 2.603 MB / 0.8174 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/1.224, allocations: 27.48 kB / 0.8175 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.224, allocations: 4.875 kB / 0.8175 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.224, allocations: 7.984 kB / 0.8175 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/1.226, allocations: 0.9329 MB / 0.8184 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.226, allocations: 4 kB / 0.8184 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/1.226, allocations: 75.86 kB / 0.8185 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/1.226, allocations: 8 kB / 0.8185 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/1.226, allocations: 11.25 kB / 0.8185 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/1.226, allocations: 7.938 kB / 0.8185 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.226, allocations: 4 kB / 0.8185 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.228, allocations: 0.705 MB / 0.8192 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/1.228, allocations: 132.6 kB / 0.8193 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.228, allocations: 103 kB / 0.8194 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/1.228, allocations: 19.98 kB / 0.8194 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/1.228, allocations: 35.84 kB / 0.8195 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/1.228, allocations: 16 kB / 0.8195 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007656/1.229, allocations: 0.5001 MB / 0.82 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.229, allocations: 4 kB / 0.82 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005871/1.235, allocations: 1.516 MB / 0.8214 GB, free: 11.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.009994/1.245, allocations: 2.887 MB / 0.8243 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.246, allocations: 418.7 kB / 0.8247 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.246, allocations: 4 kB / 0.8247 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/1.247, allocations: 218.1 kB / 0.8249 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.248, allocations: 138.8 kB / 0.825 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.535/2.783, allocations: 0.605 GB / 1.43 GB, free: 139.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/2.783, allocations: 0.9817 MB / 1.431 GB, free: 138.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006036/2.784, allocations: 0.523 MB / 1.431 GB, free: 137.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/2.784, allocations: 339.2 kB / 1.432 GB, free: 137.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/2.784, allocations: 0 / 1.432 GB, free: 137.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09766/2.882, allocations: 63.38 MB / 1.494 GB, free: 74.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/16.17, allocations: 7.766 kB / 1.494 GB, free: 74.09 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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: 19.38868030393496]