Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestColorMapToSvg.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 234.9 MB / 251.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004296, allocations: 16 kB / 314.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 54.87 MB / 369.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.5028, allocations: 84.4 MB / 454.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5031, allocations: 63.98 kB / 454.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5278/1.031, allocations: 30.36 MB / 484.6 MB, free: 99.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.031, allocations: 0 / 484.6 MB, free: 99.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/1.031, allocations: 4 kB / 484.6 MB, free: 99.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005378/1.031, allocations: 416.5 kB / 485 MB, free: 99.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.032, allocations: 10.34 kB / 485 MB, free: 99.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/1.032, allocations: 7.922 kB / 485 MB, free: 99.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.256e-05/1.032, allocations: 159.1 kB / 485.2 MB, free: 98.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/1.032, allocations: 0 / 485.2 MB, free: 98.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/1.032, allocations: 0 / 485.2 MB, free: 98.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/1.032, allocations: 29.61 kB / 485.2 MB, free: 98.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.032, allocations: 4 kB / 485.2 MB, free: 98.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/1.032, allocations: 0 / 485.2 MB, free: 98.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.032, allocations: 0 / 485.2 MB, free: 98.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/1.032, allocations: 11.55 kB / 485.2 MB, free: 98.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/1.032, allocations: 145.6 kB / 485.4 MB, free: 98.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/1.032, allocations: 18.58 kB / 485.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/1.032, allocations: 3.938 kB / 485.4 MB, free: 98.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/1.032, allocations: 60.27 kB / 485.5 MB, free: 98.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/1.032, allocations: 3.938 kB / 485.5 MB, free: 98.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000161/1.032, allocations: 66.62 kB / 485.5 MB, free: 98.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/1.032, allocations: 81.05 kB / 485.6 MB, free: 98.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.347e-05/1.032, allocations: 89.86 kB / 485.7 MB, free: 98.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/1.032, allocations: 29.7 kB / 485.7 MB, free: 98.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/1.032, allocations: 150.6 kB / 485.9 MB, free: 98.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/1.032, allocations: 0 / 485.9 MB, free: 98.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/1.032, allocations: 0 / 485.9 MB, free: 98.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/1.032, allocations: 318.9 kB / 486.2 MB, free: 97.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/1.033, allocations: 7.656 kB / 486.2 MB, free: 97.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/1.033, allocations: 3.609 kB / 486.2 MB, free: 97.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/1.033, allocations: 25.7 kB / 486.2 MB, free: 97.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.033, allocations: 0 / 486.2 MB, free: 97.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.594e-05/1.033, allocations: 63.22 kB / 486.3 MB, free: 97.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.033, allocations: 37.33 kB / 486.3 MB, free: 97.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.033, allocations: 5.828 kB / 486.3 MB, free: 97.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.033, allocations: 96 / 486.3 MB, free: 97.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/1.033, allocations: 4 kB / 486.3 MB, free: 97.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.033, allocations: 0 / 486.3 MB, free: 97.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/1.033, allocations: 0 / 486.3 MB, free: 97.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/1.033, allocations: 0 / 486.3 MB, free: 97.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.033, allocations: 141.3 kB / 486.5 MB, free: 97.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/1.033, allocations: 0 / 486.5 MB, free: 97.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/1.033, allocations: 3.125 kB / 486.5 MB, free: 97.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.033, allocations: 0 / 486.5 MB, free: 97.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.033, allocations: 3.719 kB / 486.5 MB, free: 97.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.033, allocations: 4 kB / 486.5 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.945e-05/1.033, allocations: 149.5 kB / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.033, allocations: 0 / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/1.033, allocations: 0 / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/1.033, allocations: 0 / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.033, allocations: 3.625 kB / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.033, allocations: 0 / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.033, allocations: 0 / 486.6 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/1.033, allocations: 101.7 kB / 486.7 MB, free: 97.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/1.033, allocations: 77.11 kB / 486.8 MB, free: 97.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.033, allocations: 0 / 486.8 MB, free: 97.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/1.033, allocations: 2.859 kB / 486.8 MB, free: 97.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/1.033, allocations: 11.67 kB / 486.8 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/1.033, allocations: 0 / 486.8 MB, free: 97.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.478e-05/1.033, allocations: 79.22 kB / 486.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.033, allocations: 0 / 486.9 MB, free: 97.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005965/1.034, allocations: 73.09 kB / 487 MB, free: 97.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002656/1.037, allocations: 0.5485 MB / 487.5 MB, free: 96.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/1.037, allocations: 58.42 kB / 487.6 MB, free: 96.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.037, allocations: 0 / 487.6 MB, free: 96.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/1.037, allocations: 63.22 kB / 487.6 MB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/1.037, allocations: 3.953 kB / 487.6 MB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/1.037, allocations: 111.8 kB / 487.7 MB, free: 96.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/1.037, allocations: 0.6731 MB / 488.4 MB, free: 95.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.173e-05/1.037, allocations: 7.438 kB / 488.4 MB, free: 95.85 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/1.037, allocations: 0 / 488.4 MB, free: 95.85 MB / 394.7 MB Notification: Performance of Templates: time 0.006218/1.044, allocations: 2.659 MB / 491.1 MB, free: 95.17 MB / 394.7 MB