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.001432/0.001432, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001512/0.001512, allocations: 218.5 kB / 24.48 MB, free: 3.836 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.491/1.491, allocations: 230.5 MB / 258.1 MB, free: 7.816 MB / 206.1 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.2312/0.2312, allocations: 46.95 MB / 361.6 MB, free: 3.961 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.002456/0.002456, allocations: 83.86 kB / 0.4974 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3247, allocations: 66.09 MB / 0.5619 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02384/0.3485, allocations: 18.68 MB / 0.5802 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006727/0.3552, allocations: 3.995 MB / 0.5841 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.3559, allocations: 27.75 kB / 0.5841 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.3569, allocations: 306 kB / 0.5844 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.3592, allocations: 0.8823 MB / 0.5852 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.3616, allocations: 0.9244 MB / 0.5861 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.364, allocations: 1.809 MB / 0.5879 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.3647, allocations: 393.6 kB / 0.5883 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.3665, allocations: 0.9613 MB / 0.5892 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3676, allocations: 0.6616 MB / 0.5899 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3677, allocations: 63.94 kB / 0.5899 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007448/0.3685, allocations: 283.6 kB / 0.5902 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.3688, allocations: 267.2 kB / 0.5905 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.3692, allocations: 330.6 kB / 0.5908 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.3706, allocations: 1.082 MB / 0.5918 GB, free: 5.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3706, allocations: 0 / 0.5918 GB, free: 5.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3706, allocations: 0 / 0.5918 GB, free: 5.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3706, allocations: 0 / 0.5918 GB, free: 5.285 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.002214/0.3728, allocations: 0.9912 MB / 0.5928 GB, free: 4.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3729, allocations: 12.03 kB / 0.5928 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.3732, allocations: 92.42 kB / 0.5929 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.3742, allocations: 482.6 kB / 0.5934 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.3743, allocations: 152.4 kB / 0.5935 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3744, allocations: 56.31 kB / 0.5936 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.3759, allocations: 1.072 MB / 0.5946 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.376, allocations: 4 kB / 0.5946 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.376, allocations: 27.94 kB / 0.5946 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.881e-05/0.3761, allocations: 40.97 kB / 0.5947 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3773, allocations: 0.64 MB / 0.5953 GB, free: 1.512 MB / 430.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.00497/0.3823, allocations: 3.329 MB / 0.5986 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/0.3832, allocations: 403.4 kB / 0.5989 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.3836, allocations: 193.4 kB / 0.5991 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.3839, allocations: 52.28 kB / 0.5992 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.3839, allocations: 38.89 kB / 0.5992 GB, free: 13.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.3839, allocations: 0 / 0.5992 GB, free: 13.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003346/0.3872, allocations: 1.455 MB / 0.6006 GB, free: 11.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/0.3873, allocations: 132.5 kB / 0.6008 GB, free: 11.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.388, allocations: 0.5182 MB / 0.6013 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.3881, allocations: 37.7 kB / 0.6013 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.3884, allocations: 368.3 kB / 0.6016 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.3885, allocations: 170.6 kB / 0.6018 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3888, allocations: 138.6 kB / 0.6019 GB, free: 10.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.389, allocations: 370.8 kB / 0.6023 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.3894, allocations: 221.9 kB / 0.6025 GB, free: 9.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.3901, allocations: 0.5962 MB / 0.6031 GB, free: 9.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.3912, allocations: 0.7796 MB / 0.6039 GB, free: 8.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3912, allocations: 8 kB / 0.6039 GB, free: 8.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001887/0.3931, allocations: 0.9299 MB / 0.6048 GB, free: 7.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3932, allocations: 11.98 kB / 0.6048 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3932, allocations: 12 kB / 0.6048 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.3943, allocations: 279.2 kB / 0.6051 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.3947, allocations: 119.8 kB / 0.6052 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.3958, allocations: 0.8722 MB / 0.606 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.3963, allocations: 28 kB / 0.6061 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.3963, allocations: 39.98 kB / 0.6061 GB, free: 5.914 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.0003647/0.3967, allocations: 237.5 kB / 0.6063 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3968, allocations: 63.62 kB / 0.6064 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3982, allocations: 0.714 MB / 0.6071 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.3982, allocations: 7.984 kB / 0.6071 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3982, allocations: 4 kB / 0.6071 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3982, allocations: 0 / 0.6071 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.4005, allocations: 1.232 MB / 0.6083 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4005, allocations: 0 / 0.6083 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009888/0.4014, allocations: 191.7 kB / 0.6085 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.4017, allocations: 52.8 kB / 0.6085 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.4017, allocations: 23.92 kB / 0.6085 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.4043, allocations: 2.731 MB / 0.6112 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4043, allocations: 12.25 kB / 0.6112 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.406, allocations: 0.9896 MB / 0.6122 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.4063, allocations: 115.5 kB / 0.6123 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.4064, allocations: 12 kB / 0.6123 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4068, allocations: 16 kB / 0.6123 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.4069, allocations: 43.86 kB / 0.6124 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.4069, allocations: 16 kB / 0.6124 GB, free: 15.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004602/0.4074, allocations: 350.8 kB / 0.6127 GB, free: 14.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4074, allocations: 4.062 kB / 0.6127 GB, free: 14.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008199/0.4082, allocations: 203.9 kB / 0.6129 GB, free: 14.6 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.0004378/0.4086, allocations: 222.9 kB / 0.6131 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4099, allocations: 0.5881 MB / 0.6137 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4099, allocations: 0 / 0.6137 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.4111, allocations: 471.6 kB / 0.6142 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.4125, allocations: 315.7 kB / 0.6145 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.415, allocations: 1.458 MB / 0.6159 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4154, allocations: 337.1 kB / 0.6162 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4156, allocations: 63.42 kB / 0.6163 GB, free: 11.08 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4156, allocations: 0 / 0.6163 GB, free: 11.08 MB / 462.1 MB Notification: Performance of Templates: time 0.02162/0.4372, allocations: 15.18 MB / 0.6311 GB, free: 11.97 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: 10.012169909197837]