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.0009391/0.0009391, allocations: 80.92 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.0009851/0.0009851, allocations: 170.1 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.9915/0.9915, 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.1509/0.1509, allocations: 34.26 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.225e-06/2.225e-06, allocations: 0 / 325.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.42e-05, allocations: 4.984 kB / 325.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01898/0.01901, allocations: 13.92 MB / 339.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1757/0.1947, allocations: 26.11 MB / 365.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.1949, allocations: 0 / 365.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.1953, allocations: 95.19 kB / 365.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.2158, allocations: 8.732 MB / 374.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.2165, allocations: 370.7 kB / 374.5 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.2191, allocations: 2.06 MB / 376.6 MB, free: 108 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.2191, allocations: 18.55 kB / 376.6 MB, free: 92 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.2196, allocations: 323 kB / 376.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.2236, allocations: 3.274 MB / 380.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.2236, allocations: 12 kB / 380.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/0.2411, allocations: 10.36 MB / 390.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2412, allocations: 47.77 kB / 390.6 MB, free: 2.004 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2414, allocations: 107.8 kB / 390.7 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.2583, allocations: 7.986 MB / 398.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2583, allocations: 4 kB / 398.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2583, allocations: 0 / 398.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2583, allocations: 0 / 398.7 MB, free: 9.891 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.003993/0.2623, allocations: 1.519 MB / 400.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2623, allocations: 8.031 kB / 400.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.2634, allocations: 387.8 kB / 400.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2637, allocations: 194 kB / 400.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2637, allocations: 21.03 kB / 400.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.2638, allocations: 44.36 kB / 400.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.2651, allocations: 0.8908 MB / 401.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2651, allocations: 0 / 401.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.2651, allocations: 15.94 kB / 401.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2651, allocations: 8 kB / 401.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.2662, allocations: 0.732 MB / 402.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.2682, allocations: 1.789 MB / 404.3 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.2691, allocations: 385 kB / 404.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.2692, allocations: 48.84 kB / 404.7 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5257/0.7949, allocations: 190.6 MB / 0.5814 GB, free: 82.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008124/0.7957, allocations: 482.9 kB / 0.5819 GB, free: 82.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.7957, allocations: 5.875 kB / 0.5819 GB, free: 82.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001426/0.7971, allocations: 0.793 MB / 0.5826 GB, free: 81.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.7972, allocations: 375 kB / 0.583 GB, free: 81.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7973, allocations: 201.8 kB / 0.5832 GB, free: 81.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.7973, allocations: 36.64 kB / 0.5832 GB, free: 81.19 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.7974, allocations: 185.3 kB / 0.5834 GB, free: 81.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.7974, allocations: 119.5 kB / 0.5835 GB, free: 80.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.7975, allocations: 110.2 kB / 0.5836 GB, free: 80.85 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.7976, allocations: 333.5 kB / 0.5839 GB, free: 80.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.7976, allocations: 72.48 kB / 0.584 GB, free: 80.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.7978, allocations: 344 kB / 0.5843 GB, free: 80.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.7981, allocations: 492.7 kB / 0.5848 GB, free: 79.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7981, allocations: 4 kB / 0.5848 GB, free: 79.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003497/0.7984, allocations: 394.7 kB / 0.5852 GB, free: 79.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.7985, allocations: 12.22 kB / 0.5852 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7985, allocations: 8 kB / 0.5852 GB, free: 79.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7985, allocations: 12 kB / 0.5852 GB, free: 79.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.7987, allocations: 132.6 kB / 0.5853 GB, free: 79.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7987, allocations: 15.91 kB / 0.5854 GB, free: 79.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.7989, allocations: 48.73 kB / 0.5854 GB, free: 78.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.7989, allocations: 37.03 kB / 0.5854 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.0001048/0.799, allocations: 155.1 kB / 0.5856 GB, free: 78.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.799, allocations: 38.28 kB / 0.5856 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.7999, allocations: 1.421 MB / 0.587 GB, free: 77.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.7999, allocations: 18.97 kB / 0.587 GB, free: 77.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7999, allocations: 4 kB / 0.587 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7999, allocations: 4.703 kB / 0.587 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.8004, allocations: 0.5529 MB / 0.5876 GB, free: 77.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8004, allocations: 0 / 0.5876 GB, free: 77.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.8005, allocations: 79.77 kB / 0.5877 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8005, allocations: 4 kB / 0.5877 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.8006, allocations: 10.06 kB / 0.5877 GB, free: 77.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.8006, allocations: 14.34 kB / 0.5877 GB, free: 77.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8006, allocations: 8.062 kB / 0.5877 GB, free: 77.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.8009, allocations: 0.4912 MB / 0.5882 GB, free: 76.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.801, allocations: 51.53 kB / 0.5882 GB, free: 76.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.801, allocations: 106.1 kB / 0.5883 GB, free: 76.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8012, allocations: 19.48 kB / 0.5883 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.8012, allocations: 31.02 kB / 0.5884 GB, free: 76.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.8012, allocations: 15.36 kB / 0.5884 GB, free: 76.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.8014, allocations: 335.4 kB / 0.5887 GB, free: 76.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8014, allocations: 0 / 0.5887 GB, free: 76.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003427/0.8049, allocations: 1.537 MB / 0.5902 GB, free: 74.54 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.00585/0.8107, allocations: 2.086 MB / 0.5922 GB, free: 72.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005412/0.8112, allocations: 305.5 kB / 0.5925 GB, free: 72.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.482e-05/0.8113, allocations: 12.25 kB / 0.5925 GB, free: 72.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.8114, allocations: 143.2 kB / 0.5927 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.0005544/0.8119, allocations: 203 kB / 0.5929 GB, free: 72.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9324/1.744, allocations: 0.5999 GB / 1.193 GB, free: 26.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.231e-05/1.744, allocations: 171.8 kB / 1.193 GB, free: 26.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004916/1.745, allocations: 0.5155 MB / 1.193 GB, free: 25.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/1.745, allocations: 155.3 kB / 1.194 GB, free: 25.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/1.745, allocations: 0 / 1.194 GB, free: 25.55 MB / 474.7 MB Notification: Performance of Templates: time 0.1984/1.944, allocations: 65.02 MB / 1.257 GB, free: 127.2 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 -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.470764096826315]