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.001272/0.001272, allocations: 108.4 kB / 21.17 MB, free: 0.7617 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.001479/0.001479, allocations: 213 kB / 24.46 MB, free: 4.195 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.434/1.434, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2265/0.2265, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.002367/0.002367, allocations: 83.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3481, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02505/0.3731, allocations: 20.69 MB / 0.5814 GB, free: 272 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007106/0.3802, allocations: 4.34 MB / 0.5856 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.3808, allocations: 23.81 kB / 0.5857 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008913/0.3817, allocations: 322 kB / 0.586 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.3837, allocations: 0.8745 MB / 0.5868 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.3859, allocations: 0.9054 MB / 0.5877 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.3881, allocations: 1.813 MB / 0.5895 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.3887, allocations: 393.4 kB / 0.5899 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.3904, allocations: 0.9457 MB / 0.5908 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009963/0.3914, allocations: 0.6773 MB / 0.5914 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3915, allocations: 60 kB / 0.5915 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.3922, allocations: 311.6 kB / 0.5918 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.3925, allocations: 271.1 kB / 0.5921 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.393, allocations: 394.2 kB / 0.5924 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.3944, allocations: 1.094 MB / 0.5935 GB, free: 3.844 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3944, allocations: 3.938 kB / 0.5935 GB, free: 3.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3944, allocations: 0 / 0.5935 GB, free: 3.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3944, allocations: 4 kB / 0.5935 GB, free: 3.836 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.002123/0.3965, allocations: 1.063 MB / 0.5945 GB, free: 2.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.3965, allocations: 8.031 kB / 0.5946 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.3969, allocations: 96.41 kB / 0.5946 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.3978, allocations: 0.537 MB / 0.5952 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3979, allocations: 108.9 kB / 0.5953 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.398, allocations: 52.33 kB / 0.5953 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3993, allocations: 0.8174 MB / 0.5961 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.3993, allocations: 7.938 kB / 0.5961 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.3994, allocations: 24 kB / 0.5962 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.3995, allocations: 36.98 kB / 0.5962 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4006, allocations: 0.64 MB / 0.5968 GB, free: 276 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.005258/0.4058, allocations: 4.21 MB / 0.6009 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009187/0.4068, allocations: 399.9 kB / 0.6013 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.4071, allocations: 193.4 kB / 0.6015 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.4076, allocations: 0.4989 MB / 0.602 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4077, allocations: 42.88 kB / 0.602 GB, free: 10.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.4077, allocations: 0 / 0.602 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.00333/0.411, allocations: 1.537 MB / 0.6035 GB, free: 8.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.4111, allocations: 132.5 kB / 0.6036 GB, free: 8.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.4118, allocations: 0.5694 MB / 0.6042 GB, free: 8.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.4119, allocations: 37.7 kB / 0.6042 GB, free: 8.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.4122, allocations: 367.8 kB / 0.6046 GB, free: 7.781 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4123, allocations: 162.6 kB / 0.6047 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.4125, allocations: 146.6 kB / 0.6049 GB, free: 7.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.4128, allocations: 378.7 kB / 0.6052 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.4132, allocations: 221.9 kB / 0.6055 GB, free: 6.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.414, allocations: 0.524 MB / 0.606 GB, free: 6.215 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4152, allocations: 0.7757 MB / 0.6067 GB, free: 5.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4152, allocations: 4 kB / 0.6067 GB, free: 5.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001851/0.417, allocations: 0.9339 MB / 0.6076 GB, free: 4.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.417, allocations: 12 kB / 0.6077 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4171, allocations: 8 kB / 0.6077 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4182, allocations: 268.8 kB / 0.6079 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.4186, allocations: 131.8 kB / 0.608 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.4197, allocations: 0.8645 MB / 0.6089 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.4201, allocations: 32 kB / 0.6089 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.4202, allocations: 32 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.0003457/0.4205, allocations: 257.3 kB / 0.6092 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4206, allocations: 71.58 kB / 0.6093 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.4221, allocations: 0.7085 MB / 0.61 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4221, allocations: 8 kB / 0.61 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4221, allocations: 0 / 0.61 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4221, allocations: 4 kB / 0.61 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.4245, allocations: 1.396 MB / 0.6113 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4245, allocations: 7.922 kB / 0.6113 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.4256, allocations: 196 kB / 0.6115 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.4258, allocations: 52.75 kB / 0.6116 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.4259, allocations: 19.98 kB / 0.6116 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.4287, allocations: 2.983 MB / 0.6145 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4287, allocations: 0 / 0.6145 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.4305, allocations: 0.9973 MB / 0.6155 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.4308, allocations: 204.6 kB / 0.6157 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.431, allocations: 15.98 kB / 0.6157 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.4314, allocations: 16 kB / 0.6157 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4315, allocations: 47.89 kB / 0.6158 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.4315, allocations: 19.98 kB / 0.6158 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000594/0.4321, allocations: 423 kB / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4321, allocations: 0 / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008416/0.4329, 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.0006374/0.4336, allocations: 245 kB / 0.6166 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.4349, allocations: 0.5929 MB / 0.6172 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4349, allocations: 0 / 0.6172 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.4362, allocations: 466.6 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.001937/0.4382, allocations: 373.9 kB / 0.618 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.4408, allocations: 1.428 MB / 0.6194 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.4416, allocations: 0.9346 MB / 0.6203 GB, free: 6.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006958/0.4423, allocations: 204.6 kB / 0.6205 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.4425, allocations: 59.44 kB / 0.6205 GB, free: 6.613 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4425, allocations: 4 kB / 0.6205 GB, free: 6.609 MB / 462.1 MB Notification: Performance of Templates: time 0.03049/0.473, allocations: 15.72 MB / 0.6359 GB, free: 7.047 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 gbode -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.478570419829339]