Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001729/0.001729, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002155/0.002155, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 46.97 MB / 361.7 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.91 kB / 0.4969 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3714, allocations: 66.04 MB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0173/0.3887, allocations: 12.7 MB / 0.5738 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03067/0.4193, allocations: 23.34 MB / 0.5966 GB, free: 28 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.4196, allocations: 0 / 0.5966 GB, free: 28 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.42, allocations: 87.42 kB / 0.5967 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02516/0.4452, allocations: 8.507 MB / 0.605 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.4462, allocations: 346.6 kB / 0.6053 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004675/0.4508, allocations: 2.017 MB / 0.6073 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.341e-05/0.4509, allocations: 16.53 kB / 0.6073 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.4514, allocations: 258.9 kB / 0.6076 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007255/0.4587, allocations: 3.281 MB / 0.6108 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.4587, allocations: 12 kB / 0.6108 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/0.4811, allocations: 10.75 MB / 0.6213 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.4812, allocations: 55.75 kB / 0.6213 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.4815, allocations: 123.5 kB / 0.6214 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.4967, allocations: 6.329 MB / 0.6276 GB, free: 152 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4967, allocations: 4 kB / 0.6276 GB, free: 148 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4967, allocations: 0 / 0.6276 GB, free: 148 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4967, allocations: 0 / 0.6276 GB, free: 148 kB / 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.00453/0.5012, allocations: 1.533 MB / 0.6291 GB, free: 14.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5013, allocations: 8.031 kB / 0.6291 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.695e-05/0.5013, allocations: 8.844 kB / 0.6291 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.134e-05/0.5014, allocations: 70.72 kB / 0.6292 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.5031, allocations: 216.5 kB / 0.6294 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.5035, allocations: 222.1 kB / 0.6296 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.5035, allocations: 28.72 kB / 0.6297 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.5036, allocations: 35.94 kB / 0.6297 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5061, allocations: 0.8753 MB / 0.6305 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5061, allocations: 0 / 0.6305 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.5062, allocations: 16 kB / 0.6306 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5062, allocations: 8 kB / 0.6306 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.5088, allocations: 0.9351 MB / 0.6315 GB, free: 12.07 MB / 478.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.003232/0.512, allocations: 2.006 MB / 0.6334 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.5136, allocations: 378 kB / 0.6338 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.5138, allocations: 72.81 kB / 0.6339 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.792/1.306, allocations: 161 MB / 0.7911 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/1.307, allocations: 471.3 kB / 0.7916 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/1.307, allocations: 4 kB / 0.7916 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002908/1.31, allocations: 0.7805 MB / 0.7923 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/1.31, allocations: 375.7 kB / 0.7927 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/1.31, allocations: 180.3 kB / 0.7929 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/1.31, allocations: 34.45 kB / 0.7929 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/1.31, allocations: 191.7 kB / 0.7931 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/1.31, allocations: 126.6 kB / 0.7932 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.311, allocations: 122.1 kB / 0.7933 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/1.311, allocations: 334.6 kB / 0.7936 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/1.311, allocations: 80.94 kB / 0.7937 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/1.311, allocations: 340.1 kB / 0.794 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/1.312, allocations: 485.8 kB / 0.7945 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.312, allocations: 4 kB / 0.7945 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008035/1.312, allocations: 471.7 kB / 0.795 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.312, allocations: 10.81 kB / 0.795 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.312, allocations: 8 kB / 0.795 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.312, allocations: 12.72 kB / 0.795 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/1.313, allocations: 143.8 kB / 0.7951 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.313, allocations: 23.92 kB / 0.7952 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/1.313, allocations: 49.23 kB / 0.7952 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/1.313, allocations: 43.98 kB / 0.7952 GB, free: 116.1 MB / 0.5606 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.0001271/1.313, allocations: 166.2 kB / 0.7954 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/1.313, allocations: 27.86 kB / 0.7954 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/1.315, allocations: 2.747 MB / 0.7981 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/1.315, allocations: 19.92 kB / 0.7981 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.315, allocations: 4 kB / 0.7981 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.315, allocations: 12.3 kB / 0.7981 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/1.316, allocations: 0.9236 MB / 0.799 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/1.316, allocations: 7.984 kB / 0.7991 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/1.316, allocations: 71.88 kB / 0.7991 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.316, allocations: 8 kB / 0.7991 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.316, allocations: 11.98 kB / 0.7991 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/1.316, allocations: 4 kB / 0.7991 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.316, allocations: 4 kB / 0.7991 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/1.317, allocations: 0.7255 MB / 0.7999 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/1.317, allocations: 47.58 kB / 0.7999 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.317, allocations: 107 kB / 0.8 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/1.318, allocations: 19.98 kB / 0.8 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.318, allocations: 31.89 kB / 0.8001 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/1.318, allocations: 19.73 kB / 0.8001 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000461/1.318, allocations: 0.5001 MB / 0.8006 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.318, allocations: 0 / 0.8006 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003544/1.322, allocations: 1.532 MB / 0.8021 GB, free: 109 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.007268/1.329, allocations: 2.921 MB / 0.8049 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007932/1.33, allocations: 420.6 kB / 0.8053 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.33, allocations: 0 / 0.8053 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/1.33, allocations: 232.8 kB / 0.8055 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/1.331, allocations: 134.8 kB / 0.8057 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.246/2.577, allocations: 0.6073 GB / 1.413 GB, free: 54.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/2.577, allocations: 392.3 kB / 1.413 GB, free: 53.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005898/2.578, allocations: 0.5255 MB / 1.414 GB, free: 53.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/2.578, allocations: 335.3 kB / 1.414 GB, free: 53 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/2.578, allocations: 0 / 1.414 GB, free: 53 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3568/2.935, allocations: 64.55 MB / 1.477 GB, free: 241.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/19.75, allocations: 9.594 kB / 1.477 GB, free: 241.9 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 23.581697689020075]