Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001369/0.001369, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001422/0.001422, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.483/1.483, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2352/0.2352, allocations: 46.9 MB / 361.1 MB, free: 4.641 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003457/0.003457, allocations: 75.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3246, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02405/0.3487, allocations: 20.7 MB / 0.5814 GB, free: 272 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.3553, allocations: 4.336 MB / 0.5856 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006726/0.356, allocations: 23.81 kB / 0.5857 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.3569, allocations: 325.9 kB / 0.586 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.3592, allocations: 0.8667 MB / 0.5868 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.3616, allocations: 0.9067 MB / 0.5877 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.3639, allocations: 1.801 MB / 0.5895 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.3645, allocations: 401.3 kB / 0.5899 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.3663, allocations: 0.9457 MB / 0.5908 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.3673, allocations: 0.6772 MB / 0.5914 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3674, allocations: 60 kB / 0.5915 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007647/0.3682, allocations: 319.6 kB / 0.5918 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.3684, allocations: 267.2 kB / 0.5921 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.3688, allocations: 386.2 kB / 0.5924 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3702, allocations: 1.098 MB / 0.5935 GB, free: 3.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3702, allocations: 0 / 0.5935 GB, free: 3.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3702, allocations: 3.938 kB / 0.5935 GB, free: 3.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3703, allocations: 0 / 0.5935 GB, free: 3.848 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.002222/0.3725, allocations: 1.067 MB / 0.5945 GB, free: 2.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3725, allocations: 11.97 kB / 0.5946 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.3729, allocations: 96.41 kB / 0.5946 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/0.3738, allocations: 0.5292 MB / 0.5952 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3739, allocations: 105 kB / 0.5953 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.374, allocations: 52.33 kB / 0.5953 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3753, allocations: 0.8135 MB / 0.5961 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.3753, allocations: 11.92 kB / 0.5961 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.3754, allocations: 27.97 kB / 0.5961 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.3754, allocations: 40.98 kB / 0.5962 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.3765, allocations: 0.64 MB / 0.5968 GB, free: 284 kB / 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.005141/0.3817, allocations: 4.21 MB / 0.6009 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/0.3826, allocations: 407.9 kB / 0.6013 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.3829, allocations: 193.4 kB / 0.6015 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/0.3834, allocations: 0.495 MB / 0.602 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3834, allocations: 38.89 kB / 0.602 GB, free: 10.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/0.3834, allocations: 4 kB / 0.602 GB, free: 10.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003223/0.3867, allocations: 1.541 MB / 0.6035 GB, free: 8.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.3868, allocations: 132.5 kB / 0.6036 GB, free: 8.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.3875, allocations: 0.5694 MB / 0.6042 GB, free: 8.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.3875, allocations: 29.7 kB / 0.6042 GB, free: 8.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.3878, allocations: 367.8 kB / 0.6046 GB, free: 7.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.3879, allocations: 170.6 kB / 0.6047 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3881, allocations: 138.6 kB / 0.6049 GB, free: 7.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3883, allocations: 382.6 kB / 0.6052 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.3887, allocations: 229.9 kB / 0.6055 GB, free: 6.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.3894, allocations: 0.524 MB / 0.606 GB, free: 6.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3905, allocations: 0.7757 MB / 0.6067 GB, free: 5.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3905, allocations: 0 / 0.6067 GB, free: 5.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001822/0.3923, allocations: 0.934 MB / 0.6076 GB, free: 4.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3923, allocations: 10.5 kB / 0.6077 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3923, allocations: 16.12 kB / 0.6077 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.3934, allocations: 264.5 kB / 0.6079 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.3939, allocations: 127.8 kB / 0.608 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.3949, allocations: 0.8678 MB / 0.6089 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.3953, allocations: 32.05 kB / 0.6089 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.3954, allocations: 36 kB / 0.609 GB, free: 2.996 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.00034/0.3957, allocations: 245.5 kB / 0.6092 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3958, allocations: 67.58 kB / 0.6093 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3972, allocations: 0.709 MB / 0.6099 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.3972, allocations: 7.984 kB / 0.61 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3972, allocations: 4 kB / 0.61 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3973, allocations: 0 / 0.61 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.3995, allocations: 1.403 MB / 0.6113 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3995, allocations: 3.938 kB / 0.6113 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.4005, allocations: 200 kB / 0.6115 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.4008, allocations: 52.75 kB / 0.6116 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.4008, allocations: 19.98 kB / 0.6116 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.4036, allocations: 2.976 MB / 0.6145 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4036, allocations: 4.031 kB / 0.6145 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.4052, allocations: 1.001 MB / 0.6155 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.4056, allocations: 204.6 kB / 0.6157 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.4057, allocations: 11.98 kB / 0.6157 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.4061, allocations: 16.14 kB / 0.6157 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.4062, allocations: 47.81 kB / 0.6157 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4062, allocations: 19.98 kB / 0.6158 GB, free: 11.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005664/0.4068, allocations: 427.1 kB / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007897/0.4076, allocations: 203.9 kB / 0.6164 GB, free: 10.96 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.0005508/0.4081, allocations: 243.5 kB / 0.6166 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.4094, allocations: 0.5965 MB / 0.6172 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4094, allocations: 0 / 0.6172 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.4106, allocations: 471 kB / 0.6176 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.4124, allocations: 362.3 kB / 0.618 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4148, allocations: 1.425 MB / 0.6194 GB, free: 7.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.4154, allocations: 0.9346 MB / 0.6203 GB, free: 6.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006769/0.4161, allocations: 221.8 kB / 0.6205 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.4163, allocations: 63.42 kB / 0.6206 GB, free: 6.605 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4163, allocations: 0 / 0.6206 GB, free: 6.605 MB / 462.1 MB Notification: Performance of Templates: time 0.0282/0.4445, allocations: 15.71 MB / 0.6359 GB, free: 7.055 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.62945218430832]