Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 118.4 kB / 17.78 MB, free: 5.293 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.001751/0.001751, allocations: 183.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 207.6 MB / 227.1 MB, free: 11.54 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 61.61 kB / 336.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.348, allocations: 49.11 MB / 385.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0172/0.3652, allocations: 15.93 MB / 401.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.3684, allocations: 1.916 MB / 403.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.3686, allocations: 4.469 kB / 403.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.3695, allocations: 175 kB / 403.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008079/0.3703, allocations: 318.3 kB / 403.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009353/0.3712, allocations: 281.2 kB / 403.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3725, allocations: 0.8376 MB / 404.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.3727, allocations: 88.84 kB / 404.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.374, allocations: 0.5127 MB / 405.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.3744, allocations: 295.3 kB / 405.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.3745, allocations: 28.88 kB / 405.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3746, allocations: 39.64 kB / 405.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3747, allocations: 86.75 kB / 405.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.3749, allocations: 187.8 kB / 405.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3756, allocations: 441.2 kB / 406.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3756, allocations: 1.031 kB / 406.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3756, allocations: 0 / 406.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3756, allocations: 0 / 406.4 MB, free: 9.953 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001149/0.3768, allocations: 0.5919 MB / 406.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.3768, allocations: 8.906 kB / 407 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.3771, allocations: 43.19 kB / 407 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.3777, allocations: 281.8 kB / 407.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3777, allocations: 16.02 kB / 407.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.3778, allocations: 24.31 kB / 407.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.3783, allocations: 314.6 kB / 407.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3784, allocations: 1.375 kB / 407.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.3784, allocations: 10.75 kB / 407.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3784, allocations: 6.875 kB / 407.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.3788, allocations: 200.6 kB / 407.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.3809, allocations: 1.442 MB / 409.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.3813, allocations: 168.3 kB / 409.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3815, allocations: 81.72 kB / 409.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.3815, allocations: 10.23 kB / 409.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3815, allocations: 33.69 kB / 409.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.375e-06/0.3815, allocations: 0 / 409.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002906/0.3844, allocations: 1.001 MB / 410.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3845, allocations: 53.78 kB / 410.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.3849, allocations: 266.7 kB / 410.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3849, allocations: 28.05 kB / 410.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3851, allocations: 182.5 kB / 411.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.3851, allocations: 105.7 kB / 411.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3853, allocations: 66.02 kB / 411.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3855, allocations: 332.4 kB / 411.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3856, allocations: 91.58 kB / 411.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3859, allocations: 178.7 kB / 411.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.3864, allocations: 280.3 kB / 412.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3864, allocations: 1.031 kB / 412.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008008/0.3872, allocations: 393.8 kB / 412.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3872, allocations: 6.531 kB / 412.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3872, allocations: 3.031 kB / 412.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.3875, allocations: 65.11 kB / 412.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.3878, allocations: 63.88 kB / 412.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.3909, allocations: 2.888 MB / 415.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.3912, allocations: 11.91 kB / 415.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3912, allocations: 15.5 kB / 415.5 MB, free: 2.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.3914, allocations: 158.6 kB / 415.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.3915, allocations: 30.41 kB / 415.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/0.3915, allocations: 36.48 kB / 415.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3915, allocations: 2.906 kB / 415.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3915, allocations: 0 / 415.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007144/0.3923, allocations: 0.5592 MB / 416.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3935, allocations: 0.7073 MB / 417 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3935, allocations: 0 / 417 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3937, allocations: 41.64 kB / 417.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.394, allocations: 48.61 kB / 417.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.394, allocations: 14.39 kB / 417.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.3955, allocations: 1.487 MB / 418.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3955, allocations: 0 / 418.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.3964, allocations: 479.8 kB / 419.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.3965, allocations: 103.5 kB / 419.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.3965, allocations: 11.69 kB / 419.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3967, allocations: 5.438 kB / 419.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.3968, allocations: 16.16 kB / 419.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3968, allocations: 9.656 kB / 419.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.397, allocations: 188.5 kB / 419.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.397, allocations: 9.125 kB / 419.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.3974, allocations: 89.69 kB / 419.5 MB, free: 14.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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): 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.0001613/0.3976, allocations: 101.6 kB / 419.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.3985, allocations: 468.3 kB / 420.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3985, allocations: 4 kB / 420.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.3989, allocations: 226 kB / 420.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.3999, allocations: 163.4 kB / 420.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.4013, allocations: 0.7009 MB / 421.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4017, allocations: 0.7657 MB / 421.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.402, allocations: 50.78 kB / 422 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.4021, allocations: 28.91 kB / 422 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4021, allocations: 0 / 422 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Templates: time 0.01322/0.4153, allocations: 5.788 MB / 427.8 MB, free: 8.879 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches