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.0009092/0.0009092, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009366/0.0009366, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9119/0.9119, allocations: 177.1 MB / 206.1 MB, free: 4.496 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.1568/0.1568, allocations: 34.25 MB / 296.8 MB, free: 13.94 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.743e-06/1.743e-06, allocations: 0 / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.017e-05, allocations: 6.312 kB / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.009349/0.009369, allocations: 13.81 MB / 393.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.02801, allocations: 25.76 MB / 418.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.0282, allocations: 0 / 418.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.02851, allocations: 87.42 kB / 419 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01701/0.04552, allocations: 8.681 MB / 427.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.04617, allocations: 358.7 kB / 428 MB, free: 6.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.0489, allocations: 2.056 MB / 430.1 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.04894, allocations: 12.59 kB / 430.1 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.04933, allocations: 326.8 kB / 430.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003992/0.05332, allocations: 3.266 MB / 433.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.05335, allocations: 8 kB / 433.7 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/0.06811, allocations: 11.11 MB / 444.8 MB, free: 5.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.06818, allocations: 55.73 kB / 444.9 MB, free: 5.555 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.06829, allocations: 91.78 kB / 444.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.08076, allocations: 8.551 MB / 453.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.08076, allocations: 0 / 453.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.08076, allocations: 0 / 453.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.08077, allocations: 0 / 453.5 MB, free: 12.89 MB / 378.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.002769/0.08353, allocations: 1.694 MB / 455.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.08357, allocations: 8.031 kB / 455.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.08447, allocations: 311.9 kB / 455.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.08467, allocations: 212.2 kB / 455.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.08469, allocations: 21.03 kB / 455.7 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.08472, allocations: 36.38 kB / 455.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.08594, allocations: 0.8152 MB / 456.6 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.08595, allocations: 11.92 kB / 456.6 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.08598, allocations: 19.98 kB / 456.6 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.08599, allocations: 8 kB / 456.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.08703, allocations: 0.6584 MB / 457.3 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.08899, allocations: 2.667 MB / 459.9 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.08963, allocations: 338.6 kB / 460.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.08969, allocations: 55.72 kB / 460.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3074/0.3971, allocations: 86.92 MB / 0.5344 GB, free: 56.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008871/0.398, allocations: 486.9 kB / 0.5349 GB, free: 56.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/0.398, allocations: 0 / 0.5349 GB, free: 56.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002119/0.4001, allocations: 0.8903 MB / 0.5358 GB, free: 55.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.4002, allocations: 387 kB / 0.5361 GB, free: 54.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4003, allocations: 262.2 kB / 0.5364 GB, free: 54.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4003, allocations: 33.39 kB / 0.5364 GB, free: 54.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.4004, allocations: 245.2 kB / 0.5366 GB, free: 54.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.4004, allocations: 119.8 kB / 0.5368 GB, free: 54.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.4005, allocations: 134.4 kB / 0.5369 GB, free: 54.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.4006, allocations: 0.5154 MB / 0.5374 GB, free: 53.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.4007, allocations: 68.67 kB / 0.5375 GB, free: 53.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.4008, allocations: 464.7 kB / 0.5379 GB, free: 53.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.4012, allocations: 0.5856 MB / 0.5385 GB, free: 52.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4012, allocations: 4.875 kB / 0.5385 GB, free: 52.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004819/0.4017, allocations: 474 kB / 0.5389 GB, free: 52.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4017, allocations: 9.969 kB / 0.5389 GB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4017, allocations: 12 kB / 0.5389 GB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4017, allocations: 12 kB / 0.539 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.4024, allocations: 212.6 kB / 0.5392 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002915/0.4027, allocations: 1.804 MB / 0.5409 GB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.4029, allocations: 25.62 kB / 0.5409 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.4029, allocations: 43.53 kB / 0.541 GB, free: 49.93 MB / 410.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.403, allocations: 197.5 kB / 0.5412 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.4031, allocations: 43.41 kB / 0.5412 GB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008922/0.404, allocations: 1.467 MB / 0.5427 GB, free: 48.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.404, allocations: 27.47 kB / 0.5427 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.404, allocations: 4 kB / 0.5427 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.404, allocations: 4 kB / 0.5427 GB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.4045, allocations: 0.6357 MB / 0.5433 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4045, allocations: 4.375 kB / 0.5433 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.4048, allocations: 103.4 kB / 0.5434 GB, free: 47.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-05/0.4049, allocations: 121.1 kB / 0.5435 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4049, allocations: 15.5 kB / 0.5435 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001622/0.405, allocations: 0.8565 MB / 0.5444 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.405, allocations: 4 kB / 0.5444 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.4056, allocations: 0.7229 MB / 0.5451 GB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.4056, allocations: 58.72 kB / 0.5451 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.4057, allocations: 113 kB / 0.5452 GB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4058, allocations: 11.5 kB / 0.5453 GB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.4059, allocations: 38.94 kB / 0.5453 GB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4059, allocations: 11.81 kB / 0.5453 GB, free: 45.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.4061, allocations: 468.1 kB / 0.5458 GB, free: 45.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4061, allocations: 0 / 0.5458 GB, free: 45.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003146/0.4093, allocations: 1.639 MB / 0.5474 GB, free: 44.01 MB / 410.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 (36): * Single equations (assignments): 31 * 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.004801/0.4141, allocations: 2.159 MB / 0.5495 GB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.4148, allocations: 421.8 kB / 0.5499 GB, free: 41.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4148, allocations: 0 / 0.5499 GB, free: 41.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.415, allocations: 201.9 kB / 0.5501 GB, free: 41.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.4155, allocations: 218.8 kB / 0.5503 GB, free: 41.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5406/0.9561, allocations: 352.1 MB / 0.8941 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.9562, allocations: 172.2 kB / 0.8943 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.9567, allocations: 0.5091 MB / 0.8948 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.9569, allocations: 198.1 kB / 0.895 GB, free: 117.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/0.9569, allocations: 0 / 0.895 GB, free: 117.6 MB / 474.7 MB Notification: Performance of Templates: time 0.05272/1.01, allocations: 69.76 MB / 0.9631 GB, free: 48.16 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 -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: 7.619683060795069]