Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008859/0.000886, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007477/0.0007478, allocations: 86.42 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2435, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.0236/0.2671, allocations: 34.21 MB / 410.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2698, allocations: 3.497 MB / 414.3 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.2701, allocations: 7.938 kB / 414.3 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.2705, allocations: 127.3 kB / 414.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.271, allocations: 322.4 kB / 414.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.2729, allocations: 0.8811 MB / 415.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.2738, allocations: 1.351 MB / 417 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2739, allocations: 73.75 kB / 417.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.2774, allocations: 2.722 MB / 419.8 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.2777, allocations: 286.8 kB / 420.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.2777, allocations: 16 kB / 420.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.2782, allocations: 211.6 kB / 420.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.2783, allocations: 83.64 kB / 420.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.2785, allocations: 197 kB / 420.6 MB, free: 1.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.279, allocations: 0.5608 MB / 421.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.279, allocations: 0 / 421.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.279, allocations: 0 / 421.1 MB, free: 1.059 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.279, allocations: 4 kB / 421.1 MB, free: 1.055 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006314/0.2796, allocations: 0.5458 MB / 421.7 MB, free: 472 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2797, allocations: 8.031 kB / 421.7 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.28, allocations: 52.55 kB / 421.7 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.2803, allocations: 295.5 kB / 422 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2803, allocations: 24.94 kB / 422 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.2804, allocations: 24.38 kB / 422.1 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.2809, allocations: 334.4 kB / 422.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2809, allocations: 0 / 422.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.281, allocations: 12 kB / 422.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.281, allocations: 8 kB / 422.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.2813, allocations: 189.5 kB / 422.6 MB, free: 15.45 MB / 314.7 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.001989/0.2833, allocations: 2.115 MB / 424.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2836, allocations: 188.3 kB / 424.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.2838, allocations: 84.78 kB / 425 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.2839, allocations: 255.5 kB / 425.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.284, allocations: 34.56 kB / 425.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.284, allocations: 0 / 425.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002413/0.2864, allocations: 1.018 MB / 426.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2865, allocations: 55.41 kB / 426.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.2867, allocations: 258.5 kB / 426.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2868, allocations: 37.7 kB / 426.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2869, allocations: 180.2 kB / 426.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.287, allocations: 110.5 kB / 426.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.287, allocations: 8 kB / 426.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2871, allocations: 338.8 kB / 427.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2873, allocations: 84.72 kB / 427.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.2875, allocations: 178.5 kB / 427.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.2878, allocations: 277.1 kB / 427.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2878, allocations: 4 kB / 427.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005526/0.2884, allocations: 381.6 kB / 428.2 MB, free: 9.414 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2884, allocations: 4 kB / 428.2 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2884, allocations: 4 kB / 428.2 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.2888, allocations: 96.77 kB / 428.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2891, allocations: 67.84 kB / 428.3 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000515/0.2896, allocations: 0.6619 MB / 429 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.2898, allocations: 12 kB / 429 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.2899, allocations: 19.98 kB / 429 MB, free: 8.523 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.29, allocations: 157.8 kB / 429.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.2901, allocations: 31.66 kB / 429.2 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.2907, allocations: 373.7 kB / 429.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.2907, allocations: 4 kB / 429.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2908, allocations: 0 / 429.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004811/0.2912, allocations: 0.5474 MB / 430.1 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009962/0.2922, allocations: 0.7437 MB / 430.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2923, allocations: 0 / 430.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2924, allocations: 31.98 kB / 430.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.2929, allocations: 104.8 kB / 431 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.2929, allocations: 8 kB / 431 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004869/0.2934, allocations: 0.6419 MB / 431.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2934, allocations: 4.031 kB / 431.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.2942, allocations: 494.7 kB / 432.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.2943, allocations: 104.8 kB / 432.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.2944, allocations: 8 kB / 432.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.2947, allocations: 23.95 kB / 432.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.2947, allocations: 7.984 kB / 432.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.2947, allocations: 19.98 kB / 432.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2949, allocations: 194 kB / 432.5 MB, free: 4.797 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2949, allocations: 3.938 kB / 432.5 MB, free: 4.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.2954, allocations: 112 kB / 432.6 MB, free: 4.684 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002943/0.2957, allocations: 151.1 kB / 432.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.2962, allocations: 245.1 kB / 433 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2962, allocations: 0 / 433 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.2966, allocations: 119.9 kB / 433.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.2977, allocations: 170.2 kB / 433.3 MB, free: 4.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2991, allocations: 0.7855 MB / 434.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.2995, allocations: 0.7726 MB / 434.8 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.2998, allocations: 63.22 kB / 434.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.2999, allocations: 31.44 kB / 434.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2999, allocations: 0 / 434.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of Templates: time 0.01257/0.3124, allocations: 6.661 MB / 441.6 MB, free: 11.7 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches