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.002035/0.002035, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.00259/0.00259, allocations: 165.3 kB / 24.27 MB, free: 144 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.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3509/0.3509, allocations: 34.26 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.218e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02526/0.02529, allocations: 18.59 MB / 395.9 MB, free: 296 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007258/0.03255, allocations: 3.986 MB / 399.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.03315, allocations: 27.75 kB / 399.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009742/0.03412, allocations: 317.8 kB / 400.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.03648, allocations: 0.9087 MB / 401.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.03917, allocations: 0.9307 MB / 402 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.04202, allocations: 1.832 MB / 403.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008825/0.04291, allocations: 417.8 kB / 404.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.04556, allocations: 1.176 MB / 405.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.04674, allocations: 0.6194 MB / 406.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.04687, allocations: 60 kB / 406.1 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000895/0.04777, allocations: 287.4 kB / 406.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.04813, allocations: 287.1 kB / 406.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.04856, allocations: 275.4 kB / 407 MB, free: 5.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.05034, allocations: 1.126 MB / 408.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.05035, allocations: 0 / 408.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.05035, allocations: 0 / 408.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.05037, allocations: 0 / 408.1 MB, free: 4.027 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.002472/0.05284, allocations: 0.9834 MB / 409.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.05288, allocations: 8.031 kB / 409.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.05337, allocations: 160.2 kB / 409.2 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.05433, allocations: 0.4902 MB / 409.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.05451, allocations: 152.4 kB / 409.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.05463, allocations: 56.36 kB / 409.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.05625, allocations: 1.077 MB / 411 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.05628, allocations: 0 / 411 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/0.05636, allocations: 31.92 kB / 411 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.072e-05/0.05643, allocations: 40.92 kB / 411.1 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.05762, allocations: 0.64 MB / 411.7 MB, free: 188 kB / 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.005302/0.06292, allocations: 3.337 MB / 415.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.0639, allocations: 395.9 kB / 415.4 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.06428, allocations: 193.4 kB / 415.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.06459, allocations: 60.23 kB / 415.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.06463, allocations: 34.89 kB / 415.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.06463, allocations: 0 / 415.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.003981/0.06861, allocations: 1.466 MB / 417.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.06874, allocations: 136.5 kB / 417.3 MB, free: 10.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.06949, allocations: 0.5182 MB / 417.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.06954, allocations: 37.7 kB / 417.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.0699, allocations: 372.3 kB / 418.2 MB, free: 9.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.07008, allocations: 170.6 kB / 418.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.07032, allocations: 138.6 kB / 418.5 MB, free: 9.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.07056, allocations: 370.8 kB / 418.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.07097, allocations: 217.9 kB / 419.1 MB, free: 8.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.07179, allocations: 0.5994 MB / 419.7 MB, free: 7.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.07303, allocations: 0.7728 MB / 420.5 MB, free: 6.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.07304, allocations: 4 kB / 420.5 MB, free: 6.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002138/0.07518, allocations: 0.9744 MB / 421.5 MB, free: 5.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.0752, allocations: 9.875 kB / 421.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.07522, allocations: 15.98 kB / 421.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.07646, allocations: 268.2 kB / 421.8 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.07692, allocations: 127.8 kB / 421.9 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.07825, allocations: 0.8645 MB / 422.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.07874, allocations: 32.06 kB / 422.8 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.07881, allocations: 39.98 kB / 422.8 MB, free: 4.523 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.0004161/0.07923, allocations: 241.5 kB / 423.1 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.0794, allocations: 83.66 kB / 423.1 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.08095, allocations: 0.7056 MB / 423.8 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.08096, allocations: 7.938 kB / 423.8 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.08097, allocations: 4 kB / 423.9 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.08097, allocations: 0 / 423.9 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.08337, allocations: 1.235 MB / 425.1 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.08337, allocations: 4 kB / 425.1 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.08443, allocations: 192 kB / 425.3 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.08474, allocations: 64.72 kB / 425.3 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.08479, allocations: 12 kB / 425.4 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/0.08781, allocations: 2.73 MB / 428.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.08782, allocations: 7.938 kB / 428.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.08972, allocations: 1.016 MB / 429.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.09002, allocations: 115.5 kB / 429.2 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.09011, allocations: 15.94 kB / 429.2 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.09046, allocations: 15.98 kB / 429.3 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.09057, allocations: 39.94 kB / 429.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.09062, allocations: 19.98 kB / 429.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005188/0.09114, allocations: 346.8 kB / 429.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09114, allocations: 0 / 429.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008802/0.09202, allocations: 207.9 kB / 429.9 MB, free: 13.17 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.000451/0.09247, allocations: 226.1 kB / 430.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.09382, allocations: 0.5804 MB / 430.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.09382, allocations: 4 kB / 430.7 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.09512, allocations: 476.2 kB / 431.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.09675, allocations: 323.5 kB / 431.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.0994, allocations: 1.333 MB / 432.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.09984, allocations: 345 kB / 433.1 MB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006662/0.1005, allocations: 198 kB / 433.3 MB, free: 9.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1007, allocations: 60.48 kB / 433.4 MB, free: 9.578 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1007, allocations: 0 / 433.4 MB, free: 9.578 MB / 410.7 MB Notification: Performance of Templates: time 0.1886/0.2893, allocations: 13.87 MB / 447.2 MB, free: 101.3 MB / 410.7 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.550274668959901]