Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00136/0.00136, allocations: 84.92 kB / 20.68 MB, free: 1.039 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.001536/0.001536, allocations: 163.1 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.469/1.469, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.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.2142/0.2142, allocations: 34.27 MB / 294.9 MB, free: 14.56 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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.58e-05, allocations: 6.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2343/0.2343, allocations: 39.67 MB / 482.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.2447, allocations: 4.067 MB / 486.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.2458, allocations: 28.12 kB / 486.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2474, allocations: 310 kB / 486.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.251, allocations: 0.9063 MB / 487.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.2548, allocations: 0.9572 MB / 488.6 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.2584, allocations: 1.824 MB / 490.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.2595, allocations: 401.2 kB / 490.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1303/0.3899, allocations: 44.58 MB / 0.5229 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02109/0.411, allocations: 7.9 MB / 0.5306 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.4112, allocations: 60 kB / 0.5306 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02795/0.4392, allocations: 10.59 MB / 0.541 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005521/0.4397, allocations: 287.1 kB / 0.5413 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.4403, allocations: 275.4 kB / 0.5415 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.4422, allocations: 1.126 MB / 0.5426 GB, free: 4.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4422, allocations: 0 / 0.5426 GB, free: 4.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4422, allocations: 0 / 0.5426 GB, free: 4.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.4422, allocations: 0 / 0.5426 GB, free: 4.762 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.002229/0.4444, allocations: 0.9873 MB / 0.5436 GB, free: 3.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4445, allocations: 12.03 kB / 0.5436 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.4449, allocations: 88.47 kB / 0.5437 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.4458, allocations: 477.9 kB / 0.5441 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4459, allocations: 161.6 kB / 0.5443 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.446, allocations: 48.38 kB / 0.5443 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.4475, allocations: 1.078 MB / 0.5454 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4475, allocations: 3.938 kB / 0.5454 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.4476, allocations: 20 kB / 0.5454 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.646e-05/0.4477, allocations: 40.97 kB / 0.5454 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.4489, allocations: 0.6478 MB / 0.5461 GB, free: 0.9961 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.004846/0.4537, allocations: 3.317 MB / 0.5493 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/0.4546, allocations: 392.5 kB / 0.5497 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.455, allocations: 205.4 kB / 0.5499 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.4553, allocations: 50.45 kB / 0.5499 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4553, allocations: 41.45 kB / 0.55 GB, free: 12.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.235e-06/0.4553, allocations: 0 / 0.55 GB, free: 12.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003573/0.4589, allocations: 1.456 MB / 0.5514 GB, free: 11.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.459, allocations: 132.5 kB / 0.5515 GB, free: 11.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.4596, allocations: 0.5182 MB / 0.552 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.4597, allocations: 29.7 kB / 0.5521 GB, free: 10.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.46, allocations: 372.3 kB / 0.5524 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.4601, allocations: 170.6 kB / 0.5526 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.4604, allocations: 142.6 kB / 0.5527 GB, free: 9.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4606, allocations: 370.8 kB / 0.5531 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.461, allocations: 221.9 kB / 0.5533 GB, free: 9.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.4617, allocations: 0.5993 MB / 0.5539 GB, free: 8.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.4628, allocations: 0.7767 MB / 0.5546 GB, free: 7.734 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4628, allocations: 4 kB / 0.5546 GB, free: 7.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001909/0.4647, allocations: 0.9353 MB / 0.5555 GB, free: 6.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4648, allocations: 8.188 kB / 0.5555 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4648, allocations: 16 kB / 0.5556 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.4659, allocations: 260.6 kB / 0.5558 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.4664, allocations: 127.8 kB / 0.5559 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.4674, allocations: 0.8606 MB / 0.5568 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.4679, allocations: 28.05 kB / 0.5568 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.468, allocations: 43.91 kB / 0.5568 GB, free: 5.426 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.0003671/0.4684, allocations: 246.5 kB / 0.5571 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4685, allocations: 67.62 kB / 0.5571 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.4699, allocations: 0.7055 MB / 0.5578 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.4699, allocations: 11.94 kB / 0.5578 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.47, allocations: 0 / 0.5578 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.47, allocations: 4 kB / 0.5578 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.4725, allocations: 1.235 MB / 0.5591 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4725, allocations: 4.812 kB / 0.5591 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.4737, allocations: 196 kB / 0.5592 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.4739, allocations: 56.8 kB / 0.5593 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.474, allocations: 11.98 kB / 0.5593 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.4766, allocations: 2.73 MB / 0.562 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4766, allocations: 4.031 kB / 0.562 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4784, allocations: 0.9922 MB / 0.563 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.4786, allocations: 115.7 kB / 0.5631 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/0.4787, allocations: 23.94 kB / 0.5631 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.4791, allocations: 8 kB / 0.5631 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4792, allocations: 47.86 kB / 0.5631 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.4793, allocations: 16 kB / 0.5632 GB, free: 14.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004821/0.4797, allocations: 350.8 kB / 0.5635 GB, free: 14.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4797, allocations: 0 / 0.5635 GB, free: 14.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008727/0.4806, allocations: 203.9 kB / 0.5637 GB, free: 14.11 MB / 478.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.0004858/0.4811, allocations: 222.1 kB / 0.5639 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4824, allocations: 0.5898 MB / 0.5645 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4824, allocations: 4 kB / 0.5645 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4837, allocations: 470.2 kB / 0.5649 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.4853, allocations: 322.8 kB / 0.5652 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.4878, allocations: 1.314 MB / 0.5665 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.4882, allocations: 344.9 kB / 0.5668 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000577/0.4887, allocations: 198.7 kB / 0.567 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.4889, allocations: 60.48 kB / 0.5671 GB, free: 10.55 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4889, allocations: 0 / 0.5671 GB, free: 10.55 MB / 478.1 MB Notification: Performance of Templates: time 0.02557/0.5145, allocations: 13.82 MB / 0.5806 GB, free: 13.02 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.610275201499462]