Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001421/0.001421, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001839/0.001839, allocations: 212.3 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 44.25 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002322/0.002322, allocations: 75.89 kB / 467.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 61.03 MB / 0.5162 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01765/0.1496, allocations: 12.64 MB / 0.5285 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3129/0.4625, allocations: 23.35 MB / 0.5513 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.4627, allocations: 1.188 kB / 0.5513 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.4631, allocations: 81.66 kB / 0.5514 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03184/0.4949, allocations: 8.483 MB / 0.5597 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.496, allocations: 344.3 kB / 0.56 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004424/0.5005, allocations: 2.024 MB / 0.562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.612e-05/0.5005, allocations: 15.14 kB / 0.562 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.501, allocations: 252.8 kB / 0.5623 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.5068, allocations: 3.263 MB / 0.5655 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.5068, allocations: 9.75 kB / 0.5655 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02493/0.5318, allocations: 10.3 MB / 0.5755 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.5319, allocations: 56.19 kB / 0.5756 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.5323, allocations: 123.4 kB / 0.5757 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02434/0.5566, allocations: 6.302 MB / 0.5818 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5566, allocations: 0 / 0.5818 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5566, allocations: 4 kB / 0.5819 GB, free: 11.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.5566, allocations: 2.781 kB / 0.5819 GB, free: 11.18 MB / 430.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.006965/0.5636, allocations: 1.515 MB / 0.5833 GB, free: 10.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5636, allocations: 13.62 kB / 0.5833 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.413e-05/0.5637, allocations: 69.72 kB / 0.5834 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.5654, allocations: 225.5 kB / 0.5836 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.5658, allocations: 212.3 kB / 0.5838 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.5659, allocations: 22.97 kB / 0.5839 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.566, allocations: 39.12 kB / 0.5839 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.5685, allocations: 0.8771 MB / 0.5847 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5685, allocations: 0 / 0.5847 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.5685, allocations: 13.78 kB / 0.5848 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.5685, allocations: 8.25 kB / 0.5848 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.5711, allocations: 0.9276 MB / 0.5857 GB, free: 8.695 MB / 430.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.003644/0.5747, allocations: 2.006 MB / 0.5876 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5761, allocations: 371.1 kB / 0.588 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.5763, allocations: 72.58 kB / 0.5881 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.636/1.212, allocations: 158.7 MB / 0.743 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/1.214, allocations: 474.3 kB / 0.7435 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.636e-06/1.214, allocations: 0 / 0.7435 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.00332/1.217, allocations: 0.7827 MB / 0.7442 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/1.218, allocations: 379.7 kB / 0.7446 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/1.218, allocations: 187.1 kB / 0.7448 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/1.218, allocations: 33.7 kB / 0.7448 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/1.218, allocations: 188.1 kB / 0.745 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.218, allocations: 123.4 kB / 0.7451 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.218, allocations: 122.1 kB / 0.7452 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.218, allocations: 334.8 kB / 0.7455 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.219, allocations: 80.92 kB / 0.7456 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/1.219, allocations: 344.1 kB / 0.7459 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/1.22, allocations: 486.5 kB / 0.7464 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.22, allocations: 4 kB / 0.7464 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001085/1.221, allocations: 470 kB / 0.7469 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.221, allocations: 8 kB / 0.7469 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.221, allocations: 12 kB / 0.7469 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/1.221, allocations: 12 kB / 0.7469 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/1.222, allocations: 144.4 kB / 0.747 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.131e-05/1.222, allocations: 19.92 kB / 0.747 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/1.222, allocations: 51.67 kB / 0.7471 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/1.222, allocations: 47.97 kB / 0.7471 GB, free: 4.539 MB / 0.5762 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.000237/1.222, allocations: 157.6 kB / 0.7473 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.223, allocations: 27.86 kB / 0.7473 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/1.226, allocations: 2.843 MB / 0.7501 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/1.226, allocations: 19.92 kB / 0.7501 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.226, allocations: 4 kB / 0.7501 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.226, allocations: 11.92 kB / 0.7501 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/1.228, allocations: 0.9086 MB / 0.751 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.228, allocations: 8.938 kB / 0.751 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/1.228, allocations: 67.88 kB / 0.7511 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.228, allocations: 8 kB / 0.7511 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/1.228, allocations: 15.98 kB / 0.7511 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/1.228, allocations: 7.938 kB / 0.7511 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.228, allocations: 4 kB / 0.7511 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.229, allocations: 0.7166 MB / 0.7518 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.23, allocations: 59.52 kB / 0.7519 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/1.23, allocations: 108.2 kB / 0.752 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/1.23, allocations: 15.98 kB / 0.752 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/1.23, allocations: 37.61 kB / 0.752 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/1.23, allocations: 19.98 kB / 0.7521 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008202/1.231, allocations: 0.5001 MB / 0.7525 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.231, allocations: 0 / 0.7525 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006593/1.238, allocations: 1.52 MB / 0.754 GB, free: 13.36 MB / 0.5919 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.01173/1.249, allocations: 2.891 MB / 0.7568 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.25, allocations: 420.2 kB / 0.7572 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.251, allocations: 0.75 kB / 0.7573 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004563/1.251, allocations: 236.7 kB / 0.7575 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.252, allocations: 130.6 kB / 0.7576 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.5/2.752, allocations: 0.605 GB / 1.363 GB, free: 95.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/2.753, allocations: 400.3 kB / 1.363 GB, free: 95.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006141/2.753, allocations: 0.5226 MB / 1.363 GB, free: 94.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/2.754, allocations: 339.3 kB / 1.364 GB, free: 94.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/2.754, allocations: 0 / 1.364 GB, free: 94.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09271/2.846, allocations: 64.48 MB / 1.427 GB, free: 29.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/18.41, allocations: 11.98 kB / 1.427 GB, free: 29.9 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.17899090005085]