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.001275/0.001275, allocations: 111.1 kB / 18.4 MB, free: 4.699 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.001267/0.001267, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.429/1.429, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001392/0.001392, allocations: 51.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08604, allocations: 46.62 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.1966/0.2827, allocations: 15.85 MB / 391.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.2852, allocations: 1.914 MB / 393.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.2855, allocations: 4.375 kB / 393.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.2861, allocations: 174.5 kB / 393.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.2867, allocations: 308.6 kB / 394.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.2874, allocations: 286.3 kB / 394.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000972/0.2884, allocations: 0.8327 MB / 395.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.2886, allocations: 108.1 kB / 395.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.2897, allocations: 0.5186 MB / 395.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.2901, allocations: 270.3 kB / 396.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.2902, allocations: 28.28 kB / 396.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2903, allocations: 38.59 kB / 396.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.2904, allocations: 93.19 kB / 396.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.2906, allocations: 176.5 kB / 396.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005224/0.2911, allocations: 439.5 kB / 396.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2912, allocations: 0 / 396.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2912, allocations: 1.406 kB / 396.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.2912, allocations: 4 kB / 396.9 MB, free: 1.297 MB / 318.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.0008576/0.292, allocations: 0.5762 MB / 397.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2921, allocations: 10.16 kB / 397.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.2924, allocations: 46.69 kB / 397.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.2928, allocations: 289.4 kB / 397.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.2928, allocations: 18.66 kB / 397.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.2929, allocations: 26.25 kB / 397.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.2934, allocations: 304.5 kB / 398.1 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2934, allocations: 2.031 kB / 398.1 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.2935, allocations: 11.81 kB / 398.1 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.2935, allocations: 5.625 kB / 398.1 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.2939, allocations: 199.2 kB / 398.3 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2957, allocations: 1.437 MB / 399.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.296, allocations: 182.3 kB / 399.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2962, allocations: 87.92 kB / 400 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.2962, allocations: 4.375 kB / 400 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2963, allocations: 41 kB / 400.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.2963, allocations: 0 / 400.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002607/0.2989, allocations: 0.9994 MB / 401.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2989, allocations: 55.16 kB / 401.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.2992, allocations: 261.5 kB / 401.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.2993, allocations: 31.45 kB / 401.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2994, allocations: 177.9 kB / 401.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.2995, allocations: 93.7 kB / 401.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2996, allocations: 67 kB / 401.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2998, allocations: 341.3 kB / 402.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3, allocations: 85.03 kB / 402.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3002, allocations: 179.5 kB / 402.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.3006, allocations: 283 kB / 402.6 MB, free: 13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3006, allocations: 4.938 kB / 402.6 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006913/0.3013, allocations: 384.5 kB / 403 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3013, allocations: 5.375 kB / 403 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3013, allocations: 3.938 kB / 403 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.3016, allocations: 64.19 kB / 403.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.3019, allocations: 73.44 kB / 403.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.3043, allocations: 2.876 MB / 406 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.3046, allocations: 12.25 kB / 406 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.3047, allocations: 15.92 kB / 406 MB, free: 9.871 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.0001998/0.3049, allocations: 155.2 kB / 406.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.3049, allocations: 34.52 kB / 406.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.332e-05/0.305, allocations: 35.86 kB / 406.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.305, allocations: 3.375 kB / 406.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.305, allocations: 0 / 406.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006168/0.3057, allocations: 0.5606 MB / 406.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3068, allocations: 0.6976 MB / 407.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3068, allocations: 2 kB / 407.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.307, allocations: 48.7 kB / 407.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/0.3072, allocations: 49.91 kB / 407.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3073, allocations: 8.062 kB / 407.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.3086, allocations: 1.484 MB / 409.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3086, allocations: 5.062 kB / 409.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.3093, allocations: 478.4 kB / 409.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.3094, allocations: 101.5 kB / 409.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3095, allocations: 7.922 kB / 409.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3097, allocations: 6.75 kB / 409.7 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3097, allocations: 23 kB / 409.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.3098, allocations: 13 kB / 409.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.31, allocations: 183.5 kB / 409.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.31, allocations: 3.938 kB / 409.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.3105, allocations: 94.31 kB / 410 MB, free: 6.621 MB / 334.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.0001404/0.3106, allocations: 102.3 kB / 410.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.3115, allocations: 481 kB / 410.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3115, allocations: 0 / 410.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.3119, allocations: 240.2 kB / 410.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.3128, allocations: 162.6 kB / 411 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3142, allocations: 0.7279 MB / 411.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.3146, allocations: 0.7627 MB / 412.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.3147, allocations: 28.53 kB / 412.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3147, allocations: 0 / 412.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of Templates: time 0.01002/0.3247, allocations: 5.977 MB / 418.5 MB, free: 1.98 MB / 334.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/jenkins1/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/jenkins1/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