Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.391/0.391, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.278e-05, allocations: 3.578 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02573/0.02576, allocations: 18.59 MB / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007282/0.03304, allocations: 3.986 MB / 399.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006727/0.03372, allocations: 35.62 kB / 399.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.03467, allocations: 305.9 kB / 400.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.037, allocations: 0.9126 MB / 401 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.03951, allocations: 0.9347 MB / 402 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.04226, allocations: 1.828 MB / 403.8 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007811/0.04304, allocations: 413.8 kB / 404.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.04545, allocations: 1.18 MB / 405.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.04655, allocations: 0.6233 MB / 406 MB, free: 5.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.04669, allocations: 60 kB / 406.1 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009876/0.04768, allocations: 287.4 kB / 406.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.04808, allocations: 283.1 kB / 406.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.04861, allocations: 275.4 kB / 406.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.05082, allocations: 1.122 MB / 408 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.05083, allocations: 0 / 408 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.05083, allocations: 0 / 408 MB, free: 3.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.05084, allocations: 0 / 408 MB, free: 3.984 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.002444/0.05328, allocations: 0.9873 MB / 409 MB, free: 2.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.05332, allocations: 8.031 kB / 409 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.0538, allocations: 156.2 kB / 409.2 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009358/0.05473, allocations: 0.494 MB / 409.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.0549, allocations: 156.4 kB / 409.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.05503, allocations: 56.36 kB / 409.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.05674, allocations: 1.073 MB / 410.9 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.05676, allocations: 7.875 kB / 411 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.05684, allocations: 24 kB / 411 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/0.05691, allocations: 36.98 kB / 411 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.05809, allocations: 0.6361 MB / 411.6 MB, free: 148 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.005066/0.06315, allocations: 3.345 MB / 415 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.06411, allocations: 395.8 kB / 415.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.06448, allocations: 197.4 kB / 415.6 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.06477, allocations: 60.28 kB / 415.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.06481, allocations: 42.83 kB / 415.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.06481, allocations: 0 / 415.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.003575/0.06839, allocations: 1.466 MB / 417.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.0685, allocations: 140.5 kB / 417.3 MB, free: 10.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/0.06928, allocations: 0.5143 MB / 417.8 MB, free: 9.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.06933, allocations: 33.7 kB / 417.8 MB, free: 9.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.06966, allocations: 372.3 kB / 418.2 MB, free: 9.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.06983, allocations: 162.6 kB / 418.3 MB, free: 9.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.07006, allocations: 142.6 kB / 418.5 MB, free: 9.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.07028, allocations: 366.8 kB / 418.8 MB, free: 8.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.0707, allocations: 221.9 kB / 419.1 MB, free: 8.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/0.07148, allocations: 0.5998 MB / 419.7 MB, free: 7.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.07272, allocations: 0.7806 MB / 420.4 MB, free: 6.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.07272, allocations: 4 kB / 420.4 MB, free: 6.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00206/0.07478, allocations: 0.9662 MB / 421.4 MB, free: 5.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.07481, allocations: 8 kB / 421.4 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.07482, allocations: 12 kB / 421.4 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.07603, allocations: 265.1 kB / 421.7 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.07648, allocations: 131.8 kB / 421.8 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.07764, allocations: 0.8706 MB / 422.7 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.07813, allocations: 27.98 kB / 422.7 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.07819, allocations: 36 kB / 422.7 MB, free: 4.477 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.0003796/0.07857, allocations: 237.5 kB / 423 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.07875, allocations: 87.55 kB / 423.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.0803, allocations: 0.7061 MB / 423.8 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.08031, allocations: 7.938 kB / 423.8 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.08032, allocations: 0 / 423.8 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.08033, allocations: 4.031 kB / 423.8 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.0828, allocations: 1.235 MB / 425 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.08281, allocations: 4 kB / 425 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.08386, allocations: 195.7 kB / 425.2 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.08416, allocations: 64.91 kB / 425.3 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.0842, allocations: 12 kB / 425.3 MB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.08713, allocations: 2.735 MB / 428 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.08713, allocations: 0 / 428 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.08904, allocations: 1.015 MB / 429 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.08937, allocations: 115.5 kB / 429.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.08946, allocations: 15.94 kB / 429.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.08984, allocations: 15.98 kB / 429.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.08996, allocations: 39.88 kB / 429.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.09001, allocations: 24.11 kB / 429.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00056/0.09057, allocations: 350.8 kB / 429.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09057, allocations: 0 / 429.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009328/0.0915, allocations: 207.9 kB / 429.8 MB, free: 13.11 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.0004701/0.09197, allocations: 217 kB / 430 MB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.09325, allocations: 0.5829 MB / 430.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.09326, allocations: 1.562 kB / 430.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.09448, allocations: 480.1 kB / 431.1 MB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.09595, allocations: 330.9 kB / 431.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.09837, allocations: 1.327 MB / 432.7 MB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.0988, allocations: 345 kB / 433 MB, free: 9.773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006074/0.0994, allocations: 195.9 kB / 433.2 MB, free: 9.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.09957, allocations: 56.5 kB / 433.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.09957, allocations: 0 / 433.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of Templates: time 0.1717/0.2713, allocations: 13.87 MB / 447.2 MB, free: 101.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.600567498942837]