Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001248/0.001248, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001305/0.001305, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.402/1.402, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.2285/0.2285, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.717e-05, allocations: 6.219 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2203/0.2204, allocations: 39.67 MB / 479.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00701/0.2274, allocations: 4.063 MB / 483.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.228, allocations: 28.5 kB / 483.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.2289, allocations: 309.1 kB / 484.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.2311, allocations: 0.9068 MB / 485.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.2338, allocations: 0.9592 MB / 486 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.2364, allocations: 1.825 MB / 487.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.237, allocations: 392.2 kB / 488.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1198/0.3569, allocations: 44.59 MB / 0.5203 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02142/0.3783, allocations: 7.896 MB / 0.5281 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.3785, allocations: 60 kB / 0.5281 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02828/0.4068, allocations: 10.6 MB / 0.5385 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.4074, allocations: 283.1 kB / 0.5387 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006422/0.408, allocations: 283.3 kB / 0.539 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.4101, allocations: 1.126 MB / 0.5401 GB, free: 8.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4101, allocations: 0 / 0.5401 GB, free: 8.914 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4101, allocations: 0 / 0.5401 GB, free: 8.914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.4101, allocations: 0 / 0.5401 GB, free: 8.914 MB / 446.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.002313/0.4124, allocations: 0.9872 MB / 0.5411 GB, free: 7.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4124, allocations: 12.03 kB / 0.5411 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.4128, allocations: 92.45 kB / 0.5412 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.4137, allocations: 478 kB / 0.5416 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.4139, allocations: 148.4 kB / 0.5418 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.414, allocations: 56.34 kB / 0.5418 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4155, allocations: 1.068 MB / 0.5429 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4155, allocations: 7.938 kB / 0.5429 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.4156, allocations: 20 kB / 0.5429 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/0.4157, allocations: 44.98 kB / 0.5429 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4169, allocations: 0.6438 MB / 0.5436 GB, free: 5.152 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.004989/0.4218, allocations: 3.317 MB / 0.5468 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.4228, allocations: 396 kB / 0.5472 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.4232, allocations: 196.3 kB / 0.5474 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.4235, allocations: 56.28 kB / 0.5474 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4235, allocations: 34.89 kB / 0.5474 GB, free: 1.039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.015e-06/0.4235, allocations: 7.938 kB / 0.5475 GB, free: 1.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.00355/0.4271, allocations: 1.449 MB / 0.5489 GB, free: 15.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.4272, allocations: 136.5 kB / 0.549 GB, free: 15.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/0.4278, allocations: 0.5143 MB / 0.5495 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.4279, allocations: 37.7 kB / 0.5495 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.4282, allocations: 368.3 kB / 0.5499 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.4283, allocations: 170.6 kB / 0.55 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.4286, allocations: 134.6 kB / 0.5502 GB, free: 14.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4288, allocations: 370.8 kB / 0.5505 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.4292, allocations: 234.8 kB / 0.5508 GB, free: 13.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.4299, allocations: 0.5916 MB / 0.5513 GB, free: 12.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.431, allocations: 0.7845 MB / 0.5521 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4311, allocations: 4 kB / 0.5521 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001982/0.433, allocations: 0.9353 MB / 0.553 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4331, allocations: 8 kB / 0.553 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4331, allocations: 8 kB / 0.553 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.4343, allocations: 268 kB / 0.5533 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.4349, allocations: 128.4 kB / 0.5534 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4361, allocations: 0.8646 MB / 0.5543 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.4367, allocations: 27.98 kB / 0.5543 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4368, allocations: 32 kB / 0.5543 GB, free: 9.578 MB / 462.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.0004378/0.4372, allocations: 246.5 kB / 0.5545 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4374, allocations: 63.61 kB / 0.5546 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4389, allocations: 0.706 MB / 0.5553 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.439, allocations: 11.94 kB / 0.5553 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.439, allocations: 0.875 kB / 0.5553 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.439, allocations: 7.922 kB / 0.5553 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.4415, allocations: 1.235 MB / 0.5565 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4415, allocations: 4 kB / 0.5565 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.4426, allocations: 192 kB / 0.5567 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.4429, allocations: 56.78 kB / 0.5568 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.443, allocations: 13 kB / 0.5568 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.4459, allocations: 2.728 MB / 0.5594 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4459, allocations: 3.984 kB / 0.5594 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.4478, allocations: 0.9956 MB / 0.5604 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.4482, allocations: 123.5 kB / 0.5605 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.4483, allocations: 15.94 kB / 0.5605 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.4487, allocations: 19.92 kB / 0.5606 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.4489, allocations: 35.94 kB / 0.5606 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.4489, allocations: 23.98 kB / 0.5606 GB, free: 2.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005789/0.4495, allocations: 346.8 kB / 0.561 GB, free: 2.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4495, allocations: 0 / 0.561 GB, free: 2.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008718/0.4504, allocations: 207.9 kB / 0.5612 GB, free: 2.258 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.0004838/0.4509, allocations: 236.9 kB / 0.5614 GB, free: 2.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.4522, allocations: 0.5858 MB / 0.562 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4522, allocations: 0 / 0.562 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4535, allocations: 475.9 kB / 0.5624 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.4553, allocations: 322.9 kB / 0.5627 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.4579, allocations: 1.294 MB / 0.564 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4583, allocations: 348.9 kB / 0.5643 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006851/0.459, allocations: 198.4 kB / 0.5645 GB, free: 14.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.4592, allocations: 60.48 kB / 0.5646 GB, free: 14.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4592, allocations: 0 / 0.5646 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Templates: time 0.02688/0.4861, allocations: 13.83 MB / 0.5781 GB, free: 1.164 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.395023752003908]