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.001779/0.001779, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002173/0.002173, allocations: 215 kB / 21.45 MB, free: 1.617 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.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2369/0.2369, allocations: 46.93 MB / 357.8 MB, free: 10.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 0.4917 GB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.137, allocations: 65.99 MB / 0.5561 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01893/0.156, allocations: 13.98 MB / 0.5698 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.362/0.518, allocations: 26.67 MB / 0.5958 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.5182, allocations: 3.688 kB / 0.5958 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.5186, allocations: 99.89 kB / 0.5959 GB, free: 3.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02724/0.5458, allocations: 8.544 MB / 0.6043 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5471, allocations: 345.7 kB / 0.6046 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.5522, allocations: 2.01 MB / 0.6065 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.5523, allocations: 12.86 kB / 0.6066 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005862/0.5529, allocations: 272.2 kB / 0.6068 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006161/0.5591, allocations: 3.275 MB / 0.61 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.5591, allocations: 10.53 kB / 0.61 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02504/0.5842, allocations: 10.85 MB / 0.6206 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.5843, allocations: 59.23 kB / 0.6207 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.5847, allocations: 141.1 kB / 0.6208 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01949/0.6041, allocations: 6.337 MB / 0.627 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6042, allocations: 0 / 0.627 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6042, allocations: 0 / 0.627 GB, free: 12.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.6042, allocations: 0 / 0.627 GB, free: 12.18 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.006128/0.6103, allocations: 1.612 MB / 0.6286 GB, free: 11.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6103, allocations: 11.06 kB / 0.6286 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.519e-05/0.6104, allocations: 7.594 kB / 0.6286 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.658e-05/0.6104, allocations: 68.42 kB / 0.6287 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.6122, allocations: 220.1 kB / 0.6289 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.6126, allocations: 284.4 kB / 0.6291 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.6127, allocations: 31.38 kB / 0.6292 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.6127, allocations: 30.09 kB / 0.6292 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.6152, allocations: 0.8188 MB / 0.63 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6152, allocations: 6.484 kB / 0.63 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.6153, allocations: 16.22 kB / 0.63 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.6153, allocations: 9.5 kB / 0.63 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.6178, allocations: 0.9288 MB / 0.6309 GB, free: 9.59 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.003589/0.6214, allocations: 2.584 MB / 0.6335 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.6228, allocations: 365.7 kB / 0.6338 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.623, allocations: 72.22 kB / 0.6339 GB, free: 7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035/1.658, allocations: 241.3 MB / 0.8695 GB, free: 255.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/1.659, allocations: 470.1 kB / 0.8699 GB, free: 255.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.524e-06/1.659, allocations: 0 / 0.8699 GB, free: 255.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.003077/1.662, allocations: 0.7829 MB / 0.8707 GB, free: 255.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/1.662, allocations: 378.1 kB / 0.871 GB, free: 254.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/1.663, allocations: 182.3 kB / 0.8712 GB, free: 254.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/1.663, allocations: 31.52 kB / 0.8712 GB, free: 254.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/1.663, allocations: 189.8 kB / 0.8714 GB, free: 254.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/1.663, allocations: 121.1 kB / 0.8715 GB, free: 254.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/1.663, allocations: 124.3 kB / 0.8717 GB, free: 254.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/1.663, allocations: 331.9 kB / 0.872 GB, free: 253.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.663, allocations: 86.22 kB / 0.8721 GB, free: 253.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/1.664, allocations: 354.4 kB / 0.8724 GB, free: 253.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/1.664, allocations: 480.2 kB / 0.8729 GB, free: 253.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.664, allocations: 2.594 kB / 0.8729 GB, free: 253.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008408/1.665, allocations: 469.1 kB / 0.8733 GB, free: 253 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.665, allocations: 9.875 kB / 0.8733 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.665, allocations: 9.766 kB / 0.8733 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.665, allocations: 11.28 kB / 0.8733 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/1.665, allocations: 145.4 kB / 0.8735 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.665, allocations: 22.98 kB / 0.8735 GB, free: 253 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/1.666, allocations: 46.38 kB / 0.8735 GB, free: 252.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/1.666, allocations: 41.52 kB / 0.8736 GB, free: 252.9 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.000157/1.666, allocations: 169.7 kB / 0.8737 GB, free: 252.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/1.666, allocations: 32.03 kB / 0.8738 GB, free: 252.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/1.668, allocations: 2.61 MB / 0.8763 GB, free: 251.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.668, allocations: 16.97 kB / 0.8763 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.668, allocations: 7.562 kB / 0.8763 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.668, allocations: 8.328 kB / 0.8764 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/1.669, allocations: 0.9324 MB / 0.8773 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.669, allocations: 8.859 kB / 0.8773 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/1.669, allocations: 74.06 kB / 0.8773 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.669, allocations: 7.875 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/1.669, allocations: 19.77 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.669, allocations: 3.969 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.669, allocations: 3.656 kB / 0.8774 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/1.67, allocations: 0.701 MB / 0.8781 GB, free: 250.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/1.67, allocations: 124.2 kB / 0.8782 GB, free: 250.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.67, allocations: 111.1 kB / 0.8783 GB, free: 250.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/1.671, allocations: 16.67 kB / 0.8783 GB, free: 250.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/1.671, allocations: 35.09 kB / 0.8783 GB, free: 250.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/1.671, allocations: 20.23 kB / 0.8784 GB, free: 250.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004686/1.671, allocations: 0.5004 MB / 0.8788 GB, free: 250 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.671, allocations: 0 / 0.8788 GB, free: 250 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004969/1.676, allocations: 1.536 MB / 0.8803 GB, free: 249.8 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.008768/1.685, allocations: 2.892 MB / 0.8832 GB, free: 247.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008432/1.686, allocations: 414.4 kB / 0.8836 GB, free: 246.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.686, allocations: 0 / 0.8836 GB, free: 246.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/1.686, allocations: 220.7 kB / 0.8838 GB, free: 246.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/1.687, allocations: 130.8 kB / 0.8839 GB, free: 246.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.364/3.051, allocations: 0.6073 GB / 1.491 GB, free: 105.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/3.052, allocations: 0.9856 MB / 1.492 GB, free: 104.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007234/3.053, allocations: 0.5201 MB / 1.493 GB, free: 104.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/3.053, allocations: 339.3 kB / 1.493 GB, free: 104 MB / 0.67 GB Notification: Performance of SimCode: time 2.034e-06/3.053, allocations: 0 / 1.493 GB, free: 104 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3567/3.41, allocations: 63.58 MB / 1.555 GB, free: 264.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/16.95, allocations: 15.34 kB / 1.555 GB, free: 264.8 MB / 0.67 GB " [Timeout remaining time 643] (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: 20.933337949973065]