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.0008138/0.0008138, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009471/0.0009471, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9289/0.9289, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2672/0.2672, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 439.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.054e-05, allocations: 2.281 kB / 439.6 MB, free: 4.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2173/0.2173, allocations: 12.7 MB / 452.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2338, allocations: 23.36 MB / 475.7 MB, free: 24.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2339, allocations: 3.375 kB / 475.7 MB, free: 24.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.2343, allocations: 85.47 kB / 475.8 MB, free: 24.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01603/0.2503, allocations: 8.642 MB / 484.4 MB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.2509, allocations: 352.2 kB / 484.8 MB, free: 20.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.2529, allocations: 2.03 MB / 486.8 MB, free: 19.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.253, allocations: 21.06 kB / 486.8 MB, free: 19.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.2533, allocations: 314.1 kB / 487.1 MB, free: 19.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003003/0.2563, allocations: 3.258 MB / 490.4 MB, free: 18.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.2563, allocations: 13.03 kB / 490.4 MB, free: 18.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/0.2738, allocations: 10.34 MB / 0.489 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.2739, allocations: 57.12 kB / 0.4891 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.2741, allocations: 103.3 kB / 0.4892 GB, free: 15.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.2905, allocations: 8.024 MB / 0.497 GB, free: 11.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2905, allocations: 0 / 0.497 GB, free: 11.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2905, allocations: 1.125 kB / 0.497 GB, free: 11.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2905, allocations: 0 / 0.497 GB, free: 11.07 MB / 410.7 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.003074/0.2936, allocations: 1.52 MB / 0.4985 GB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2937, allocations: 13.72 kB / 0.4985 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.2937, allocations: 69.03 kB / 0.4986 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.2946, allocations: 223.2 kB / 0.4988 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.2949, allocations: 218.6 kB / 0.499 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.2949, allocations: 22 kB / 0.499 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.295, allocations: 32.72 kB / 0.499 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2963, allocations: 0.8687 MB / 0.4999 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2963, allocations: 5 kB / 0.4999 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.2963, allocations: 16.56 kB / 0.4999 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2963, allocations: 12.23 kB / 0.4999 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2977, allocations: 0.9252 MB / 0.5008 GB, free: 8.594 MB / 410.7 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.001664/0.2993, allocations: 1.989 MB / 0.5028 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.3001, allocations: 370.7 kB / 0.5031 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.3002, allocations: 68.83 kB / 0.5032 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4818/0.782, allocations: 161 MB / 0.6604 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009861/0.783, allocations: 479.1 kB / 0.6609 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.783, allocations: 0 / 0.6609 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001825/0.7848, allocations: 0.7895 MB / 0.6616 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.7848, allocations: 375.4 kB / 0.662 GB, free: 167 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.785, allocations: 187.5 kB / 0.6622 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.785, allocations: 37.75 kB / 0.6622 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.7851, allocations: 189.1 kB / 0.6624 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.7852, allocations: 116.7 kB / 0.6625 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.7853, allocations: 122.5 kB / 0.6626 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.7854, allocations: 330.4 kB / 0.6629 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.7855, allocations: 83.7 kB / 0.663 GB, free: 166.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.7858, allocations: 345.2 kB / 0.6633 GB, free: 165.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.7862, allocations: 481.6 kB / 0.6638 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7862, allocations: 6.969 kB / 0.6638 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006634/0.7869, allocations: 478.9 kB / 0.6643 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.7869, allocations: 11.16 kB / 0.6643 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.7869, allocations: 10.09 kB / 0.6643 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.7869, allocations: 16.34 kB / 0.6643 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.7872, allocations: 140 kB / 0.6644 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.7873, allocations: 17.86 kB / 0.6644 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.7874, allocations: 49.58 kB / 0.6645 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.7875, allocations: 44.86 kB / 0.6645 GB, free: 165.2 MB / 0.5261 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.0001092/0.7876, allocations: 163.9 kB / 0.6647 GB, free: 165 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.7877, allocations: 32.75 kB / 0.6647 GB, free: 165 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.7898, allocations: 2.843 MB / 0.6675 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.7898, allocations: 19.16 kB / 0.6675 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.7898, allocations: 8.531 kB / 0.6675 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.7898, allocations: 4.938 kB / 0.6675 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.7905, allocations: 0.9079 MB / 0.6684 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7905, allocations: 3.453 kB / 0.6684 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.7907, allocations: 72.45 kB / 0.6685 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.7907, allocations: 8.062 kB / 0.6685 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.7907, allocations: 11.7 kB / 0.6685 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.7907, allocations: 6.016 kB / 0.6685 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7907, allocations: 6.688 kB / 0.6685 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.7914, allocations: 0.7225 MB / 0.6692 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.7915, allocations: 52.7 kB / 0.6693 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.7916, allocations: 110.5 kB / 0.6694 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7917, allocations: 16.59 kB / 0.6694 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.7918, allocations: 32.94 kB / 0.6694 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.7918, allocations: 18.67 kB / 0.6694 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004499/0.7922, allocations: 0.5057 MB / 0.6699 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.7922, allocations: 0 / 0.6699 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004886/0.7971, allocations: 1.531 MB / 0.6714 GB, free: 162.3 MB / 0.5261 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.005225/0.8023, allocations: 3.125 MB / 0.6745 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.8029, allocations: 413.3 kB / 0.6749 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.8029, allocations: 1.25 kB / 0.6749 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.8031, allocations: 234.2 kB / 0.6751 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.8037, allocations: 137.3 kB / 0.6752 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.021/1.825, allocations: 0.6072 GB / 1.282 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.825, allocations: 399.3 kB / 1.283 GB, free: 169.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006966/1.826, allocations: 0.5173 MB / 1.283 GB, free: 169.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/1.826, allocations: 338 kB / 1.284 GB, free: 169 MB / 0.5417 GB Notification: Performance of SimCode: time 1.332e-06/1.826, allocations: 1.5 kB / 1.284 GB, free: 169 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07978/1.906, allocations: 64.94 MB / 1.347 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/11.31, allocations: 3.938 kB / 1.347 GB, free: 114.8 MB / 0.5417 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/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: 13.610874806530774]