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.001404/0.001404, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001596/0.001596, allocations: 215.6 kB / 23.77 MB, free: 4.551 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.472/1.472, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2305/0.2305, allocations: 44.27 MB / 331.1 MB, free: 9.332 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",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.002502/0.002502, allocations: 67.91 kB / 468.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1322, allocations: 61.05 MB / 0.517 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01757/0.1498, allocations: 12.62 MB / 0.5293 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2721/0.4219, allocations: 23.32 MB / 0.5521 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.4221, allocations: 1.219 kB / 0.5521 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.4225, allocations: 84.23 kB / 0.5521 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02758/0.4501, allocations: 8.488 MB / 0.5604 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.451, allocations: 348.1 kB / 0.5608 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004727/0.4558, allocations: 2.013 MB / 0.5627 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.4558, allocations: 16.48 kB / 0.5627 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.4564, allocations: 253.8 kB / 0.563 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006969/0.4633, allocations: 3.272 MB / 0.5662 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.4634, allocations: 10.94 kB / 0.5662 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02872/0.4921, allocations: 10.74 MB / 0.5767 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.4923, allocations: 51.92 kB / 0.5767 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.4927, allocations: 127.7 kB / 0.5769 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02745/0.5202, allocations: 6.301 MB / 0.583 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5202, allocations: 0 / 0.583 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5202, allocations: 5.656 kB / 0.583 GB, free: 10.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5202, allocations: 0 / 0.583 GB, free: 10.79 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.007202/0.5274, allocations: 1.52 MB / 0.5845 GB, free: 9.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.5274, allocations: 10.25 kB / 0.5845 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.452e-05/0.5275, allocations: 7.844 kB / 0.5845 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.5276, allocations: 69.5 kB / 0.5846 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.5295, allocations: 227.2 kB / 0.5848 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.53, allocations: 211.6 kB / 0.585 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.53, allocations: 21.84 kB / 0.585 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.5301, allocations: 39.78 kB / 0.5851 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.5329, allocations: 0.8741 MB / 0.5859 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5329, allocations: 3.938 kB / 0.5859 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.5329, allocations: 13.84 kB / 0.5859 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.5329, allocations: 8.281 kB / 0.5859 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.5357, allocations: 0.9362 MB / 0.5868 GB, free: 8.312 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.003898/0.5396, allocations: 2.005 MB / 0.5888 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.541, allocations: 371 kB / 0.5892 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.5412, allocations: 69.28 kB / 0.5892 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5911/1.132, allocations: 158.7 MB / 0.7442 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/1.134, allocations: 478.3 kB / 0.7446 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/1.134, allocations: 3.938 kB / 0.7446 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003472/1.137, allocations: 0.779 MB / 0.7454 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003121/1.138, allocations: 375.7 kB / 0.7458 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/1.138, allocations: 183.2 kB / 0.7459 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.138, allocations: 33.7 kB / 0.746 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/1.138, allocations: 196.1 kB / 0.7462 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/1.138, allocations: 119 kB / 0.7463 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/1.139, allocations: 118.1 kB / 0.7464 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.139, allocations: 342.8 kB / 0.7467 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/1.139, allocations: 77.12 kB / 0.7468 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/1.14, allocations: 348.1 kB / 0.7471 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/1.14, allocations: 476.7 kB / 0.7476 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/1.14, allocations: 4 kB / 0.7476 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001069/1.142, allocations: 473.4 kB / 0.748 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/1.142, allocations: 11.94 kB / 0.748 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.142, allocations: 12 kB / 0.7481 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/1.142, allocations: 12 kB / 0.7481 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/1.142, allocations: 140.7 kB / 0.7482 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/1.142, allocations: 15.94 kB / 0.7482 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/1.143, allocations: 47.69 kB / 0.7483 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/1.143, allocations: 47.97 kB / 0.7483 GB, free: 4.199 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.0002492/1.143, allocations: 173.7 kB / 0.7485 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/1.143, allocations: 31.84 kB / 0.7485 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/1.146, allocations: 2.756 MB / 0.7512 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/1.146, allocations: 19.97 kB / 0.7512 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.146, allocations: 4 kB / 0.7512 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.146, allocations: 4 kB / 0.7512 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/1.148, allocations: 0.9199 MB / 0.7521 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.148, allocations: 4 kB / 0.7521 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/1.148, allocations: 75.86 kB / 0.7522 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.148, allocations: 8.219 kB / 0.7522 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/1.148, allocations: 16.56 kB / 0.7522 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-06/1.148, allocations: 4 kB / 0.7522 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.148, allocations: 7.938 kB / 0.7522 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/1.149, allocations: 0.7205 MB / 0.7529 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/1.149, allocations: 56.44 kB / 0.753 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.149, allocations: 107 kB / 0.7531 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/1.15, allocations: 19.97 kB / 0.7531 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/1.15, allocations: 35.89 kB / 0.7531 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/1.15, allocations: 16 kB / 0.7532 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007449/1.151, allocations: 0.5078 MB / 0.7537 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.151, allocations: 0 / 0.7537 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005955/1.157, allocations: 1.516 MB / 0.7551 GB, free: 13.08 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.01184/1.168, allocations: 2.898 MB / 0.758 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.169, allocations: 403.6 kB / 0.7583 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.169, allocations: 7.984 kB / 0.7584 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/1.17, allocations: 230.8 kB / 0.7586 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/1.171, allocations: 135.5 kB / 0.7587 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.486/2.657, allocations: 0.605 GB / 1.364 GB, free: 95.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/2.657, allocations: 396.3 kB / 1.364 GB, free: 95.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006169/2.658, allocations: 0.5213 MB / 1.365 GB, free: 94.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/2.658, allocations: 339.3 kB / 1.365 GB, free: 94.61 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/2.658, allocations: 4 kB / 1.365 GB, free: 94.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/2.773, allocations: 64.39 MB / 1.428 GB, free: 30.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/19.36, allocations: 4 kB / 1.428 GB, free: 30.2 MB / 0.5919 GB " [Timeout remaining time 640] (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: 23.35289274796378]