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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.742 MB / 190.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.2518/0.2518, allocations: 44.92 MB / 349.6 MB, free: 1.758 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.56 kB / 491.8 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1219, allocations: 64.26 MB / 0.5431 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0183/0.1402, allocations: 13.88 MB / 0.5566 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03381/0.174, allocations: 26.67 MB / 0.5826 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.1742, allocations: 4 kB / 0.5827 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1746, allocations: 103.4 kB / 0.5828 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02184/0.1964, allocations: 8.516 MB / 0.5911 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.1973, allocations: 354.1 kB / 0.5914 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.2015, allocations: 2.017 MB / 0.5934 GB, free: 384 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.2015, allocations: 12.41 kB / 0.5934 GB, free: 372 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.202, allocations: 270.8 kB / 0.5936 GB, free: 100 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006387/0.2084, allocations: 3.262 MB / 0.5968 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.2085, allocations: 12 kB / 0.5968 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02108/0.2295, allocations: 10.83 MB / 0.6074 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2297, allocations: 55.69 kB / 0.6075 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2299, allocations: 139.3 kB / 0.6076 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.292/0.5219, allocations: 6.329 MB / 0.6138 GB, free: 19.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.5219, allocations: 4.188 kB / 0.6138 GB, free: 19.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.522, allocations: 0 / 0.6138 GB, free: 19.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.522, allocations: 0 / 0.6138 GB, free: 19.93 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.01058/0.5326, allocations: 1.601 MB / 0.6154 GB, free: 19.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5326, allocations: 9.875 kB / 0.6154 GB, free: 19.05 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.849e-05/0.5327, allocations: 66.28 kB / 0.6154 GB, free: 19.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.5346, allocations: 223.5 kB / 0.6156 GB, free: 19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.5351, allocations: 271.1 kB / 0.6159 GB, free: 18.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.5351, allocations: 28.69 kB / 0.6159 GB, free: 18.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.5352, allocations: 34.47 kB / 0.616 GB, free: 18.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.5378, allocations: 0.819 MB / 0.6168 GB, free: 18.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5378, allocations: 4.688 kB / 0.6168 GB, free: 18.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.5379, allocations: 15.25 kB / 0.6168 GB, free: 18.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.5379, allocations: 8.562 kB / 0.6168 GB, free: 18.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.5406, allocations: 0.9386 MB / 0.6177 GB, free: 18.66 MB / 462.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.003293/0.5439, allocations: 2.574 MB / 0.6202 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.5453, allocations: 374 kB / 0.6206 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.5455, allocations: 71.73 kB / 0.6206 GB, free: 16.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6404/1.186, allocations: 227.5 MB / 0.8428 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001831/1.188, allocations: 473.7 kB / 0.8432 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.414e-06/1.188, allocations: 0 / 0.8432 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.003202/1.191, allocations: 0.7837 MB / 0.844 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/1.191, allocations: 374.9 kB / 0.8443 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/1.191, allocations: 179.6 kB / 0.8445 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/1.191, allocations: 33.69 kB / 0.8445 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.191, allocations: 186.1 kB / 0.8447 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.192, allocations: 127.6 kB / 0.8448 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.192, allocations: 128.3 kB / 0.845 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.192, allocations: 326.8 kB / 0.8453 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/1.192, allocations: 84.34 kB / 0.8454 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/1.193, allocations: 350.4 kB / 0.8457 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/1.193, allocations: 484.2 kB / 0.8461 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/1.193, allocations: 6.562 kB / 0.8462 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009472/1.194, allocations: 470.3 kB / 0.8466 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.194, allocations: 8 kB / 0.8466 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.194, allocations: 8 kB / 0.8466 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.194, allocations: 12.72 kB / 0.8466 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/1.195, allocations: 145.6 kB / 0.8468 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/1.195, allocations: 28.89 kB / 0.8468 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/1.195, allocations: 47.67 kB / 0.8468 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/1.195, allocations: 43.98 kB / 0.8469 GB, free: 0.5273 MB / 0.6544 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.0002172/1.195, allocations: 160.5 kB / 0.847 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/1.195, allocations: 27.86 kB / 0.8471 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2546/1.45, allocations: 2.604 MB / 0.8496 GB, free: 268.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/1.45, allocations: 22.31 kB / 0.8496 GB, free: 268.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.45, allocations: 3.688 kB / 0.8496 GB, free: 268.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.45, allocations: 5.438 kB / 0.8496 GB, free: 268.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/1.451, allocations: 0.9344 MB / 0.8505 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/1.451, allocations: 9.812 kB / 0.8506 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/1.452, allocations: 77.78 kB / 0.8506 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.452, allocations: 5.281 kB / 0.8506 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/1.452, allocations: 11.73 kB / 0.8506 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/1.452, allocations: 5.031 kB / 0.8507 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.452, allocations: 7.688 kB / 0.8507 GB, free: 268.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.453, allocations: 0.705 MB / 0.8513 GB, free: 267.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/1.453, allocations: 131.4 kB / 0.8515 GB, free: 267.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.453, allocations: 104.5 kB / 0.8516 GB, free: 267.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/1.453, allocations: 15.59 kB / 0.8516 GB, free: 267.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/1.453, allocations: 32.78 kB / 0.8516 GB, free: 267.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/1.453, allocations: 18.92 kB / 0.8516 GB, free: 267.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006441/1.454, allocations: 0.501 MB / 0.8521 GB, free: 267.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/1.454, allocations: 1 kB / 0.8521 GB, free: 267.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009917/1.464, allocations: 1.532 MB / 0.8536 GB, free: 267.4 MB / 0.6544 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.01709/1.481, allocations: 2.882 MB / 0.8564 GB, free: 266.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001123/1.482, allocations: 411.2 kB / 0.8568 GB, free: 266 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.482, allocations: 3.062 kB / 0.8568 GB, free: 266 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/1.483, allocations: 221.9 kB / 0.857 GB, free: 266 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/1.484, allocations: 142.4 kB / 0.8572 GB, free: 265.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.306/2.79, allocations: 0.6055 GB / 1.463 GB, free: 121.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/2.79, allocations: 0.9817 MB / 1.464 GB, free: 120.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005999/2.791, allocations: 0.5208 MB / 1.464 GB, free: 119.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/2.791, allocations: 339.3 kB / 1.464 GB, free: 119.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.523e-06/2.791, allocations: 0 / 1.464 GB, free: 119.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09572/2.887, allocations: 63.45 MB / 1.526 GB, free: 56.19 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/16.19, allocations: 11.39 kB / 1.526 GB, free: 56.18 MB / 0.6544 GB " [Timeout remaining time 644] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.88331288518384]