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.001116/0.001116, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001127/0.001127, allocations: 166.6 kB / 24.99 MB, free: 8.789 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 1.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2808/0.2808, allocations: 34.25 MB / 296 MB, free: 0.7695 MB / 266.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.924e-06/1.924e-06, allocations: 0 / 378.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.99e-05, allocations: 2.312 kB / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01946/0.01949, allocations: 13.96 MB / 392 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.04141, allocations: 26.14 MB / 418.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.04162, allocations: 0 / 418.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.042, allocations: 83.38 kB / 418.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.06027, allocations: 8.624 MB / 426.9 MB, free: 1.922 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.06098, allocations: 342.7 kB / 427.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002908/0.06389, allocations: 2.027 MB / 429.2 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.043e-05/0.06395, allocations: 20.59 kB / 429.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.06436, allocations: 306.8 kB / 429.5 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004249/0.06861, allocations: 3.258 MB / 432.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.06865, allocations: 12 kB / 432.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01845/0.08709, allocations: 11.1 MB / 443.9 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.08724, allocations: 51.75 kB / 444 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.08748, allocations: 111.7 kB / 444.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2036/0.2911, allocations: 8.539 MB / 452.6 MB, free: 61.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.2911, allocations: 0 / 452.6 MB, free: 61.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2911, allocations: 0 / 452.6 MB, free: 61.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2911, allocations: 0 / 452.6 MB, free: 61.35 MB / 410.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.004881/0.296, allocations: 1.685 MB / 454.3 MB, free: 60.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.296, allocations: 8.719 kB / 454.3 MB, free: 60.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.2972, allocations: 307.5 kB / 454.6 MB, free: 60.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2975, allocations: 220 kB / 454.8 MB, free: 60.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2975, allocations: 26.06 kB / 454.8 MB, free: 60.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.2975, allocations: 30.19 kB / 454.9 MB, free: 60.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2989, allocations: 0.8518 MB / 455.7 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.299, allocations: 0 / 455.7 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.299, allocations: 16.84 kB / 455.7 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.299, allocations: 8.344 kB / 455.8 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3002, allocations: 0.7283 MB / 456.5 MB, free: 59.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.3024, allocations: 2.717 MB / 459.2 MB, free: 57.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.3032, allocations: 350.2 kB / 459.5 MB, free: 57.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.3033, allocations: 56.62 kB / 459.6 MB, free: 57.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.195/0.4982, allocations: 100.4 MB / 0.5469 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.4993, allocations: 484.1 kB / 0.5474 GB, free: 11.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.4993, allocations: 5.312 kB / 0.5474 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002781/0.5021, allocations: 1.191 MB / 0.5485 GB, free: 10.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.5022, allocations: 378.3 kB / 0.5489 GB, free: 9.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.5024, allocations: 271.4 kB / 0.5492 GB, free: 9.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.5025, allocations: 31.23 kB / 0.5492 GB, free: 9.535 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5026, allocations: 240.6 kB / 0.5494 GB, free: 9.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.447e-05/0.5027, allocations: 121 kB / 0.5495 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.5028, allocations: 135.8 kB / 0.5497 GB, free: 9.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5029, allocations: 0.5001 MB / 0.5502 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5031, allocations: 80.91 kB / 0.5502 GB, free: 8.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.5034, allocations: 481.1 kB / 0.5507 GB, free: 7.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.5039, allocations: 0.5866 MB / 0.5513 GB, free: 7.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5039, allocations: 4 kB / 0.5513 GB, free: 7.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006883/0.5046, allocations: 0.5017 MB / 0.5518 GB, free: 6.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5046, allocations: 8.938 kB / 0.5518 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5046, allocations: 12 kB / 0.5518 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.5046, allocations: 16 kB / 0.5518 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.5054, allocations: 213.7 kB / 0.552 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006436/0.5061, allocations: 1.797 MB / 0.5537 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.5063, allocations: 23.95 kB / 0.5538 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.5063, allocations: 39.98 kB / 0.5538 GB, free: 4.504 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,state.phase,state_h_is.phase,medium.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 (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.0001544/0.5065, allocations: 210.6 kB / 0.554 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.5066, allocations: 43.98 kB / 0.5541 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5079, allocations: 1.547 MB / 0.5556 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.5079, allocations: 23.97 kB / 0.5556 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.5079, allocations: 9.188 kB / 0.5556 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.5079, allocations: 7.984 kB / 0.5556 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/0.5087, allocations: 0.7432 MB / 0.5563 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.5087, allocations: 9.016 kB / 0.5563 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.509, allocations: 95.86 kB / 0.5564 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.5091, allocations: 129.4 kB / 0.5566 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.5092, allocations: 12 kB / 0.5566 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003549/0.5095, allocations: 0.8537 MB / 0.5574 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5095, allocations: 8.062 kB / 0.5574 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.5103, allocations: 0.7828 MB / 0.5582 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.5104, allocations: 55.47 kB / 0.5582 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.5105, allocations: 95.14 kB / 0.5583 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.5107, allocations: 15.98 kB / 0.5583 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.5107, allocations: 35.17 kB / 0.5584 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.5107, allocations: 21.62 kB / 0.5584 GB, free: 15.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003955/0.5111, allocations: 494.9 kB / 0.5589 GB, free: 15.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5111, allocations: 0 / 0.5589 GB, free: 15.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005459/0.5166, allocations: 1.637 MB / 0.5605 GB, free: 13.6 MB / 442.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.008897/0.5255, allocations: 2.123 MB / 0.5625 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.5267, allocations: 442 kB / 0.5629 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5267, allocations: 1.688 kB / 0.563 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.527, allocations: 218.2 kB / 0.5632 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.5277, allocations: 229.3 kB / 0.5634 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6331/1.161, allocations: 348.6 MB / 0.9038 GB, free: 81.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/1.161, allocations: 172.2 kB / 0.9039 GB, free: 81.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006164/1.162, allocations: 0.5019 MB / 0.9044 GB, free: 81.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/1.162, allocations: 60.47 kB / 0.9045 GB, free: 81.02 MB / 474.7 MB Notification: Performance of SimCode: time 4.428e-06/1.162, allocations: 1.531 kB / 0.9045 GB, free: 81.02 MB / 474.7 MB Notification: Performance of Templates: time 0.05151/1.213, allocations: 60.19 MB / 0.9633 GB, free: 21.02 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: 6.7592106610536575]