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.001247/0.001247, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002222/0.002222, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2362/0.2362, allocations: 44.91 MB / 359.6 MB, free: 6.273 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.002045/0.002045, allocations: 71.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0187/0.3732, allocations: 14.04 MB / 0.5716 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03518/0.4084, allocations: 26.78 MB / 0.5977 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.4086, allocations: 3.938 kB / 0.5977 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.4091, allocations: 91.45 kB / 0.5978 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02602/0.4351, allocations: 8.557 MB / 0.6062 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.4364, allocations: 350 kB / 0.6065 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005748/0.4422, allocations: 2.013 MB / 0.6085 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4423, allocations: 12.59 kB / 0.6085 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.4432, allocations: 278.8 kB / 0.6087 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007494/0.4507, allocations: 3.277 MB / 0.6119 GB, free: 140 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.62e-05/0.4508, allocations: 12 kB / 0.6119 GB, free: 128 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02503/0.4758, allocations: 10.87 MB / 0.6226 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4759, allocations: 47.66 kB / 0.6226 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.4762, allocations: 139.3 kB / 0.6227 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.492, allocations: 6.337 MB / 0.6289 GB, free: 14.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.492, allocations: 0 / 0.6289 GB, free: 14.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.492, allocations: 0 / 0.6289 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.4921, allocations: 0 / 0.6289 GB, free: 14.7 MB / 478.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.004831/0.4969, allocations: 1.541 MB / 0.6304 GB, free: 13.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4969, allocations: 12.03 kB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.431e-05/0.497, allocations: 16.83 kB / 0.6305 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.497, allocations: 66.72 kB / 0.6305 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.4988, allocations: 228.5 kB / 0.6307 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.4991, allocations: 210.2 kB / 0.6309 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.4992, allocations: 32.78 kB / 0.631 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.4992, allocations: 31.98 kB / 0.631 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5017, allocations: 0.8251 MB / 0.6318 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5018, allocations: 0 / 0.6318 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.5018, allocations: 16 kB / 0.6318 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5018, allocations: 12 kB / 0.6318 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.5044, allocations: 0.9351 MB / 0.6327 GB, free: 10.68 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.003376/0.5078, allocations: 2.3 MB / 0.635 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5093, allocations: 374.1 kB / 0.6354 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.5095, allocations: 68.83 kB / 0.6354 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9034/1.413, allocations: 160.4 MB / 0.7921 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/1.414, allocations: 475.5 kB / 0.7925 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/1.414, allocations: 4 kB / 0.7925 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002968/1.417, allocations: 0.7804 MB / 0.7933 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/1.417, allocations: 380 kB / 0.7936 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/1.418, allocations: 176.6 kB / 0.7938 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/1.418, allocations: 33.55 kB / 0.7938 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/1.418, allocations: 199.5 kB / 0.794 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/1.418, allocations: 114.7 kB / 0.7941 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.418, allocations: 122.1 kB / 0.7942 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.679e-05/1.418, allocations: 338.6 kB / 0.7946 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/1.418, allocations: 80.94 kB / 0.7946 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/1.418, allocations: 344.1 kB / 0.795 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/1.419, allocations: 479.6 kB / 0.7954 GB, free: 119 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.419, allocations: 4 kB / 0.7954 GB, free: 119 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008573/1.42, allocations: 479 kB / 0.7959 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.42, allocations: 8 kB / 0.7959 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.42, allocations: 8 kB / 0.7959 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.42, allocations: 16 kB / 0.7959 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/1.42, allocations: 139.8 kB / 0.7961 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.42, allocations: 15.94 kB / 0.7961 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/1.421, allocations: 49.78 kB / 0.7961 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.421, allocations: 55.91 kB / 0.7962 GB, free: 118.3 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.0001393/1.421, allocations: 164.2 kB / 0.7963 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.421, allocations: 31.84 kB / 0.7964 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/1.423, allocations: 2.749 MB / 0.799 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/1.423, allocations: 20.34 kB / 0.7991 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.423, allocations: 8 kB / 0.7991 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.423, allocations: 4 kB / 0.7991 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007855/1.424, allocations: 0.933 MB / 0.8 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.424, allocations: 4 kB / 0.8 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/1.424, allocations: 75.86 kB / 0.8001 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.424, allocations: 4 kB / 0.8001 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/1.424, allocations: 12.75 kB / 0.8001 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.424, allocations: 4.078 kB / 0.8001 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.424, allocations: 11.92 kB / 0.8001 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/1.425, allocations: 0.7243 MB / 0.8008 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/1.425, allocations: 47.58 kB / 0.8008 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.425, allocations: 111 kB / 0.801 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.425, allocations: 15.19 kB / 0.801 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/1.425, allocations: 35.88 kB / 0.801 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/1.426, allocations: 16 kB / 0.801 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004763/1.426, allocations: 0.5075 MB / 0.8015 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.426, allocations: 0 / 0.8015 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004025/1.43, allocations: 1.524 MB / 0.803 GB, free: 111.2 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.008669/1.439, allocations: 2.922 MB / 0.8059 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009398/1.44, allocations: 411.9 kB / 0.8062 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.44, allocations: 0 / 0.8062 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/1.44, allocations: 238.1 kB / 0.8065 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.441, allocations: 125.3 kB / 0.8066 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.249/2.69, allocations: 0.6073 GB / 1.414 GB, free: 30.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/2.69, allocations: 0.9856 MB / 1.415 GB, free: 29.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005883/2.69, allocations: 0.5214 MB / 1.415 GB, free: 29.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/2.691, allocations: 342.1 kB / 1.416 GB, free: 28.74 MB / 0.6231 GB Notification: Performance of SimCode: time 1.522e-06/2.691, allocations: 0 / 1.416 GB, free: 28.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3481/3.039, allocations: 64.25 MB / 1.478 GB, free: 194.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/19.58, allocations: 7.312 kB / 1.478 GB, free: 194.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.513305974018294]