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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 111.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009524/0.0009523, allocations: 183 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.367, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02175/0.3888, allocations: 20.24 MB / 0.5393 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.3959, allocations: 4.291 MB / 0.5435 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.397, allocations: 19.97 kB / 0.5436 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3982, allocations: 312.9 kB / 0.5438 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.4009, allocations: 0.8486 MB / 0.5447 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.4036, allocations: 0.9064 MB / 0.5456 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.4063, allocations: 1.792 MB / 0.5473 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.4072, allocations: 460.1 kB / 0.5478 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.4094, allocations: 0.9389 MB / 0.5487 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.4107, allocations: 0.6333 MB / 0.5493 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.411, allocations: 60.81 kB / 0.5493 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.4121, allocations: 299 kB / 0.5496 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.4125, allocations: 266.7 kB / 0.5499 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.4133, allocations: 392.3 kB / 0.5503 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.4152, allocations: 1.084 MB / 0.5513 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4152, allocations: 0 / 0.5513 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4153, allocations: 4 kB / 0.5513 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.4153, allocations: 0 / 0.5513 GB, free: 11.46 MB / 414.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.002567/0.4179, allocations: 1.048 MB / 0.5523 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4179, allocations: 8.031 kB / 0.5524 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.4183, allocations: 88.08 kB / 0.5524 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.4192, allocations: 0.5443 MB / 0.553 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.4193, allocations: 101 kB / 0.5531 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.4194, allocations: 52.36 kB / 0.5531 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.4207, allocations: 0.8096 MB / 0.5539 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.4207, allocations: 8 kB / 0.5539 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.4208, allocations: 23.98 kB / 0.5539 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.4208, allocations: 40.92 kB / 0.554 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.4219, allocations: 0.64 MB / 0.5546 GB, free: 7.93 MB / 414.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.004526/0.4264, allocations: 4.221 MB / 0.5587 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.4272, allocations: 415.9 kB / 0.5591 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.4276, allocations: 209.4 kB / 0.5593 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/0.428, allocations: 0.5029 MB / 0.5598 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.428, allocations: 38.89 kB / 0.5598 GB, free: 2.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.4281, allocations: 0 / 0.5598 GB, free: 2.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00303/0.4311, allocations: 1.531 MB / 0.5613 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.4312, allocations: 136.5 kB / 0.5615 GB, free: 392 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.4318, allocations: 0.5654 MB / 0.562 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.4318, allocations: 33.7 kB / 0.5621 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4321, allocations: 355 kB / 0.5624 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4322, allocations: 169.7 kB / 0.5626 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.4324, allocations: 138.5 kB / 0.5627 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4326, allocations: 378.7 kB / 0.563 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.4329, allocations: 221.9 kB / 0.5633 GB, free: 14.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.4335, allocations: 0.524 MB / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.4344, allocations: 0.7757 MB / 0.5645 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4344, allocations: 8 kB / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001665/0.4361, allocations: 0.9375 MB / 0.5655 GB, free: 11.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4361, allocations: 8 kB / 0.5655 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4362, allocations: 8 kB / 0.5655 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.4372, allocations: 275.5 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.4376, allocations: 123.8 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008991/0.4385, allocations: 0.8683 MB / 0.5667 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.439, allocations: 24 kB / 0.5667 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.4391, allocations: 36 kB / 0.5668 GB, free: 10.63 MB / 430.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.0003109/0.4394, allocations: 241.6 kB / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.4396, allocations: 71.09 kB / 0.5671 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.4408, allocations: 0.7181 MB / 0.5678 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.4408, allocations: 7.984 kB / 0.5678 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4408, allocations: 0 / 0.5678 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4409, allocations: 0 / 0.5678 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.4429, allocations: 1.4 MB / 0.5691 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4429, allocations: 3.938 kB / 0.5691 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.4439, allocations: 199.9 kB / 0.5693 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.4441, allocations: 52.8 kB / 0.5694 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.4442, allocations: 19.98 kB / 0.5694 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.4464, allocations: 2.982 MB / 0.5723 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4464, allocations: 4.031 kB / 0.5723 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.4478, allocations: 1.001 MB / 0.5733 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.4481, allocations: 200.2 kB / 0.5735 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.4483, allocations: 11.98 kB / 0.5735 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.4487, allocations: 19.94 kB / 0.5735 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.4488, allocations: 43.89 kB / 0.5735 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.4488, allocations: 19.98 kB / 0.5736 GB, free: 3.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004777/0.4493, allocations: 427 kB / 0.574 GB, free: 2.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4493, allocations: 0 / 0.574 GB, free: 2.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007767/0.4501, allocations: 204 kB / 0.5742 GB, free: 2.598 MB / 430.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.0004951/0.4506, allocations: 233.4 kB / 0.5744 GB, free: 2.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.4518, allocations: 0.6166 MB / 0.575 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.4518, allocations: 3.938 kB / 0.575 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.4529, allocations: 474.2 kB / 0.5755 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.4546, allocations: 375.3 kB / 0.5758 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.457, allocations: 1.438 MB / 0.5772 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.4576, allocations: 0.9346 MB / 0.5781 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4579, allocations: 67.42 kB / 0.5782 GB, free: 14.4 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4579, allocations: 0 / 0.5782 GB, free: 14.4 MB / 446.1 MB Notification: Performance of Templates: time 0.02424/0.4821, allocations: 15.63 MB / 0.5935 GB, free: 14.87 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (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) 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) Reference file matches