Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001183/0.001183, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001837/0.00302, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001137/0.001137, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002658, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.982/0.982, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09415/1.076, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2413/0.2413, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02104/0.2624, allocations: 13.1 MB / 291.3 MB, free: 7.363 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 292.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.474e-05, allocations: 4.734 kB / 292.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01107/0.01108, allocations: 14.03 MB / 306.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.03092, allocations: 26.25 MB / 332.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.03106, allocations: 0 / 332.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.03132, allocations: 87.44 kB / 333 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01967/0.051, allocations: 7.909 MB / 340.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.05185, allocations: 362.7 kB / 341.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.05471, allocations: 1.698 MB / 343 MB, free: 3.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.05478, allocations: 14.56 kB / 343 MB, free: 3.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.05524, allocations: 330.8 kB / 343.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00364/0.05888, allocations: 2.537 MB / 345.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.05892, allocations: 12 kB / 345.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.07521, allocations: 11.98 MB / 357.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.0753, allocations: 27.88 kB / 357.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.07545, allocations: 87.86 kB / 358 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.09085, allocations: 6.581 MB / 364.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-05/0.09087, allocations: 0 / 364.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.09087, allocations: 4 kB / 364.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.09089, allocations: 0 / 364.6 MB, free: 14.12 MB / 362.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.004057/0.09495, allocations: 2.18 MB / 366.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.09498, allocations: 8.031 kB / 366.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.09594, allocations: 351.9 kB / 367.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.0962, allocations: 185.4 kB / 367.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.09622, allocations: 25.03 kB / 367.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.09626, allocations: 32.38 kB / 367.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.09745, allocations: 0.7982 MB / 368.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.09747, allocations: 7.938 kB / 368.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.09749, allocations: 16 kB / 368.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.0975, allocations: 8 kB / 368.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009512/0.09845, allocations: 0.6299 MB / 368.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.1003, allocations: 1.949 MB / 370.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.1009, allocations: 330 kB / 371.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.1009, allocations: 40.84 kB / 371.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4074/0.5083, allocations: 118.4 MB / 489.5 MB, free: 71.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003977/0.5123, allocations: 443.2 kB / 490 MB, free: 71.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.095e-06/0.5123, allocations: 2.578 kB / 490 MB, free: 71.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.002098/0.5144, allocations: 0.8584 MB / 490.8 MB, free: 70.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003077/0.5175, allocations: 378.6 kB / 491.2 MB, free: 70.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.5176, allocations: 214.4 kB / 491.4 MB, free: 70.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.5177, allocations: 29.58 kB / 491.4 MB, free: 70.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.5177, allocations: 197.1 kB / 491.6 MB, free: 69.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.5178, allocations: 114.8 kB / 491.7 MB, free: 69.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5179, allocations: 112.2 kB / 491.8 MB, free: 69.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.518, allocations: 333.2 kB / 492.2 MB, free: 69.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.5181, allocations: 60.48 kB / 492.2 MB, free: 69.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.5182, allocations: 337.2 kB / 492.6 MB, free: 68.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.5186, allocations: 474.8 kB / 493 MB, free: 68.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.5186, allocations: 8 kB / 493 MB, free: 68.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004195/0.519, allocations: 367.6 kB / 493.4 MB, free: 68.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.519, allocations: 8 kB / 493.4 MB, free: 68.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.519, allocations: 16.12 kB / 493.4 MB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.519, allocations: 12 kB / 493.4 MB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5194, allocations: 161.5 kB / 493.6 MB, free: 67.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/0.5196, allocations: 0.5975 MB / 494.2 MB, free: 67.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.5198, allocations: 48.56 kB / 494.2 MB, free: 67.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.5198, allocations: 31.09 kB / 494.3 MB, free: 67.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state2.phase,state3.phase,state4.phase,state5.phase,medium.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): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.5199, allocations: 156.8 kB / 494.4 MB, free: 67.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.5199, allocations: 35.66 kB / 494.4 MB, free: 67.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.5209, allocations: 1.422 MB / 495.9 MB, free: 65.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.5209, allocations: 22.34 kB / 495.9 MB, free: 65.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.521, allocations: 4.375 kB / 495.9 MB, free: 65.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.521, allocations: 11.98 kB / 495.9 MB, free: 65.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.5217, allocations: 0.556 MB / 496.5 MB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5217, allocations: 1.969 kB / 496.5 MB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.5219, allocations: 72.25 kB / 496.5 MB, free: 65.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.522, allocations: 59.47 kB / 496.6 MB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.5221, allocations: 130.3 kB / 496.7 MB, free: 65.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5222, allocations: 12.69 kB / 496.7 MB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002477/0.5224, allocations: 0.6133 MB / 497.3 MB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5224, allocations: 7.75 kB / 497.3 MB, free: 64.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.523, allocations: 0.5932 MB / 497.9 MB, free: 64.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5231, allocations: 98.38 kB / 498 MB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.5234, allocations: 11.75 kB / 498 MB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5234, allocations: 34.61 kB / 498.1 MB, free: 63.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.5234, allocations: 15.8 kB / 498.1 MB, free: 63.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002825/0.5237, allocations: 306.8 kB / 498.4 MB, free: 63.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5237, allocations: 0 / 498.4 MB, free: 63.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004669/0.5284, allocations: 1.64 MB / 0.4883 GB, free: 62.06 MB / 426.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00564/0.534, allocations: 2.282 MB / 0.4905 GB, free: 59.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005567/0.5346, allocations: 319.3 kB / 0.4909 GB, free: 59.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.633e-05/0.5346, allocations: 12 kB / 0.4909 GB, free: 59.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.5347, allocations: 165.1 kB / 0.491 GB, free: 59.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.5352, allocations: 300.8 kB / 0.4913 GB, free: 59.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5874/1.123, allocations: 346.9 MB / 0.8301 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/1.123, allocations: 181.1 kB / 0.8303 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004858/1.123, allocations: 0.4908 MB / 0.8308 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/1.123, allocations: 155.3 kB / 0.8309 GB, free: 126.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.385e-06/1.123, allocations: 0 / 0.8309 GB, free: 126.2 MB / 474.7 MB Notification: Performance of Templates: time 0.06371/1.187, allocations: 67.88 MB / 0.8972 GB, free: 58.57 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.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: 6.679411220364273]