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.00083/0.00083, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009209/0.0009209, allocations: 170.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8661/0.8661, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2331/0.2331, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.191e-05, allocations: 2.281 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2005/0.2005, allocations: 12.7 MB / 454.9 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.2155, allocations: 23.37 MB / 478.3 MB, free: 21.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2156, allocations: 0 / 478.3 MB, free: 21.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.2159, allocations: 90.19 kB / 478.4 MB, free: 21.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.2327, allocations: 8.633 MB / 487 MB, free: 17.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.2333, allocations: 357.4 kB / 487.4 MB, free: 17.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.2356, allocations: 2.027 MB / 489.4 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.53e-05/0.2357, allocations: 18.47 kB / 489.4 MB, free: 16.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.2361, allocations: 311.8 kB / 489.7 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.2393, allocations: 3.267 MB / 493 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.2393, allocations: 10.41 kB / 493 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.255, allocations: 10.35 MB / 0.4915 GB, free: 12.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/0.2551, allocations: 50.8 kB / 0.4916 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.2553, allocations: 108.3 kB / 0.4917 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01876/0.2741, allocations: 8.013 MB / 0.4995 GB, free: 7.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2741, allocations: 1.312 kB / 0.4995 GB, free: 7.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2741, allocations: 0 / 0.4995 GB, free: 7.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.2741, allocations: 0 / 0.4995 GB, free: 7.594 MB / 410.7 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.00544/0.2795, allocations: 1.528 MB / 0.501 GB, free: 6.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2796, allocations: 9.531 kB / 0.501 GB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.2796, allocations: 73.5 kB / 0.5011 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.2807, allocations: 225.7 kB / 0.5013 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.2811, allocations: 212.4 kB / 0.5015 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.2811, allocations: 29.31 kB / 0.5015 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.2812, allocations: 28.91 kB / 0.5016 GB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2826, allocations: 0.8757 MB / 0.5024 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2826, allocations: 1.344 kB / 0.5024 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.2827, allocations: 15.72 kB / 0.5024 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.2827, allocations: 8.188 kB / 0.5024 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.2841, allocations: 0.9307 MB / 0.5033 GB, free: 5.102 MB / 410.7 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.002051/0.2862, allocations: 1.98 MB / 0.5053 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.287, allocations: 373.9 kB / 0.5056 GB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2871, allocations: 69.11 kB / 0.5057 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5102/0.7973, allocations: 161 MB / 0.6629 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.7984, allocations: 475.4 kB / 0.6634 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.847e-06/0.7984, allocations: 2.156 kB / 0.6634 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.002172/0.8006, allocations: 0.7801 MB / 0.6641 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.8007, allocations: 371.2 kB / 0.6645 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.8008, allocations: 193.8 kB / 0.6647 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.8009, allocations: 32.97 kB / 0.6647 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.801, allocations: 186.6 kB / 0.6649 GB, free: 142 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.801, allocations: 115.9 kB / 0.665 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.8012, allocations: 122.8 kB / 0.6651 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.8012, allocations: 334.1 kB / 0.6654 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.8014, allocations: 80.52 kB / 0.6655 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.8016, allocations: 348.8 kB / 0.6658 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.802, allocations: 490.8 kB / 0.6663 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.802, allocations: 2.625 kB / 0.6663 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006406/0.8027, allocations: 473.4 kB / 0.6668 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8027, allocations: 10.84 kB / 0.6668 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8027, allocations: 8.5 kB / 0.6668 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.8027, allocations: 14.94 kB / 0.6668 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.803, allocations: 141.5 kB / 0.6669 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.803, allocations: 17.48 kB / 0.667 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.8032, allocations: 52.64 kB / 0.667 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.8033, allocations: 41.67 kB / 0.667 GB, free: 140.9 MB / 0.5261 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.0001261/0.8034, allocations: 171.2 kB / 0.6672 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.8035, allocations: 24.31 kB / 0.6672 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.8055, allocations: 2.839 MB / 0.67 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.8056, allocations: 22.25 kB / 0.67 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8056, allocations: 4.094 kB / 0.67 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.8056, allocations: 7.859 kB / 0.67 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.8064, allocations: 0.9134 MB / 0.6709 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.8064, allocations: 4.094 kB / 0.6709 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.8066, allocations: 73.44 kB / 0.671 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8066, allocations: 5.156 kB / 0.671 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8066, allocations: 16.64 kB / 0.671 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.8066, allocations: 4.922 kB / 0.671 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8066, allocations: 6.594 kB / 0.671 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.8073, allocations: 0.715 MB / 0.6717 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.8073, allocations: 50.31 kB / 0.6718 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.8074, allocations: 111 kB / 0.6719 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.8076, allocations: 15.72 kB / 0.6719 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.8076, allocations: 35.52 kB / 0.6719 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.8076, allocations: 21.98 kB / 0.672 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004671/0.8081, allocations: 0.504 MB / 0.6724 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.8081, allocations: 0 / 0.6724 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00463/0.8127, allocations: 1.528 MB / 0.6739 GB, free: 138.7 MB / 0.5261 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.007848/0.8206, allocations: 3.124 MB / 0.677 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007469/0.8213, allocations: 418.7 kB / 0.6774 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8213, allocations: 0 / 0.6774 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.8215, allocations: 234.9 kB / 0.6776 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.8222, allocations: 141.2 kB / 0.6777 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.103/1.925, allocations: 0.6073 GB / 1.285 GB, free: 190.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/1.925, allocations: 401.1 kB / 1.285 GB, free: 190.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000485/1.926, allocations: 0.5267 MB / 1.286 GB, free: 190.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.926, allocations: 340.1 kB / 1.286 GB, free: 190.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.293e-06/1.926, allocations: 0 / 1.286 GB, free: 190.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09368/2.02, allocations: 64.91 MB / 1.35 GB, free: 159.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.356/11.38, allocations: 11.59 kB / 1.35 GB, free: 159.8 MB / 0.5573 GB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/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: 13.579865920357406]