Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001451/0.001451, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001503/0.001503, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.506/1.506, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3622/0.3622, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.481e-05, allocations: 13.48 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0263/0.02634, allocations: 18.57 MB / 393.9 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006993/0.03333, allocations: 3.994 MB / 397.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005818/0.03391, allocations: 27.75 kB / 397.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.03498, allocations: 313.9 kB / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.03755, allocations: 0.9087 MB / 399.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.0402, allocations: 0.9425 MB / 400 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.0427, allocations: 1.832 MB / 401.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008749/0.04357, allocations: 413.9 kB / 402.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.04677, allocations: 1.18 MB / 403.4 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.04811, allocations: 0.6154 MB / 404.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.04825, allocations: 60 kB / 404.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.0491, allocations: 283.5 kB / 404.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.04945, allocations: 279.1 kB / 404.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.04988, allocations: 287.3 kB / 405 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.05166, allocations: 1.118 MB / 406.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.05167, allocations: 0 / 406.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.05167, allocations: 0 / 406.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.05168, allocations: 4 kB / 406.1 MB, free: 6.062 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002456/0.05414, allocations: 0.9834 MB / 407.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.05418, allocations: 12.03 kB / 407.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.05468, allocations: 160.1 kB / 407.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.05567, allocations: 0.4902 MB / 407.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.05587, allocations: 160.3 kB / 407.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.05599, allocations: 48.38 kB / 407.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.05765, allocations: 1.073 MB / 409 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.05768, allocations: 3.938 kB / 409 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.05776, allocations: 24 kB / 409 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.807e-05/0.05783, allocations: 36.98 kB / 409.1 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.05909, allocations: 0.6478 MB / 409.7 MB, free: 2.219 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/0.06455, allocations: 3.341 MB / 413 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.06556, allocations: 396 kB / 413.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.06596, allocations: 193.4 kB / 413.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.06626, allocations: 56.28 kB / 413.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.0663, allocations: 38.83 kB / 413.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.06631, allocations: 0 / 413.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.003875/0.07018, allocations: 1.466 MB / 415.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.07029, allocations: 132.5 kB / 415.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/0.07105, allocations: 0.5182 MB / 415.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.07111, allocations: 37.7 kB / 415.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.07145, allocations: 376.3 kB / 416.2 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.07163, allocations: 162.6 kB / 416.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.07189, allocations: 138.6 kB / 416.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002557/0.07215, allocations: 366.8 kB / 416.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.07259, allocations: 225.9 kB / 417.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/0.07341, allocations: 0.5955 MB / 417.7 MB, free: 9.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.07469, allocations: 0.7806 MB / 418.5 MB, free: 8.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.0747, allocations: 0 / 418.5 MB, free: 8.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002157/0.07686, allocations: 0.9628 MB / 419.4 MB, free: 7.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.07688, allocations: 16.03 kB / 419.5 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.0769, allocations: 11.98 kB / 419.5 MB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.07826, allocations: 272.5 kB / 419.7 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.07874, allocations: 127.8 kB / 419.9 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.07993, allocations: 0.8677 MB / 420.7 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.08044, allocations: 31.98 kB / 420.8 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.08051, allocations: 36.06 kB / 420.8 MB, free: 6.566 MB / 394.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: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004103/0.08092, allocations: 249.5 kB / 421 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.08108, allocations: 75.62 kB / 421.1 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.08264, allocations: 0.7012 MB / 421.8 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.08265, allocations: 7.938 kB / 421.8 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.08266, allocations: 4 kB / 421.8 MB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.08267, allocations: 7.984 kB / 421.8 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.08505, allocations: 1.235 MB / 423.1 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.08506, allocations: 4 kB / 423.1 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.08612, allocations: 195.9 kB / 423.3 MB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.08641, allocations: 56.78 kB / 423.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.08645, allocations: 16 kB / 423.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.08947, allocations: 2.73 MB / 426.1 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.08948, allocations: 0 / 426.1 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.09147, allocations: 1.019 MB / 427.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.09175, allocations: 111.5 kB / 427.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.09184, allocations: 23.92 kB / 427.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.09222, allocations: 12 kB / 427.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.09232, allocations: 39.88 kB / 427.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.09237, allocations: 19.98 kB / 427.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005015/0.09288, allocations: 346.8 kB / 427.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09288, allocations: 0 / 427.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008858/0.09376, allocations: 207.9 kB / 427.8 MB, free: 15.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004594/0.09422, allocations: 233.5 kB / 428.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.09558, allocations: 0.5881 MB / 428.6 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.09558, allocations: 0 / 428.6 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.09691, allocations: 465 kB / 429.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.09852, allocations: 337.2 kB / 429.4 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.101, allocations: 1.318 MB / 430.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.1015, allocations: 349 kB / 431.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006907/0.1022, allocations: 198.9 kB / 431.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.1024, allocations: 56.5 kB / 431.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1024, allocations: 0 / 431.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of Templates: time 0.1627/0.2651, allocations: 13.87 MB / 445.2 MB, free: 104.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.523114105104469]