Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 46.95 MB / 360.9 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.91 kB / 0.4962 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01843/0.3402, allocations: 12.71 MB / 0.5731 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03436/0.3746, allocations: 23.38 MB / 0.5959 GB, free: 40 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.3748, allocations: 0 / 0.5959 GB, free: 40 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.3753, allocations: 83.44 kB / 0.596 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0244/0.3997, allocations: 8.503 MB / 0.6043 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.4007, allocations: 354.7 kB / 0.6046 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004484/0.4052, allocations: 2.01 MB / 0.6066 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.4053, allocations: 12.59 kB / 0.6066 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.4059, allocations: 266.8 kB / 0.6068 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006848/0.4127, allocations: 3.27 MB / 0.61 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.4128, allocations: 12 kB / 0.61 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02465/0.4375, allocations: 10.33 MB / 0.6201 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.4376, allocations: 47.77 kB / 0.6202 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.438, allocations: 123.5 kB / 0.6203 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02203/0.46, allocations: 6.333 MB / 0.6265 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.46, allocations: 0 / 0.6265 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.46, allocations: 0 / 0.6265 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.46, allocations: 0 / 0.6265 GB, free: 0.6016 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.00671/0.4667, allocations: 1.529 MB / 0.628 GB, free: 15.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.4668, allocations: 8.031 kB / 0.628 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.4669, allocations: 70.72 kB / 0.628 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.4686, allocations: 220.5 kB / 0.6282 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.4691, allocations: 214.2 kB / 0.6285 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.4691, allocations: 29.03 kB / 0.6285 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.4692, allocations: 35.92 kB / 0.6285 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.4717, allocations: 0.8753 MB / 0.6294 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4717, allocations: 3.938 kB / 0.6294 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.4717, allocations: 16 kB / 0.6294 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4717, allocations: 8 kB / 0.6294 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.4744, allocations: 0.9234 MB / 0.6303 GB, free: 12.55 MB / 478.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.003657/0.478, allocations: 2.002 MB / 0.6323 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.4796, allocations: 384.4 kB / 0.6326 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.4798, allocations: 68.83 kB / 0.6327 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8993/1.379, allocations: 161 MB / 0.7899 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.381, allocations: 474.2 kB / 0.7904 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/1.381, allocations: 0 / 0.7904 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002857/1.383, allocations: 0.781 MB / 0.7912 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/1.383, allocations: 371.8 kB / 0.7915 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.384, allocations: 200.7 kB / 0.7917 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/1.384, allocations: 33.55 kB / 0.7917 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/1.384, allocations: 184.6 kB / 0.7919 GB, free: 119 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/1.384, allocations: 121.4 kB / 0.792 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.384, allocations: 126.1 kB / 0.7921 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/1.384, allocations: 330.8 kB / 0.7925 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/1.384, allocations: 76.94 kB / 0.7925 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/1.384, allocations: 352.2 kB / 0.7929 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/1.385, allocations: 484.6 kB / 0.7933 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.385, allocations: 0 / 0.7933 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008532/1.386, allocations: 469.6 kB / 0.7938 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.386, allocations: 8 kB / 0.7938 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.386, allocations: 8 kB / 0.7938 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.386, allocations: 12 kB / 0.7938 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/1.386, allocations: 143.8 kB / 0.7939 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.386, allocations: 19.92 kB / 0.794 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/1.387, allocations: 52.61 kB / 0.794 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/1.387, allocations: 47.97 kB / 0.7941 GB, free: 116.5 MB / 0.5606 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.0001418/1.387, allocations: 164.8 kB / 0.7942 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/1.387, allocations: 31.86 kB / 0.7943 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.389, allocations: 2.836 MB / 0.797 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.389, allocations: 19.98 kB / 0.797 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.389, allocations: 4 kB / 0.797 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.389, allocations: 3.984 kB / 0.797 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008136/1.39, allocations: 0.9119 MB / 0.7979 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/1.39, allocations: 7.438 kB / 0.7979 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/1.39, allocations: 71.88 kB / 0.798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.39, allocations: 4 kB / 0.798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/1.39, allocations: 16.17 kB / 0.798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/1.39, allocations: 8 kB / 0.798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.39, allocations: 7.938 kB / 0.798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/1.391, allocations: 0.7243 MB / 0.7988 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/1.391, allocations: 47.58 kB / 0.7988 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.391, allocations: 110.9 kB / 0.7989 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/1.392, allocations: 15.98 kB / 0.7989 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/1.392, allocations: 35.83 kB / 0.799 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/1.392, allocations: 23.98 kB / 0.799 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004752/1.392, allocations: 0.5037 MB / 0.7995 GB, free: 111 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.392, allocations: 0 / 0.7995 GB, free: 111 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004204/1.396, allocations: 1.524 MB / 0.801 GB, free: 109.5 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.008373/1.405, allocations: 2.918 MB / 0.8038 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009215/1.406, allocations: 419.5 kB / 0.8042 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.406, allocations: 4 kB / 0.8042 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/1.406, allocations: 226 kB / 0.8044 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/1.407, allocations: 138.3 kB / 0.8046 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.231/2.638, allocations: 0.6073 GB / 1.412 GB, free: 70.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/2.638, allocations: 401.6 kB / 1.412 GB, free: 69.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005832/2.638, allocations: 0.5195 MB / 1.413 GB, free: 69.35 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/2.639, allocations: 331.3 kB / 1.413 GB, free: 69.03 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/2.639, allocations: 0 / 1.413 GB, free: 69.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0981/2.737, allocations: 64.65 MB / 1.476 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/18.13, allocations: 7.625 kB / 1.476 GB, free: 4.621 MB / 0.6387 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 21.788176709786057]