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.001278/0.001278, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001368/0.001368, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.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.2273/0.2273, allocations: 46.97 MB / 361.6 MB, free: 4.02 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 0.002057/0.002057, allocations: 67.91 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3123, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.03985/0.3521, allocations: 18.67 MB / 0.5801 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.364, allocations: 3.995 MB / 0.584 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.365, allocations: 35.69 kB / 0.584 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3665, allocations: 306 kB / 0.5843 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.3705, allocations: 0.8823 MB / 0.5852 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.375, allocations: 0.9372 MB / 0.5861 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00417/0.3792, allocations: 1.813 MB / 0.5878 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.3803, allocations: 401.5 kB / 0.5882 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.3836, allocations: 0.9613 MB / 0.5892 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.3856, allocations: 0.6733 MB / 0.5898 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.3858, allocations: 60 kB / 0.5899 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.3872, allocations: 291.6 kB / 0.5902 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.3877, allocations: 263.2 kB / 0.5904 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006605/0.3884, allocations: 330.6 kB / 0.5907 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.3909, allocations: 1.086 MB / 0.5918 GB, free: 5.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3909, allocations: 0 / 0.5918 GB, free: 5.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3909, allocations: 0 / 0.5918 GB, free: 5.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3909, allocations: 0 / 0.5918 GB, free: 5.395 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.00391/0.3948, allocations: 0.9834 MB / 0.5927 GB, free: 4.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.3948, allocations: 16.03 kB / 0.5928 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006977/0.3955, allocations: 100.4 kB / 0.5928 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.3972, allocations: 474.7 kB / 0.5933 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.3975, allocations: 160.3 kB / 0.5935 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.3977, allocations: 48.33 kB / 0.5935 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.4005, allocations: 1.076 MB / 0.5946 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.4005, allocations: 3.938 kB / 0.5946 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4006, allocations: 24 kB / 0.5946 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.4008, allocations: 44.98 kB / 0.5946 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.4029, allocations: 0.6361 MB / 0.5952 GB, free: 1.625 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.009207/0.4122, allocations: 3.325 MB / 0.5985 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.4138, allocations: 403.8 kB / 0.5989 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.4145, allocations: 193.4 kB / 0.5991 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.415, allocations: 48.28 kB / 0.5991 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.4151, allocations: 38.89 kB / 0.5991 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 4.238e-06/0.4151, allocations: 0 / 0.5991 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.006144/0.4212, allocations: 1.459 MB / 0.6006 GB, free: 12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.4213, allocations: 136.5 kB / 0.6007 GB, free: 11.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4224, allocations: 0.5104 MB / 0.6012 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9e-05/0.4225, allocations: 41.7 kB / 0.6012 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.423, allocations: 372.3 kB / 0.6016 GB, free: 10.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.4233, allocations: 170.5 kB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.4236, allocations: 142.6 kB / 0.6019 GB, free: 10.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003199/0.424, allocations: 366.8 kB / 0.6022 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.4248, allocations: 225.9 kB / 0.6025 GB, free: 10 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.4261, allocations: 0.5954 MB / 0.603 GB, free: 9.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.4282, allocations: 0.7874 MB / 0.6038 GB, free: 8.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4282, allocations: 4 kB / 0.6038 GB, free: 8.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003367/0.4316, allocations: 0.9339 MB / 0.6047 GB, free: 7.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.4316, allocations: 11.94 kB / 0.6047 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.4317, allocations: 8 kB / 0.6047 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.4339, allocations: 264.8 kB / 0.605 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.4347, allocations: 123.8 kB / 0.6051 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.4366, allocations: 0.8723 MB / 0.606 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/0.4375, allocations: 23.98 kB / 0.606 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4377, allocations: 36 kB / 0.606 GB, free: 6.027 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.0005971/0.4383, allocations: 245.5 kB / 0.6063 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.4385, allocations: 59.62 kB / 0.6063 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.441, allocations: 0.715 MB / 0.607 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.441, allocations: 4 kB / 0.607 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.441, allocations: 0 / 0.607 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.441, allocations: 3.984 kB / 0.607 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.445, allocations: 1.231 MB / 0.6082 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.445, allocations: 8.219 kB / 0.6082 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/0.4471, allocations: 187.8 kB / 0.6084 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.4476, allocations: 56.78 kB / 0.6085 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.4476, allocations: 15.94 kB / 0.6085 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.452, allocations: 2.737 MB / 0.6111 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.452, allocations: 224 / 0.6111 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.4552, allocations: 0.9981 MB / 0.6121 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.4558, allocations: 115.5 kB / 0.6122 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.456, allocations: 12 kB / 0.6122 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.4567, allocations: 19.98 kB / 0.6123 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.4568, allocations: 35.88 kB / 0.6123 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.4569, allocations: 23.98 kB / 0.6123 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000788/0.4577, allocations: 346.8 kB / 0.6127 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4577, allocations: 0 / 0.6127 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001504/0.4592, allocations: 211.9 kB / 0.6129 GB, free: 14.71 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.0006464/0.4599, allocations: 222.9 kB / 0.6131 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.4622, allocations: 0.5845 MB / 0.6136 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4622, allocations: 0 / 0.6136 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.4646, allocations: 487.2 kB / 0.6141 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.4675, allocations: 321.5 kB / 0.6144 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.4716, allocations: 1.41 MB / 0.6158 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.4722, allocations: 341.1 kB / 0.6161 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.4733, allocations: 198.5 kB / 0.6163 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.4735, allocations: 59.42 kB / 0.6164 GB, free: 11.05 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4735, allocations: 0 / 0.6164 GB, free: 11.05 MB / 462.1 MB Notification: Performance of Templates: time 0.04411/0.5176, allocations: 15.12 MB / 0.6311 GB, free: 12.25 MB / 478.1 MB " [Timeout remaining time 659] 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 -s gbode -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/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_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.515133983994019]