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.001472/0.001472, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001654/0.001654, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.32/1.32, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.2058/0.2058, allocations: 46.93 MB / 361.5 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002139/0.002139, allocations: 79.88 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2711, allocations: 66.08 MB / 0.562 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02158/0.2926, allocations: 20.69 MB / 0.5822 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.2988, allocations: 4.337 MB / 0.5864 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.2993, allocations: 27.75 kB / 0.5864 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.3001, allocations: 322 kB / 0.5867 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.3019, allocations: 0.8823 MB / 0.5876 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.3041, allocations: 0.9371 MB / 0.5885 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.3063, allocations: 1.817 MB / 0.5903 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006963/0.307, allocations: 393.6 kB / 0.5907 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.3089, allocations: 0.9652 MB / 0.5916 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.31, allocations: 0.6734 MB / 0.5923 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.3102, allocations: 60 kB / 0.5923 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000863/0.311, allocations: 327.6 kB / 0.5926 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.3114, allocations: 267.2 kB / 0.5929 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.3119, allocations: 390.2 kB / 0.5933 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.3134, allocations: 1.092 MB / 0.5943 GB, free: 3.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3134, allocations: 4 kB / 0.5943 GB, free: 3.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3134, allocations: 0 / 0.5943 GB, free: 3.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.3134, allocations: 0 / 0.5943 GB, free: 3.004 MB / 430.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.002224/0.3156, allocations: 0.9912 MB / 0.5953 GB, free: 1.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3157, allocations: 12.03 kB / 0.5953 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.316, allocations: 96.41 kB / 0.5954 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008784/0.3169, allocations: 466.7 kB / 0.5959 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.317, allocations: 160.4 kB / 0.596 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.3171, allocations: 48.33 kB / 0.5961 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.3183, allocations: 0.8213 MB / 0.5969 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3184, allocations: 7.938 kB / 0.5969 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.3184, allocations: 23.98 kB / 0.5969 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/0.3185, allocations: 40.97 kB / 0.5969 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.3196, allocations: 0.6478 MB / 0.5976 GB, free: 15.55 MB / 446.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.00492/0.3245, allocations: 4.166 MB / 0.6016 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.3254, allocations: 388 kB / 0.602 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.3257, allocations: 197.4 kB / 0.6022 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.326, allocations: 56.27 kB / 0.6022 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.326, allocations: 38.89 kB / 0.6023 GB, free: 10.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.326, allocations: 0 / 0.6023 GB, free: 10.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003166/0.3292, allocations: 1.466 MB / 0.6037 GB, free: 8.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.3292, allocations: 136.5 kB / 0.6038 GB, free: 8.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.33, allocations: 0.5732 MB / 0.6044 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.33, allocations: 29.7 kB / 0.6044 GB, free: 8.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.3303, allocations: 363.9 kB / 0.6048 GB, free: 7.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3304, allocations: 170.6 kB / 0.6049 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.3306, allocations: 142.6 kB / 0.6051 GB, free: 7.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3308, allocations: 374.7 kB / 0.6054 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.3312, allocations: 229.9 kB / 0.6057 GB, free: 6.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.3318, allocations: 0.5247 MB / 0.6062 GB, free: 6.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3329, allocations: 0.7796 MB / 0.6069 GB, free: 5.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3329, allocations: 0 / 0.6069 GB, free: 5.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001794/0.3347, allocations: 0.9332 MB / 0.6078 GB, free: 4.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3347, allocations: 8 kB / 0.6078 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3347, allocations: 12.84 kB / 0.6079 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3358, allocations: 266.9 kB / 0.6081 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.3362, allocations: 127.8 kB / 0.6082 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009907/0.3372, allocations: 0.8722 MB / 0.6091 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.3377, allocations: 27.98 kB / 0.6091 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.3377, allocations: 36 kB / 0.6091 GB, free: 2.977 MB / 446.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.0003312/0.3381, allocations: 242.9 kB / 0.6094 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3382, allocations: 71.56 kB / 0.6094 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.3395, allocations: 0.7162 MB / 0.6101 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3395, allocations: 8 kB / 0.6102 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3395, allocations: 0 / 0.6102 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.3396, allocations: 3.984 kB / 0.6102 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.3417, allocations: 1.371 MB / 0.6115 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3418, allocations: 3.938 kB / 0.6115 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.3427, allocations: 187.8 kB / 0.6117 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.3429, allocations: 64.95 kB / 0.6117 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.343, allocations: 20 kB / 0.6118 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.3455, allocations: 2.773 MB / 0.6145 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3455, allocations: 0 / 0.6145 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.347, allocations: 1.009 MB / 0.6155 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.3474, allocations: 131.4 kB / 0.6156 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3475, allocations: 20.06 kB / 0.6156 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3478, allocations: 8 kB / 0.6156 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3479, allocations: 51.8 kB / 0.6157 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.348, allocations: 16 kB / 0.6157 GB, free: 11.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005172/0.3485, allocations: 423 kB / 0.6161 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3485, allocations: 0 / 0.6161 GB, free: 11.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007528/0.3492, allocations: 211.9 kB / 0.6163 GB, free: 11.31 MB / 462.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.0003834/0.3496, allocations: 211.1 kB / 0.6165 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.3508, allocations: 0.5964 MB / 0.6171 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3508, allocations: 0 / 0.6171 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.3519, allocations: 459.2 kB / 0.6175 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.3535, allocations: 386.9 kB / 0.6179 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3559, allocations: 1.465 MB / 0.6193 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.3565, allocations: 0.9384 MB / 0.6202 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.3567, allocations: 63.44 kB / 0.6203 GB, free: 7.125 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3567, allocations: 0 / 0.6203 GB, free: 7.125 MB / 462.1 MB Notification: Performance of Templates: time 0.02161/0.3783, allocations: 15.65 MB / 0.6356 GB, free: 7.555 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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: 8.779490950983018]