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.00126/0.00126, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001389/0.001389, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2294/0.2294, allocations: 46.96 MB / 360.9 MB, free: 4.059 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="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 0.002264/0.002264, allocations: 63.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3497, allocations: 66.05 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01873/0.3684, allocations: 12.71 MB / 0.5731 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03167/0.4001, allocations: 23.38 MB / 0.5959 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.4003, allocations: 0 / 0.5959 GB, free: 12 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.4007, allocations: 83.44 kB / 0.596 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02527/0.426, allocations: 8.503 MB / 0.6043 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.427, allocations: 346.7 kB / 0.6046 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.4319, allocations: 2.017 MB / 0.6066 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.661e-05/0.432, allocations: 8.594 kB / 0.6066 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.4325, allocations: 270.8 kB / 0.6068 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007698/0.4402, allocations: 3.274 MB / 0.61 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.4403, allocations: 16 kB / 0.61 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02106/0.4614, allocations: 10.77 MB / 0.6206 GB, free: 6.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.4615, allocations: 47.77 kB / 0.6206 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.4618, allocations: 119.5 kB / 0.6207 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.4778, allocations: 6.329 MB / 0.6269 GB, free: 140 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4778, allocations: 4 kB / 0.6269 GB, free: 136 kB / 462.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4778, allocations: 0 / 0.6269 GB, free: 136 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4778, allocations: 4 kB / 0.6269 GB, free: 132 kB / 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.004827/0.4826, allocations: 1.525 MB / 0.6284 GB, free: 14.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4827, allocations: 8.031 kB / 0.6284 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.224e-05/0.4828, allocations: 70.72 kB / 0.6285 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.4845, allocations: 224.5 kB / 0.6287 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.4849, allocations: 218.1 kB / 0.6289 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.4849, allocations: 21.03 kB / 0.6289 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.485, allocations: 35.94 kB / 0.6289 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.4876, allocations: 0.8715 MB / 0.6298 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4876, allocations: 11.92 kB / 0.6298 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.4876, allocations: 16 kB / 0.6298 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4876, allocations: 12 kB / 0.6298 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.4903, allocations: 0.9195 MB / 0.6307 GB, free: 12.08 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.00332/0.4936, allocations: 2.006 MB / 0.6327 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.495, allocations: 374.2 kB / 0.6331 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4952, allocations: 76.75 kB / 0.6331 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8446/1.34, allocations: 161 MB / 0.7904 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/1.341, allocations: 472.4 kB / 0.7908 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/1.341, allocations: 0 / 0.7908 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002853/1.344, allocations: 0.7795 MB / 0.7916 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/1.344, allocations: 379.6 kB / 0.7919 GB, free: 119 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/1.344, allocations: 194.6 kB / 0.7921 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/1.344, allocations: 33.7 kB / 0.7922 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/1.344, allocations: 183.8 kB / 0.7923 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/1.344, allocations: 121.9 kB / 0.7925 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.345, allocations: 122.1 kB / 0.7926 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.345, allocations: 339.1 kB / 0.7929 GB, free: 118 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/1.345, allocations: 88.92 kB / 0.793 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/1.345, allocations: 340.1 kB / 0.7933 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/1.346, allocations: 474.3 kB / 0.7938 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.346, allocations: 7.938 kB / 0.7938 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008071/1.346, allocations: 469.3 kB / 0.7942 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.347, allocations: 12 kB / 0.7942 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.347, allocations: 8 kB / 0.7942 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.347, allocations: 12.94 kB / 0.7942 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/1.347, allocations: 143.7 kB / 0.7944 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.347, allocations: 19.92 kB / 0.7944 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/1.347, allocations: 53.62 kB / 0.7945 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.347, allocations: 47.97 kB / 0.7945 GB, free: 116.1 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.0001359/1.347, allocations: 164.8 kB / 0.7947 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/1.348, allocations: 23.86 kB / 0.7947 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/1.35, allocations: 2.751 MB / 0.7974 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.35, allocations: 19.98 kB / 0.7974 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.35, allocations: 0 / 0.7974 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.35, allocations: 7.984 kB / 0.7974 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/1.35, allocations: 0.9186 MB / 0.7983 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.35, allocations: 4 kB / 0.7983 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/1.351, allocations: 72.25 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.351, allocations: 4 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/1.351, allocations: 15.98 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.351, allocations: 7.938 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.351, allocations: 4 kB / 0.7984 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/1.351, allocations: 0.7204 MB / 0.7991 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/1.351, allocations: 51.52 kB / 0.7991 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.352, allocations: 104.3 kB / 0.7992 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/1.352, allocations: 23.98 kB / 0.7993 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/1.352, allocations: 39.67 kB / 0.7993 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/1.352, allocations: 15.98 kB / 0.7993 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004501/1.352, allocations: 0.5001 MB / 0.7998 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.352, allocations: 0 / 0.7998 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00364/1.356, allocations: 1.532 MB / 0.8013 GB, free: 109.1 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.007681/1.364, allocations: 2.914 MB / 0.8042 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008226/1.365, allocations: 420.4 kB / 0.8046 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.365, allocations: 4 kB / 0.8046 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002582/1.365, allocations: 225.6 kB / 0.8048 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/1.366, allocations: 155.1 kB / 0.8049 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.276/2.641, allocations: 0.6073 GB / 1.412 GB, free: 54.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/2.642, allocations: 401.5 kB / 1.413 GB, free: 53.94 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005986/2.642, allocations: 0.5286 MB / 1.413 GB, free: 53.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/2.642, allocations: 346.8 kB / 1.413 GB, free: 53.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/2.642, allocations: 0 / 1.413 GB, free: 53.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/3.003, allocations: 64.86 MB / 1.477 GB, free: 241.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/17.72, allocations: 2.656 kB / 1.477 GB, free: 241.8 MB / 0.6387 GB " [Timeout remaining time 642] (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.995185722975293]