Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001343/0.001343, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001618/0.001618, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.91 MB / 359.6 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 63.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3121, allocations: 65.46 MB / 0.5583 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02496/0.337, allocations: 20.71 MB / 0.5785 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.3443, allocations: 4.337 MB / 0.5827 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007288/0.3451, allocations: 27.75 kB / 0.5827 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3461, allocations: 318 kB / 0.583 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3482, allocations: 0.8862 MB / 0.5839 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.3508, allocations: 0.9297 MB / 0.5848 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.3534, allocations: 1.817 MB / 0.5866 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007159/0.3541, allocations: 397.6 kB / 0.587 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.3564, allocations: 0.9652 MB / 0.5879 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3575, allocations: 0.6773 MB / 0.5886 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3577, allocations: 56 kB / 0.5886 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.3586, allocations: 323.6 kB / 0.5889 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.359, allocations: 267.2 kB / 0.5892 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.3594, allocations: 394.2 kB / 0.5896 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.361, allocations: 1.089 MB / 0.5906 GB, free: 6.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.361, allocations: 0 / 0.5906 GB, free: 6.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.361, allocations: 4 kB / 0.5906 GB, free: 6.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.361, allocations: 0 / 0.5906 GB, free: 6.465 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.002361/0.3634, allocations: 0.9912 MB / 0.5916 GB, free: 5.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3634, allocations: 8.031 kB / 0.5916 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.3638, allocations: 100.4 kB / 0.5917 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.3648, allocations: 466.8 kB / 0.5921 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.3649, allocations: 160.3 kB / 0.5923 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.365, allocations: 48.33 kB / 0.5923 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.3664, allocations: 0.8213 MB / 0.5931 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3664, allocations: 7.984 kB / 0.5932 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.3665, allocations: 27.98 kB / 0.5932 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.342e-05/0.3666, allocations: 44.84 kB / 0.5932 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3677, allocations: 0.6439 MB / 0.5939 GB, free: 3.004 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.005709/0.3734, allocations: 4.162 MB / 0.5979 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009656/0.3744, allocations: 402.4 kB / 0.5983 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.3748, allocations: 197.4 kB / 0.5985 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.3751, allocations: 56.27 kB / 0.5985 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.3751, allocations: 42.89 kB / 0.5986 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.966e-06/0.3751, allocations: 0 / 0.5986 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003374/0.3785, allocations: 1.455 MB / 0.6 GB, free: 12.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3786, allocations: 140.5 kB / 0.6001 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.3794, allocations: 0.5693 MB / 0.6007 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.3794, allocations: 33.7 kB / 0.6007 GB, free: 11.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.3797, allocations: 363.9 kB / 0.6011 GB, free: 11.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.3799, allocations: 170.6 kB / 0.6012 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.3801, allocations: 138.6 kB / 0.6014 GB, free: 10.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3803, allocations: 378.7 kB / 0.6017 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.3807, allocations: 225.9 kB / 0.6019 GB, free: 10.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.3813, allocations: 0.524 MB / 0.6025 GB, free: 9.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3825, allocations: 0.7718 MB / 0.6032 GB, free: 8.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3825, allocations: 4 kB / 0.6032 GB, free: 8.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001911/0.3844, allocations: 0.9418 MB / 0.6041 GB, free: 7.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3844, allocations: 8 kB / 0.6041 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3844, allocations: 8 kB / 0.6041 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.3856, allocations: 264.7 kB / 0.6044 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.386, allocations: 127.8 kB / 0.6045 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.3871, allocations: 0.8722 MB / 0.6054 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.3876, allocations: 27.98 kB / 0.6054 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.3877, allocations: 36 kB / 0.6054 GB, free: 6.434 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.0003347/0.388, allocations: 241.5 kB / 0.6057 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3881, allocations: 67.58 kB / 0.6057 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.3895, allocations: 0.7241 MB / 0.6064 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3895, allocations: 4 kB / 0.6064 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3895, allocations: 4 kB / 0.6064 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3896, allocations: 3.984 kB / 0.6065 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.3919, allocations: 1.367 MB / 0.6078 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.3919, allocations: 7.938 kB / 0.6078 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.3929, allocations: 195.9 kB / 0.608 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.3932, allocations: 60.73 kB / 0.608 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.3932, allocations: 12 kB / 0.608 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.396, allocations: 2.779 MB / 0.6108 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.396, allocations: 8 kB / 0.6108 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.3977, allocations: 1.009 MB / 0.6118 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.398, allocations: 131.4 kB / 0.6119 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.3981, allocations: 8 kB / 0.6119 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.3985, allocations: 16 kB / 0.6119 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.3986, allocations: 36.02 kB / 0.6119 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.3986, allocations: 28.05 kB / 0.612 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005668/0.3992, allocations: 430.9 kB / 0.6124 GB, free: 14.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3992, allocations: 0 / 0.6124 GB, free: 14.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008137/0.4, allocations: 207.9 kB / 0.6126 GB, free: 14.76 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.0004256/0.4004, allocations: 211.5 kB / 0.6128 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.4017, allocations: 0.5889 MB / 0.6134 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4017, allocations: 0 / 0.6134 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.403, allocations: 463.7 kB / 0.6138 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.4047, allocations: 375.8 kB / 0.6142 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.4073, allocations: 1.469 MB / 0.6156 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.4079, allocations: 0.9345 MB / 0.6165 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.4081, allocations: 63.42 kB / 0.6166 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4081, allocations: 7.938 kB / 0.6166 GB, free: 10.58 MB / 462.1 MB Notification: Performance of Templates: time 0.02376/0.4318, allocations: 15.66 MB / 0.6319 GB, free: 11.03 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.278986026067287]