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.0009223/0.0009223, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001495/0.001495, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9982/0.9982, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.147/0.147, allocations: 34.25 MB / 296.1 MB, free: 13.99 MB / 282.7 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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 4 kB / 325.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.371e-05, allocations: 4.984 kB / 325.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01268/0.0127, allocations: 13.98 MB / 339.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2008/0.2135, allocations: 26.1 MB / 365.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2137, allocations: 1.625 kB / 365.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.214, allocations: 99.91 kB / 365.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02018/0.2342, allocations: 7.93 MB / 373.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.2351, allocations: 358.7 kB / 373.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.2375, allocations: 2.063 MB / 375.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.2375, allocations: 14.56 kB / 375.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.2379, allocations: 326.9 kB / 376.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.2412, allocations: 3.273 MB / 379.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.2412, allocations: 16 kB / 379.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/0.2603, allocations: 11.13 MB / 390.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.2604, allocations: 51.75 kB / 390.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.2605, allocations: 107.8 kB / 390.8 MB, free: 1.953 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.2776, allocations: 7.998 MB / 398.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2776, allocations: 0 / 398.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2776, allocations: 0 / 398.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2776, allocations: 0 / 398.8 MB, free: 9.938 MB / 346.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.003349/0.2809, allocations: 1.519 MB / 400.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.281, allocations: 12.03 kB / 400.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.2822, allocations: 379.9 kB / 400.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.2825, allocations: 197.4 kB / 400.9 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.2825, allocations: 25.03 kB / 400.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.2825, allocations: 36.31 kB / 400.9 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2839, allocations: 0.8947 MB / 401.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2839, allocations: 2.766 kB / 401.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.284, allocations: 19.94 kB / 401.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.284, allocations: 8 kB / 401.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.2852, allocations: 0.7197 MB / 402.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.2869, allocations: 1.796 MB / 404.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.2877, allocations: 376.3 kB / 404.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.2878, allocations: 52.81 kB / 404.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5084/0.7961, allocations: 190.6 MB / 0.5815 GB, free: 82.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008104/0.7969, allocations: 481.7 kB / 0.5819 GB, free: 82.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.797, allocations: 0 / 0.5819 GB, free: 82.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001497/0.7984, allocations: 0.796 MB / 0.5827 GB, free: 81.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.7985, allocations: 370.9 kB / 0.5831 GB, free: 81.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.7986, allocations: 193.9 kB / 0.5832 GB, free: 81.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.7986, allocations: 31.5 kB / 0.5833 GB, free: 81.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.7987, allocations: 194.3 kB / 0.5835 GB, free: 81.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.7987, allocations: 117.5 kB / 0.5836 GB, free: 80.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.7988, allocations: 115 kB / 0.5837 GB, free: 80.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.7988, allocations: 333.7 kB / 0.584 GB, free: 80.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.7989, allocations: 74.41 kB / 0.5841 GB, free: 80.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.7991, allocations: 342.3 kB / 0.5844 GB, free: 80.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.7993, allocations: 484.5 kB / 0.5849 GB, free: 79.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7993, allocations: 4 kB / 0.5849 GB, free: 79.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003392/0.7997, allocations: 402.2 kB / 0.5852 GB, free: 79.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7997, allocations: 8 kB / 0.5853 GB, free: 79.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7997, allocations: 9.312 kB / 0.5853 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.7997, allocations: 12.78 kB / 0.5853 GB, free: 79.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.8, allocations: 139.5 kB / 0.5854 GB, free: 79.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.8, allocations: 24.3 kB / 0.5854 GB, free: 79.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.8001, allocations: 49.31 kB / 0.5855 GB, free: 78.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.8002, allocations: 32.45 kB / 0.5855 GB, free: 78.96 MB / 458.7 MB 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,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.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.0001019/0.8003, allocations: 160 kB / 0.5857 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.8003, allocations: 34.8 kB / 0.5857 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.8011, allocations: 1.423 MB / 0.5871 GB, free: 77.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.8012, allocations: 18.91 kB / 0.5871 GB, free: 77.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8012, allocations: 4 kB / 0.5871 GB, free: 77.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.8012, allocations: 8.359 kB / 0.5871 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.8016, allocations: 0.5551 MB / 0.5877 GB, free: 77.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8016, allocations: 5.75 kB / 0.5877 GB, free: 77.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.8017, allocations: 69.97 kB / 0.5877 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.8017, allocations: 4 kB / 0.5877 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.8018, allocations: 17.23 kB / 0.5877 GB, free: 77.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.8018, allocations: 11.59 kB / 0.5878 GB, free: 77.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8018, allocations: 4 kB / 0.5878 GB, free: 77.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.8021, allocations: 0.4889 MB / 0.5882 GB, free: 76.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.8021, allocations: 55.53 kB / 0.5883 GB, free: 76.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.8022, allocations: 106.8 kB / 0.5884 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.8023, allocations: 20.98 kB / 0.5884 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.8024, allocations: 33.67 kB / 0.5884 GB, free: 76.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.8024, allocations: 14.05 kB / 0.5885 GB, free: 76.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.8026, allocations: 335.9 kB / 0.5888 GB, free: 76 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8026, allocations: 4 kB / 0.5888 GB, free: 76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003531/0.8062, allocations: 1.528 MB / 0.5903 GB, free: 74.53 MB / 458.7 MB 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.005341/0.8115, allocations: 2.084 MB / 0.5923 GB, free: 72.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.8119, allocations: 317.1 kB / 0.5926 GB, free: 72.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/0.8119, allocations: 12 kB / 0.5926 GB, free: 72.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.8121, allocations: 138 kB / 0.5928 GB, free: 72.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.8126, allocations: 202.8 kB / 0.593 GB, free: 72.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9364/1.749, allocations: 0.5999 GB / 1.193 GB, free: 26.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/1.749, allocations: 171.8 kB / 1.193 GB, free: 26.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004808/1.75, allocations: 0.5184 MB / 1.193 GB, free: 26.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.75, allocations: 151.3 kB / 1.194 GB, free: 25.88 MB / 474.7 MB Notification: Performance of SimCode: time 2.284e-06/1.75, allocations: 0 / 1.194 GB, free: 25.88 MB / 474.7 MB Notification: Performance of Templates: time 0.1853/1.935, allocations: 65.02 MB / 1.257 GB, free: 126.9 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.178765503689647]