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.00133/0.00133, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001332/0.001332, allocations: 194 kB / 18.77 MB, free: 4.742 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2081/0.2081, allocations: 44.17 MB / 336.8 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.28 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02254/0.1305, allocations: 20.97 MB / 490.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.1371, allocations: 4.449 MB / 494.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.138, allocations: 31.81 kB / 494.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1391, allocations: 278.5 kB / 494.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.1413, allocations: 0.7971 MB / 495.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.1436, allocations: 0.8081 MB / 496.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.1465, allocations: 2.66 MB / 499.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008233/0.1474, allocations: 397 kB / 499.6 MB, free: 384 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.1493, allocations: 0.8209 MB / 0.4887 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1506, allocations: 0.6577 MB / 0.4893 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.1508, allocations: 32 kB / 0.4893 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1519, allocations: 275.5 kB / 0.4896 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.1523, allocations: 227.3 kB / 0.4898 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006333/0.1529, allocations: 378.1 kB / 0.4902 GB, free: 14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1539, allocations: 0.7954 MB / 0.4909 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1539, allocations: 0 / 0.4909 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.154, allocations: 0 / 0.4909 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.154, allocations: 4 kB / 0.4909 GB, free: 13.2 MB / 382.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.002469/0.1565, allocations: 1.052 MB / 0.492 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1565, allocations: 15.97 kB / 0.492 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.1569, allocations: 95.98 kB / 0.4921 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.1578, allocations: 0.4977 MB / 0.4926 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1579, allocations: 101 kB / 0.4927 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.158, allocations: 52.27 kB / 0.4927 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1594, allocations: 0.829 MB / 0.4935 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1595, allocations: 0 / 0.4935 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.1596, allocations: 24 kB / 0.4935 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.1596, allocations: 36.98 kB / 0.4936 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1607, allocations: 0.6516 MB / 0.4942 GB, free: 9.672 MB / 382.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.005262/0.166, allocations: 4.209 MB / 0.4983 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.167, allocations: 429.6 kB / 0.4987 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.1674, allocations: 205.4 kB / 0.4989 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.1679, allocations: 0.4911 MB / 0.4994 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.168, allocations: 42.83 kB / 0.4995 GB, free: 3.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.168, allocations: 0 / 0.4995 GB, free: 3.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003524/0.1715, allocations: 1.535 MB / 0.501 GB, free: 2.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.1716, allocations: 132.5 kB / 0.5011 GB, free: 2.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.1724, allocations: 0.5693 MB / 0.5016 GB, free: 1.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.1725, allocations: 33.7 kB / 0.5017 GB, free: 1.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.1728, allocations: 358.9 kB / 0.502 GB, free: 1.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1729, allocations: 161.7 kB / 0.5022 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.1732, allocations: 142.5 kB / 0.5023 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1733, allocations: 378.7 kB / 0.5027 GB, free: 492 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.1737, allocations: 229.9 kB / 0.5029 GB, free: 264 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.196/0.3698, allocations: 0.5106 MB / 0.5034 GB, free: 51.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.371, allocations: 0.7801 MB / 0.5041 GB, free: 51.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.371, allocations: 2.219 kB / 0.5041 GB, free: 51.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002071/0.3731, allocations: 0.9415 MB / 0.5051 GB, free: 51.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3732, allocations: 11.16 kB / 0.5051 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3732, allocations: 9.312 kB / 0.5051 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.3744, allocations: 266.9 kB / 0.5053 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3749, allocations: 121.6 kB / 0.5054 GB, free: 51.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009296/0.3758, allocations: 0.8638 MB / 0.5063 GB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.3765, allocations: 46.58 kB / 0.5063 GB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.3766, allocations: 33.77 kB / 0.5064 GB, free: 50.48 MB / 382.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.0003589/0.3769, allocations: 252.4 kB / 0.5066 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3771, allocations: 67.52 kB / 0.5067 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.3785, allocations: 0.7135 MB / 0.5074 GB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.3785, allocations: 5.328 kB / 0.5074 GB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3785, allocations: 1 kB / 0.5074 GB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.3785, allocations: 3.188 kB / 0.5074 GB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3808, allocations: 1.411 MB / 0.5088 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.3809, allocations: 2.281 kB / 0.5088 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.3819, allocations: 193 kB / 0.5089 GB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.3822, allocations: 61.59 kB / 0.509 GB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.3823, allocations: 10.34 kB / 0.509 GB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.3841, allocations: 2.788 MB / 0.5117 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3842, allocations: 6.359 kB / 0.5117 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3858, allocations: 0.9967 MB / 0.5127 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.3861, allocations: 195.6 kB / 0.5129 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3863, allocations: 12.98 kB / 0.5129 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3867, allocations: 32.69 kB / 0.5129 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3868, allocations: 42.36 kB / 0.513 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.3869, allocations: 19.52 kB / 0.513 GB, free: 45.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005799/0.3875, allocations: 427.2 kB / 0.5134 GB, free: 45.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3875, allocations: 0 / 0.5134 GB, free: 45.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000892/0.3884, allocations: 215.6 kB / 0.5136 GB, free: 45.54 MB / 382.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.0004996/0.3889, allocations: 215.5 kB / 0.5138 GB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3901, allocations: 0.5944 MB / 0.5144 GB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3901, allocations: 3.688 kB / 0.5144 GB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3913, allocations: 478.2 kB / 0.5149 GB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.393, allocations: 349.6 kB / 0.5152 GB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3954, allocations: 1.673 MB / 0.5168 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.3959, allocations: 0.9331 MB / 0.5177 GB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.3962, allocations: 66.55 kB / 0.5178 GB, free: 43.23 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3962, allocations: 1.438 kB / 0.5178 GB, free: 43.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02134/0.4175, allocations: 15.55 MB / 0.533 GB, free: 33.95 MB / 382.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