Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001479/0.001479, allocations: 84.3 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001761/0.001761, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.495/1.495, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2276/0.2276, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.833e-05, allocations: 5.656 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2138/0.2138, allocations: 18.58 MB / 461.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.2193, allocations: 3.981 MB / 465.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.2198, allocations: 27.31 kB / 465.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008354/0.2206, allocations: 311.5 kB / 465.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.2225, allocations: 0.9093 MB / 466.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.2249, allocations: 0.9539 MB / 467.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.2273, allocations: 1.828 MB / 469.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007058/0.228, allocations: 391.1 kB / 469.7 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.2302, allocations: 1.178 MB / 470.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.2312, allocations: 0.6139 MB / 471.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.2314, allocations: 59.62 kB / 471.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.2322, allocations: 285.3 kB / 471.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.2325, allocations: 283.2 kB / 472.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.2329, allocations: 280.7 kB / 472.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.2343, allocations: 1.128 MB / 473.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2343, allocations: 0 / 473.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2343, allocations: 0 / 473.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.2343, allocations: 1.156 kB / 473.5 MB, free: 2.535 MB / 366.1 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.002007/0.2363, allocations: 0.9865 MB / 474.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2363, allocations: 9.906 kB / 474.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.2367, allocations: 92.42 kB / 474.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.2374, allocations: 476.9 kB / 475 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.2375, allocations: 153.4 kB / 475.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2377, allocations: 48.78 kB / 475.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.2388, allocations: 1.074 MB / 476.3 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2388, allocations: 5 kB / 476.3 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.2389, allocations: 27.05 kB / 476.3 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.239, allocations: 38.64 kB / 476.4 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.24, allocations: 0.641 MB / 477 MB, free: 15.96 MB / 382.1 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.004989/0.245, allocations: 3.325 MB / 480.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.246, allocations: 408.8 kB / 480.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.2463, allocations: 189.5 kB / 480.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.2466, allocations: 50.53 kB / 481 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.2467, allocations: 39.02 kB / 481 MB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.2467, allocations: 0 / 481 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003592/0.2503, allocations: 1.455 MB / 482.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.2504, allocations: 137.6 kB / 482.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.2511, allocations: 0.5247 MB / 483.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.2511, allocations: 36.23 kB / 483.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.2514, allocations: 367.3 kB / 483.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.2516, allocations: 172.5 kB / 483.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.2518, allocations: 139.7 kB / 483.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.252, allocations: 368.9 kB / 484.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.2525, allocations: 221.8 kB / 484.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/0.2533, allocations: 0.5964 MB / 485 MB, free: 9.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2545, allocations: 0.7803 MB / 485.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2545, allocations: 2.688 kB / 485.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001894/0.2564, allocations: 0.9374 MB / 486.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2564, allocations: 12 kB / 486.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2565, allocations: 8 kB / 486.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.2576, allocations: 263.6 kB / 487 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.258, allocations: 123.7 kB / 487.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.2591, allocations: 0.8644 MB / 488 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.2596, allocations: 30.47 kB / 488 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.2597, allocations: 36.42 kB / 488 MB, free: 7.746 MB / 382.1 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.0003797/0.2601, allocations: 250.5 kB / 488.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2602, allocations: 62.22 kB / 488.3 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.2617, allocations: 0.7137 MB / 489 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2617, allocations: 4.5 kB / 489.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2617, allocations: 5.875 kB / 489.1 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.2617, allocations: 5.078 kB / 489.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.2641, allocations: 1.233 MB / 490.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2641, allocations: 4.219 kB / 490.3 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.2651, allocations: 195.7 kB / 490.5 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.2654, allocations: 56.78 kB / 490.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.2655, allocations: 12.81 kB / 490.6 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.2682, allocations: 2.728 MB / 493.3 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.2682, allocations: 4.031 kB / 493.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.27, allocations: 0.9964 MB / 494.3 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.2704, allocations: 111.5 kB / 494.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.2705, allocations: 16 kB / 494.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.2708, allocations: 19.92 kB / 494.4 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2709, allocations: 39.88 kB / 494.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.271, allocations: 24.98 kB / 494.5 MB, free: 1.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.2715, allocations: 346.8 kB / 494.8 MB, free: 1.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2715, allocations: 0 / 494.8 MB, free: 1.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000956/0.2725, allocations: 207.9 kB / 495 MB, free: 0.9219 MB / 382.1 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.0004996/0.273, allocations: 218.9 kB / 495.2 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.2743, allocations: 0.5893 MB / 495.8 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2743, allocations: 0 / 495.8 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.2756, allocations: 479.2 kB / 496.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.2772, allocations: 317.5 kB / 496.6 MB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.2796, allocations: 1.312 MB / 497.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.28, allocations: 341.1 kB / 498.3 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005872/0.2806, allocations: 190.2 kB / 498.4 MB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.2807, allocations: 60.48 kB / 498.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2807, allocations: 0 / 498.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of Templates: time 0.02657/0.3073, allocations: 13.83 MB / 0.5003 GB, free: 15.86 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.536595623940229]