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.001361/0.001361, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001535/0.001535, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2304/0.2304, allocations: 44.91 MB / 358.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",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.002272/0.002272, allocations: 71.89 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3292, allocations: 65.48 MB / 0.5571 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01936/0.3486, allocations: 14.03 MB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03529/0.3839, allocations: 26.78 MB / 0.5969 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.3841, allocations: 3.938 kB / 0.5969 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.3846, allocations: 91.45 kB / 0.597 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02632/0.411, allocations: 8.573 MB / 0.6054 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.4119, allocations: 354 kB / 0.6057 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.416, allocations: 2.013 MB / 0.6077 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.4161, allocations: 8.594 kB / 0.6077 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.4166, allocations: 278.8 kB / 0.608 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/0.4231, allocations: 3.281 MB / 0.6112 GB, free: 100 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.4232, allocations: 12 kB / 0.6112 GB, free: 88 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/0.4463, allocations: 10.86 MB / 0.6218 GB, free: 5.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.4464, allocations: 47.77 kB / 0.6218 GB, free: 5.164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.4467, allocations: 139.3 kB / 0.622 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.4651, allocations: 6.341 MB / 0.6282 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.4651, allocations: 0 / 0.6282 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4651, allocations: 0 / 0.6282 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.4652, allocations: 0 / 0.6282 GB, free: 14.67 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.00618/0.4713, allocations: 1.544 MB / 0.6297 GB, free: 13.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4714, allocations: 8.031 kB / 0.6297 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.416e-05/0.4715, allocations: 70.72 kB / 0.6298 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.4733, allocations: 220.5 kB / 0.63 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.4737, allocations: 218.1 kB / 0.6302 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.4737, allocations: 25.03 kB / 0.6302 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.4738, allocations: 35.88 kB / 0.6302 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.4763, allocations: 0.8212 MB / 0.631 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4763, allocations: 0 / 0.631 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.4764, allocations: 16 kB / 0.631 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4764, allocations: 8 kB / 0.6311 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.479, allocations: 0.939 MB / 0.632 GB, free: 10.66 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.004024/0.483, allocations: 2.304 MB / 0.6342 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.4846, allocations: 374.1 kB / 0.6346 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.4848, allocations: 72.81 kB / 0.6346 GB, free: 7.766 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8586/1.343, allocations: 160.4 MB / 0.7913 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/1.345, allocations: 479.5 kB / 0.7917 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/1.345, allocations: 4 kB / 0.7917 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002816/1.348, allocations: 0.7762 MB / 0.7925 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/1.348, allocations: 379.9 kB / 0.7929 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.348, allocations: 180.6 kB / 0.793 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/1.348, allocations: 33.7 kB / 0.7931 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/1.348, allocations: 187.9 kB / 0.7932 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/1.348, allocations: 114.5 kB / 0.7933 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.348, allocations: 126.1 kB / 0.7935 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/1.348, allocations: 338.8 kB / 0.7938 GB, free: 120 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/1.348, allocations: 84.94 kB / 0.7939 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/1.349, allocations: 336.1 kB / 0.7942 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/1.349, allocations: 481.8 kB / 0.7947 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.349, allocations: 7.938 kB / 0.7947 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007667/1.35, allocations: 471.1 kB / 0.7951 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.35, allocations: 8 kB / 0.7951 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.35, allocations: 12 kB / 0.7951 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.35, allocations: 12 kB / 0.7951 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/1.35, allocations: 142.2 kB / 0.7953 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.35, allocations: 15.94 kB / 0.7953 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/1.351, allocations: 56.73 kB / 0.7953 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/1.351, allocations: 47.53 kB / 0.7954 GB, free: 118.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.0001254/1.351, allocations: 168.6 kB / 0.7955 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/1.351, allocations: 35.78 kB / 0.7956 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.353, allocations: 2.744 MB / 0.7983 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.353, allocations: 19.97 kB / 0.7983 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.353, allocations: 4.375 kB / 0.7983 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.353, allocations: 10.53 kB / 0.7983 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007824/1.354, allocations: 0.9402 MB / 0.7992 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.354, allocations: 4 kB / 0.7992 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/1.354, allocations: 71.86 kB / 0.7993 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.354, allocations: 8 kB / 0.7993 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/1.354, allocations: 8 kB / 0.7993 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/1.354, allocations: 4 kB / 0.7993 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.354, allocations: 7.938 kB / 0.7993 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/1.355, allocations: 0.7243 MB / 0.8 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/1.355, allocations: 49.41 kB / 0.8001 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.355, allocations: 107.3 kB / 0.8002 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/1.355, allocations: 20.86 kB / 0.8002 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/1.356, allocations: 35.89 kB / 0.8002 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/1.356, allocations: 12 kB / 0.8002 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004819/1.356, allocations: 0.5001 MB / 0.8007 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.356, allocations: 0 / 0.8007 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003834/1.36, allocations: 1.528 MB / 0.8022 GB, free: 111.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.007105/1.367, allocations: 2.921 MB / 0.8051 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000789/1.368, allocations: 411.9 kB / 0.8055 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.368, allocations: 0 / 0.8055 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/1.368, allocations: 232.7 kB / 0.8057 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/1.369, allocations: 135.4 kB / 0.8058 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.31/2.679, allocations: 0.6073 GB / 1.413 GB, free: 30.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/2.679, allocations: 0.9895 MB / 1.414 GB, free: 29.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006105/2.68, allocations: 0.5174 MB / 1.415 GB, free: 28.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/2.68, allocations: 339.3 kB / 1.415 GB, free: 28.36 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/2.68, allocations: 0 / 1.415 GB, free: 28.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3842/3.064, allocations: 64.23 MB / 1.478 GB, free: 193.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/19.4, allocations: 8.5 kB / 1.478 GB, free: 193.9 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: 22.822452672058716]