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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 112.4 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 190.4 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 253.1 MB, free: 13.05 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.2235/0.2235, allocations: 44.92 MB / 353.2 MB, free: 11.85 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 497.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 64.29 MB / 0.5484 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02533/0.3803, allocations: 20.39 MB / 0.5684 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007446/0.3878, allocations: 4.309 MB / 0.5726 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008107/0.3886, allocations: 27.75 kB / 0.5726 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.3897, allocations: 318 kB / 0.5729 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.3922, allocations: 0.8901 MB / 0.5738 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3948, allocations: 0.922 MB / 0.5747 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.3975, allocations: 1.817 MB / 0.5764 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008498/0.3983, allocations: 397.6 kB / 0.5768 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.4006, allocations: 0.9496 MB / 0.5777 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.402, allocations: 0.6889 MB / 0.5784 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4022, allocations: 60 kB / 0.5785 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.4032, allocations: 279.6 kB / 0.5787 GB, free: 332 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.4037, allocations: 267.2 kB / 0.579 GB, free: 64 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007285/0.4044, allocations: 390.3 kB / 0.5794 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.4063, allocations: 1.081 MB / 0.5804 GB, free: 14.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4063, allocations: 3.938 kB / 0.5804 GB, free: 14.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4063, allocations: 0 / 0.5804 GB, free: 14.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.4064, allocations: 4 kB / 0.5804 GB, free: 14.59 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.002906/0.4093, allocations: 0.995 MB / 0.5814 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4093, allocations: 8.922 kB / 0.5814 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.4098, allocations: 92.45 kB / 0.5815 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.4109, allocations: 478.7 kB / 0.582 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.411, allocations: 105 kB / 0.5821 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.4112, allocations: 56.3 kB / 0.5821 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.4127, allocations: 0.8213 MB / 0.5829 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4127, allocations: 0 / 0.5829 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.4128, allocations: 24 kB / 0.5829 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-05/0.4128, allocations: 36.98 kB / 0.583 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.414, allocations: 0.6478 MB / 0.5836 GB, free: 11.2 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.006137/0.4202, allocations: 4.178 MB / 0.5877 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.4215, allocations: 391.4 kB / 0.5881 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.4219, allocations: 197.4 kB / 0.5882 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.4222, allocations: 52.28 kB / 0.5883 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4223, allocations: 46.83 kB / 0.5883 GB, free: 6.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.853e-06/0.4223, allocations: 0 / 0.5883 GB, free: 6.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003489/0.4258, allocations: 1.455 MB / 0.5898 GB, free: 4.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.4259, allocations: 140.5 kB / 0.5899 GB, free: 4.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.4266, allocations: 0.5693 MB / 0.5905 GB, free: 3.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.4267, allocations: 33.7 kB / 0.5905 GB, free: 3.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.427, allocations: 359.9 kB / 0.5908 GB, free: 3.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.4271, allocations: 178.5 kB / 0.591 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.4273, allocations: 138.6 kB / 0.5911 GB, free: 3.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4275, allocations: 378.7 kB / 0.5915 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.428, allocations: 221.9 kB / 0.5917 GB, free: 2.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.4286, allocations: 0.5318 MB / 0.5922 GB, free: 1.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.4298, allocations: 0.764 MB / 0.593 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4298, allocations: 4 kB / 0.593 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001897/0.4317, allocations: 0.9418 MB / 0.5939 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4317, allocations: 8 kB / 0.5939 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4317, allocations: 15.94 kB / 0.5939 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.4328, allocations: 268.8 kB / 0.5942 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.4333, allocations: 123.8 kB / 0.5943 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.4345, allocations: 0.8694 MB / 0.5951 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.4349, allocations: 24 kB / 0.5952 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.435, allocations: 39.98 kB / 0.5952 GB, free: 14.62 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.0003569/0.4353, allocations: 242.2 kB / 0.5954 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.4355, allocations: 71.53 kB / 0.5955 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.4369, allocations: 0.7188 MB / 0.5962 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4369, allocations: 4 kB / 0.5962 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4369, allocations: 0 / 0.5962 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4369, allocations: 3.984 kB / 0.5962 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.4393, allocations: 1.379 MB / 0.5976 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4393, allocations: 3.938 kB / 0.5976 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.4404, allocations: 199.9 kB / 0.5977 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.4406, allocations: 52.8 kB / 0.5978 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.4407, allocations: 15.98 kB / 0.5978 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.4434, allocations: 2.787 MB / 0.6005 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4434, allocations: 4.031 kB / 0.6005 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.4451, allocations: 1.009 MB / 0.6015 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.4454, allocations: 127.4 kB / 0.6016 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.4455, allocations: 15.98 kB / 0.6017 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.4459, allocations: 12 kB / 0.6017 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.446, allocations: 43.94 kB / 0.6017 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.446, allocations: 23.98 kB / 0.6017 GB, free: 7.562 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005875/0.4466, allocations: 419 kB / 0.6021 GB, free: 7.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4466, allocations: 0 / 0.6021 GB, free: 7.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008299/0.4474, allocations: 207.9 kB / 0.6023 GB, free: 6.949 MB / 446.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.000545/0.448, allocations: 235.8 kB / 0.6026 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4493, allocations: 0.5815 MB / 0.6031 GB, free: 6.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4493, allocations: 8 kB / 0.6031 GB, free: 6.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.4504, allocations: 479 kB / 0.6036 GB, free: 5.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.4522, allocations: 377.9 kB / 0.604 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4547, allocations: 1.409 MB / 0.6053 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.4553, allocations: 0.9384 MB / 0.6062 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006685/0.456, allocations: 207.5 kB / 0.6064 GB, free: 2.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.4562, allocations: 67.38 kB / 0.6065 GB, free: 2.617 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4562, allocations: 0 / 0.6065 GB, free: 2.617 MB / 446.1 MB Notification: Performance of Templates: time 0.02969/0.4859, allocations: 15.87 MB / 0.622 GB, free: 2.941 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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: 5.91906741913408]