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.001775/0.001775, allocations: 116.7 kB / 17.84 MB, free: 5.242 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.001833/0.001833, allocations: 198.3 kB / 20.79 MB, free: 2.305 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.553/1.553, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.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.3352/0.3352, allocations: 44.22 MB / 327.3 MB, free: 7.105 MB / 254.1 MB " [Timeout remaining time 180] 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.002534/0.002534, allocations: 63.91 kB / 463 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2785, allocations: 61 MB / 0.5117 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01345/0.2919, allocations: 13.88 MB / 0.5252 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03486/0.3268, allocations: 26.67 MB / 0.5513 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.3271, allocations: 4 kB / 0.5513 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.3276, allocations: 99.33 kB / 0.5514 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02988/0.3575, allocations: 8.518 MB / 0.5597 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3586, allocations: 338.9 kB / 0.56 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005804/0.3644, allocations: 2.017 MB / 0.562 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3646, allocations: 24.39 kB / 0.562 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.3657, allocations: 270.9 kB / 0.5623 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008433/0.3741, allocations: 3.27 MB / 0.5655 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.92e-05/0.3742, allocations: 8 kB / 0.5655 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02286/0.3971, allocations: 10.82 MB / 0.576 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3972, allocations: 47.81 kB / 0.5761 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.3975, allocations: 143.3 kB / 0.5762 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.414, allocations: 6.318 MB / 0.5824 GB, free: 6.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.414, allocations: 0 / 0.5824 GB, free: 6.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.414, allocations: 0 / 0.5824 GB, free: 6.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.414, allocations: 4 kB / 0.5824 GB, free: 6.285 MB / 446.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.004965/0.4189, allocations: 1.593 MB / 0.5839 GB, free: 4.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.419, allocations: 15.89 kB / 0.584 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.187e-05/0.419, allocations: 12.78 kB / 0.584 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.683e-05/0.4191, allocations: 74.66 kB / 0.584 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.4209, allocations: 220.5 kB / 0.5843 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.4213, allocations: 279.9 kB / 0.5845 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.4213, allocations: 28.78 kB / 0.5846 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.4214, allocations: 31.94 kB / 0.5846 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.4239, allocations: 0.8211 MB / 0.5854 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4239, allocations: 0 / 0.5854 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.424, allocations: 16 kB / 0.5854 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.424, allocations: 8 kB / 0.5854 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.4267, allocations: 0.9347 MB / 0.5863 GB, free: 2.113 MB / 446.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.003812/0.4305, allocations: 2.585 MB / 0.5888 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.4321, allocations: 366.2 kB / 0.5892 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.4323, allocations: 72.81 kB / 0.5893 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8381/1.27, allocations: 227.4 MB / 0.8113 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/1.272, allocations: 471.1 kB / 0.8118 GB, free: 7.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 3.937e-06/1.272, allocations: 0 / 0.8118 GB, free: 7.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.00337/1.275, allocations: 0.7876 MB / 0.8126 GB, free: 6.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/1.276, allocations: 367.8 kB / 0.8129 GB, free: 5.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/1.276, allocations: 199.5 kB / 0.8131 GB, free: 5.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/1.276, allocations: 30.02 kB / 0.8131 GB, free: 5.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.276, allocations: 196.5 kB / 0.8133 GB, free: 5.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.276, allocations: 115.6 kB / 0.8134 GB, free: 5.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/1.276, allocations: 122.1 kB / 0.8135 GB, free: 5.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.276, allocations: 334.8 kB / 0.8139 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/1.277, allocations: 81.06 kB / 0.8139 GB, free: 4.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/1.277, allocations: 344.7 kB / 0.8143 GB, free: 4.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/1.278, allocations: 482.2 kB / 0.8147 GB, free: 3.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.278, allocations: 3.938 kB / 0.8147 GB, free: 3.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001033/1.279, allocations: 467.1 kB / 0.8152 GB, free: 3.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.279, allocations: 8 kB / 0.8152 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.279, allocations: 8.844 kB / 0.8152 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/1.279, allocations: 12 kB / 0.8152 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/1.279, allocations: 147.7 kB / 0.8153 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.279, allocations: 19.92 kB / 0.8154 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/1.28, allocations: 57.03 kB / 0.8154 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/1.28, allocations: 39.98 kB / 0.8155 GB, free: 2.992 MB / 0.545 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.0002229/1.28, allocations: 168.8 kB / 0.8156 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.28, allocations: 23.86 kB / 0.8156 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/1.283, allocations: 2.611 MB / 0.8182 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/1.283, allocations: 15.98 kB / 0.8182 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.283, allocations: 4 kB / 0.8182 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.283, allocations: 13.42 kB / 0.8182 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.284, allocations: 0.9394 MB / 0.8191 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.284, allocations: 0 / 0.8191 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/1.285, allocations: 79.86 kB / 0.8192 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/1.285, allocations: 4 kB / 0.8192 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.285, allocations: 12.19 kB / 0.8192 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/1.285, allocations: 15.92 kB / 0.8192 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.285, allocations: 4 kB / 0.8192 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.286, allocations: 0.6933 MB / 0.8199 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/1.286, allocations: 136.6 kB / 0.8201 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.286, allocations: 107 kB / 0.8202 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/1.286, allocations: 15.98 kB / 0.8202 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.287, allocations: 31.84 kB / 0.8202 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/1.287, allocations: 20.61 kB / 0.8202 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006587/1.287, allocations: 0.5001 MB / 0.8207 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.287, allocations: 4 kB / 0.8207 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004245/1.291, allocations: 1.524 MB / 0.8222 GB, free: 11.95 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.009137/1.301, allocations: 2.882 MB / 0.825 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.302, allocations: 420.2 kB / 0.8254 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.302, allocations: 0 / 0.8254 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/1.302, allocations: 221.6 kB / 0.8256 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/1.303, allocations: 131.6 kB / 0.8258 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.402/2.705, allocations: 0.605 GB / 1.431 GB, free: 139.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/2.706, allocations: 0.9817 MB / 1.432 GB, free: 138.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005378/2.706, allocations: 0.5225 MB / 1.432 GB, free: 137.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/2.706, allocations: 339.3 kB / 1.433 GB, free: 137.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.011e-06/2.706, allocations: 0 / 1.433 GB, free: 137.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/2.784, allocations: 63.42 MB / 1.494 GB, free: 74.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/16.61, allocations: 11.7 kB / 1.494 GB, free: 74.09 MB / 0.6075 GB " [Timeout remaining time 643] (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: 20.363327323982958]