Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001637/0.001637, allocations: 113 kB / 18.49 MB, free: 4.539 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.001907/0.001907, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.513/1.513, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.2323/0.2323, allocations: 44.9 MB / 355.8 MB, free: 12.31 MB / 286.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.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_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 0.4886 GB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1391, allocations: 65.43 MB / 0.5525 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.03074/0.1698, allocations: 13.98 MB / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03822/0.208, allocations: 26.69 MB / 0.5922 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.2083, allocations: 4 kB / 0.5922 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.2087, allocations: 91.39 kB / 0.5923 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2746/0.4833, allocations: 8.535 MB / 0.6006 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.4844, allocations: 346.2 kB / 0.601 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.4891, allocations: 2.005 MB / 0.6029 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.4892, allocations: 16.48 kB / 0.6029 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.4897, allocations: 269.3 kB / 0.6032 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00599/0.4956, allocations: 3.273 MB / 0.6064 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.4957, allocations: 10.84 kB / 0.6064 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/0.5174, allocations: 10.85 MB / 0.617 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5175, allocations: 53.5 kB / 0.617 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.5178, allocations: 139.9 kB / 0.6172 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.5322, allocations: 6.339 MB / 0.6234 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5322, allocations: 0 / 0.6234 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5322, allocations: 1.531 kB / 0.6234 GB, free: 14.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.5322, allocations: 1.406 kB / 0.6234 GB, free: 14.68 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.005013/0.5372, allocations: 1.612 MB / 0.6249 GB, free: 13.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5373, allocations: 11.03 kB / 0.625 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.722e-05/0.5373, allocations: 8.75 kB / 0.625 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.961e-05/0.5374, allocations: 69.38 kB / 0.625 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.5391, allocations: 226.4 kB / 0.6253 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.5395, allocations: 275.9 kB / 0.6255 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.5395, allocations: 25.62 kB / 0.6255 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.5396, allocations: 31.91 kB / 0.6256 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.5421, allocations: 0.8221 MB / 0.6264 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5421, allocations: 7.078 kB / 0.6264 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.5421, allocations: 14.78 kB / 0.6264 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5421, allocations: 12.25 kB / 0.6264 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.5448, allocations: 0.9306 MB / 0.6273 GB, free: 12.14 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.00374/0.5486, allocations: 2.57 MB / 0.6298 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.55, allocations: 370.5 kB / 0.6302 GB, free: 9.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5502, allocations: 68.98 kB / 0.6302 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.944/1.494, allocations: 241.3 MB / 0.8658 GB, free: 260.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/1.496, allocations: 468 kB / 0.8663 GB, free: 260.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/1.496, allocations: 1.375 kB / 0.8663 GB, free: 260.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.003078/1.499, allocations: 0.7864 MB / 0.8671 GB, free: 260 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.499, allocations: 380.5 kB / 0.8674 GB, free: 259.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.499, allocations: 182.5 kB / 0.8676 GB, free: 259.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/1.499, allocations: 30.7 kB / 0.8676 GB, free: 259.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/1.499, allocations: 190.9 kB / 0.8678 GB, free: 259.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/1.499, allocations: 117.9 kB / 0.8679 GB, free: 259.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.499, allocations: 123.4 kB / 0.868 GB, free: 259.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/1.499, allocations: 335.7 kB / 0.8684 GB, free: 258.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.5, allocations: 87.59 kB / 0.8684 GB, free: 258.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/1.5, allocations: 339 kB / 0.8688 GB, free: 258.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/1.5, allocations: 489.4 kB / 0.8692 GB, free: 258 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.5, allocations: 1.594 kB / 0.8692 GB, free: 258 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009195/1.501, allocations: 468.6 kB / 0.8697 GB, free: 257.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.501, allocations: 13.11 kB / 0.8697 GB, free: 257.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.501, allocations: 10 kB / 0.8697 GB, free: 257.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/1.501, allocations: 11.59 kB / 0.8697 GB, free: 257.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/1.502, allocations: 141.3 kB / 0.8699 GB, free: 257.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/1.502, allocations: 20.02 kB / 0.8699 GB, free: 257.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/1.502, allocations: 51.8 kB / 0.8699 GB, free: 257.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/1.502, allocations: 47.8 kB / 0.87 GB, free: 257.6 MB / 0.67 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.0001816/1.502, allocations: 165.2 kB / 0.8701 GB, free: 257.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.503, allocations: 27.89 kB / 0.8702 GB, free: 257.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/1.505, allocations: 2.606 MB / 0.8727 GB, free: 256 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/1.505, allocations: 24.97 kB / 0.8727 GB, free: 256 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.505, allocations: 2.125 kB / 0.8727 GB, free: 256 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.505, allocations: 6.438 kB / 0.8727 GB, free: 256 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/1.506, allocations: 0.9385 MB / 0.8736 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.506, allocations: 5.719 kB / 0.8736 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/1.507, allocations: 69.12 kB / 0.8737 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.507, allocations: 5.062 kB / 0.8737 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.507, allocations: 24.56 kB / 0.8737 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.507, allocations: 7.875 kB / 0.8738 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.507, allocations: 4.219 kB / 0.8738 GB, free: 255.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/1.508, allocations: 0.6994 MB / 0.8744 GB, free: 254.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/1.508, allocations: 129.4 kB / 0.8746 GB, free: 254.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.508, allocations: 107.8 kB / 0.8747 GB, free: 254.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/1.508, allocations: 15.86 kB / 0.8747 GB, free: 254.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/1.508, allocations: 41.42 kB / 0.8747 GB, free: 254.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/1.508, allocations: 16 kB / 0.8747 GB, free: 254.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004946/1.509, allocations: 0.5044 MB / 0.8752 GB, free: 254.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.509, allocations: 0 / 0.8752 GB, free: 254.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004665/1.513, allocations: 1.53 MB / 0.8767 GB, free: 254.1 MB / 0.67 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.00864/1.522, allocations: 2.891 MB / 0.8795 GB, free: 252.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008904/1.523, allocations: 414.3 kB / 0.8799 GB, free: 252.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.523, allocations: 3.906 kB / 0.8799 GB, free: 252.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/1.523, allocations: 224 kB / 0.8802 GB, free: 252.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/1.524, allocations: 130.8 kB / 0.8803 GB, free: 252.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.274/2.798, allocations: 0.6073 GB / 1.488 GB, free: 108.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/2.799, allocations: 0.9894 MB / 1.489 GB, free: 107.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006076/2.799, allocations: 0.5237 MB / 1.489 GB, free: 107.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/2.799, allocations: 335.3 kB / 1.489 GB, free: 106.8 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/2.799, allocations: 0 / 1.489 GB, free: 106.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3805/3.18, allocations: 63.6 MB / 1.552 GB, free: 268.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/17.09, allocations: 6.891 kB / 1.552 GB, free: 268.2 MB / 0.67 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.00000323698623]