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.001785/0.001785, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002663/0.002663, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.2298/0.2298, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.002027/0.002027, allocations: 75.89 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 65.47 MB / 0.5578 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0191/0.3731, allocations: 12.71 MB / 0.5702 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03157/0.4046, allocations: 23.35 MB / 0.593 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.4049, allocations: 0 / 0.593 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.4054, allocations: 91.41 kB / 0.5931 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02505/0.4304, allocations: 8.507 MB / 0.6014 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009595/0.4314, allocations: 338.7 kB / 0.6017 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004662/0.436, allocations: 2.013 MB / 0.6037 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.4361, allocations: 16.58 kB / 0.6037 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.4366, allocations: 262.9 kB / 0.6039 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007514/0.4441, allocations: 3.278 MB / 0.6071 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.4442, allocations: 12 kB / 0.6071 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02056/0.4648, allocations: 10.75 MB / 0.6176 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4649, allocations: 59.69 kB / 0.6177 GB, free: 9.934 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.4651, allocations: 119.5 kB / 0.6178 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.4816, allocations: 6.326 MB / 0.624 GB, free: 3.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4816, allocations: 3.938 kB / 0.624 GB, free: 3.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4816, allocations: 0 / 0.624 GB, free: 3.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.4816, allocations: 0 / 0.624 GB, free: 3.473 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.005265/0.4868, allocations: 1.529 MB / 0.6255 GB, free: 1.906 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4869, allocations: 12.02 kB / 0.6255 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.489e-05/0.4869, allocations: 12.84 kB / 0.6255 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.574e-05/0.487, allocations: 66.73 kB / 0.6256 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.4889, allocations: 224.5 kB / 0.6258 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.4893, allocations: 222.1 kB / 0.626 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.4893, allocations: 24.78 kB / 0.626 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.4894, allocations: 36 kB / 0.6261 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.492, allocations: 0.8714 MB / 0.6269 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.492, allocations: 0 / 0.6269 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.492, allocations: 16 kB / 0.6269 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4921, allocations: 8 kB / 0.6269 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4948, allocations: 0.939 MB / 0.6279 GB, free: 15.4 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.003354/0.4982, allocations: 2.006 MB / 0.6298 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.4998, allocations: 377.2 kB / 0.6302 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4999, allocations: 72.81 kB / 0.6302 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9132/1.413, allocations: 161 MB / 0.7875 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/1.415, allocations: 475.3 kB / 0.788 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.305e-06/1.415, allocations: 0 / 0.788 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002966/1.418, allocations: 0.7807 MB / 0.7887 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.418, allocations: 375.8 kB / 0.7891 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.418, allocations: 184.4 kB / 0.7893 GB, free: 125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.418, allocations: 29.7 kB / 0.7893 GB, free: 125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/1.418, allocations: 192.1 kB / 0.7895 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/1.418, allocations: 111.1 kB / 0.7896 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.418, allocations: 126.1 kB / 0.7897 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/1.418, allocations: 334.6 kB / 0.79 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/1.418, allocations: 84.94 kB / 0.7901 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/1.419, allocations: 340.1 kB / 0.7904 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/1.419, allocations: 486.5 kB / 0.7909 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.419, allocations: 4 kB / 0.7909 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008227/1.42, allocations: 475.3 kB / 0.7913 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.42, allocations: 8 kB / 0.7913 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.42, allocations: 12 kB / 0.7914 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/1.42, allocations: 12 kB / 0.7914 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/1.42, allocations: 139.8 kB / 0.7915 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.42, allocations: 15.94 kB / 0.7915 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/1.421, allocations: 57.02 kB / 0.7916 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/1.421, allocations: 45.67 kB / 0.7916 GB, free: 122.4 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.0001571/1.421, allocations: 162.3 kB / 0.7918 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/1.421, allocations: 27.94 kB / 0.7918 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/1.423, allocations: 2.756 MB / 0.7945 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.423, allocations: 23.97 kB / 0.7945 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.423, allocations: 0 / 0.7945 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.423, allocations: 4 kB / 0.7945 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/1.424, allocations: 0.9194 MB / 0.7954 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.424, allocations: 4 kB / 0.7954 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/1.424, allocations: 79.8 kB / 0.7955 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.424, allocations: 4 kB / 0.7955 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/1.424, allocations: 8 kB / 0.7955 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.424, allocations: 16.11 kB / 0.7955 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.424, allocations: 0 / 0.7955 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/1.425, allocations: 0.7241 MB / 0.7962 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/1.425, allocations: 56.78 kB / 0.7963 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.425, allocations: 104.4 kB / 0.7964 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/1.426, allocations: 15.98 kB / 0.7964 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/1.426, allocations: 39.83 kB / 0.7964 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.426, allocations: 20 kB / 0.7965 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004661/1.426, allocations: 0.4962 MB / 0.7969 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.426, allocations: 4 kB / 0.7969 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004251/1.431, allocations: 1.536 MB / 0.7984 GB, free: 115.4 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.007767/1.438, allocations: 2.905 MB / 0.8013 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008241/1.439, allocations: 423.7 kB / 0.8017 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.439, allocations: 0 / 0.8017 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/1.439, allocations: 235.6 kB / 0.8019 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/1.44, allocations: 132.1 kB / 0.802 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.293/2.734, allocations: 0.6073 GB / 1.409 GB, free: 34.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/2.734, allocations: 399.2 kB / 1.41 GB, free: 34.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005643/2.734, allocations: 0.5201 MB / 1.41 GB, free: 33.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/2.735, allocations: 343.3 kB / 1.411 GB, free: 33.35 MB / 0.6231 GB Notification: Performance of SimCode: time 1.212e-06/2.735, allocations: 0 / 1.411 GB, free: 33.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3728/3.107, allocations: 64.55 MB / 1.474 GB, free: 192.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/19.8, allocations: 7.188 kB / 1.474 GB, free: 192.2 MB / 0.6231 GB " [Timeout remaining time 640] (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: 23.790453239926137]