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.00159/0.00159, 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.001494/0.001494, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.412/1.412, 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.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.2328/0.2328, allocations: 46.95 MB / 361.6 MB, free: 4.281 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.00213/0.00213, allocations: 63.89 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 66.04 MB / 0.5619 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.023/0.3581, allocations: 20.68 MB / 0.5821 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00647/0.3646, allocations: 4.333 MB / 0.5863 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.3651, allocations: 31.69 kB / 0.5864 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.366, allocations: 322 kB / 0.5867 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.368, allocations: 0.8862 MB / 0.5875 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.3704, allocations: 0.9334 MB / 0.5884 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.3728, allocations: 1.817 MB / 0.5902 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000765/0.3735, allocations: 396.3 kB / 0.5906 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.3756, allocations: 0.9652 MB / 0.5915 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.3768, allocations: 0.6734 MB / 0.5922 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.377, allocations: 60 kB / 0.5922 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009283/0.3779, allocations: 327.6 kB / 0.5926 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.3783, allocations: 267.2 kB / 0.5928 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.3789, allocations: 390.2 kB / 0.5932 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.3805, allocations: 1.093 MB / 0.5943 GB, free: 3.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3806, allocations: 0 / 0.5943 GB, free: 3.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3806, allocations: 0 / 0.5943 GB, free: 3.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.3806, allocations: 0 / 0.5943 GB, free: 3.199 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.002505/0.3831, allocations: 0.9912 MB / 0.5952 GB, free: 2.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3831, allocations: 12.03 kB / 0.5952 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.3835, allocations: 96.41 kB / 0.5953 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/0.3845, allocations: 470.8 kB / 0.5958 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.3847, allocations: 156.3 kB / 0.5959 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3848, allocations: 52.31 kB / 0.596 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.3862, allocations: 0.8213 MB / 0.5968 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.3863, allocations: 4 kB / 0.5968 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.3864, allocations: 23.98 kB / 0.5968 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/0.3864, allocations: 48.91 kB / 0.5969 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3877, allocations: 0.6478 MB / 0.5975 GB, free: 15.73 MB / 446.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.005666/0.3934, allocations: 4.162 MB / 0.6015 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.3943, allocations: 395.9 kB / 0.6019 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.3946, allocations: 193.4 kB / 0.6021 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.3949, allocations: 52.28 kB / 0.6022 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.395, allocations: 38.89 kB / 0.6022 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.395, allocations: 0 / 0.6022 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003379/0.3984, allocations: 1.466 MB / 0.6036 GB, free: 9.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.3985, allocations: 136.5 kB / 0.6038 GB, free: 8.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.3992, allocations: 0.5732 MB / 0.6043 GB, free: 8.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.3993, allocations: 29.7 kB / 0.6043 GB, free: 8.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.3996, allocations: 363.9 kB / 0.6047 GB, free: 7.961 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.3997, allocations: 170.6 kB / 0.6049 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.3999, allocations: 138.6 kB / 0.605 GB, free: 7.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4001, allocations: 378.6 kB / 0.6054 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.4006, allocations: 229.9 kB / 0.6056 GB, free: 7.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.4012, allocations: 0.5201 MB / 0.6061 GB, free: 6.391 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.4023, allocations: 0.7796 MB / 0.6068 GB, free: 5.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4023, allocations: 0 / 0.6068 GB, free: 5.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001936/0.4043, allocations: 0.9332 MB / 0.6078 GB, free: 4.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4043, allocations: 8 kB / 0.6078 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4043, allocations: 12.88 kB / 0.6078 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4055, allocations: 272.6 kB / 0.608 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.4059, allocations: 123.8 kB / 0.6081 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.407, allocations: 0.8722 MB / 0.609 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.4075, allocations: 27.98 kB / 0.609 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.4075, allocations: 39.98 kB / 0.6091 GB, free: 3.164 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.0003636/0.4079, allocations: 241.7 kB / 0.6093 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.408, allocations: 67.58 kB / 0.6094 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.4094, allocations: 0.719 MB / 0.6101 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4095, allocations: 8 kB / 0.6101 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4095, allocations: 0 / 0.6101 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4095, allocations: 3.984 kB / 0.6101 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4118, allocations: 1.368 MB / 0.6114 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4118, allocations: 3.938 kB / 0.6114 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/0.4128, allocations: 199.7 kB / 0.6116 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.413, allocations: 60.95 kB / 0.6117 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4131, allocations: 16 kB / 0.6117 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.4158, allocations: 2.776 MB / 0.6144 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4158, allocations: 0 / 0.6144 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.4174, allocations: 1.006 MB / 0.6154 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.4178, allocations: 139.5 kB / 0.6155 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4179, allocations: 12 kB / 0.6155 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.4183, allocations: 8 kB / 0.6155 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.4184, allocations: 51.8 kB / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.4184, allocations: 16 kB / 0.6156 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006011/0.419, allocations: 419 kB / 0.616 GB, free: 11.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.419, allocations: 3.938 kB / 0.616 GB, free: 11.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008067/0.4198, allocations: 211.9 kB / 0.6162 GB, free: 11.5 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.0004185/0.4202, allocations: 215 kB / 0.6164 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.4215, allocations: 0.5924 MB / 0.617 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4215, allocations: 0 / 0.617 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.4227, allocations: 463.3 kB / 0.6174 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.4243, allocations: 379.2 kB / 0.6178 GB, free: 9.875 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.427, allocations: 1.461 MB / 0.6192 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.4276, allocations: 0.9384 MB / 0.6201 GB, free: 7.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.4278, allocations: 63.44 kB / 0.6202 GB, free: 7.328 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4278, allocations: 0 / 0.6202 GB, free: 7.328 MB / 462.1 MB Notification: Performance of Templates: time 0.02486/0.4527, allocations: 15.67 MB / 0.6355 GB, free: 7.762 MB / 478.1 MB " [Timeout remaining time 660] 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 -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: 9.841210206970572]