Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.398/2.398, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004384, allocations: 19.94 kB / 314.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4221, allocations: 84.41 MB / 453.7 MB, free: 6.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4224, allocations: 67.95 kB / 453.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4102/0.8326, allocations: 30.36 MB / 484.1 MB, free: 99.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.847e-06/0.8326, allocations: 0 / 484.1 MB, free: 99.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.8326, allocations: 0 / 484.1 MB, free: 99.57 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.0004289/0.8331, allocations: 411.5 kB / 484.5 MB, free: 99.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8331, allocations: 7.625 kB / 484.5 MB, free: 99.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.8332, allocations: 7.953 kB / 484.5 MB, free: 99.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.006e-05/0.8332, allocations: 159.1 kB / 484.7 MB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8333, allocations: 3.25 kB / 484.7 MB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-06/0.8333, allocations: 0 / 484.7 MB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.408e-05/0.8334, allocations: 36.11 kB / 484.7 MB, free: 98.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.521e-06/0.8334, allocations: 0 / 484.7 MB, free: 98.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-06/0.8334, allocations: 0 / 484.7 MB, free: 98.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-06/0.8334, allocations: 0 / 484.7 MB, free: 98.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.8334, allocations: 7.891 kB / 484.7 MB, free: 98.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.392e-05/0.8335, allocations: 157.3 kB / 484.9 MB, free: 98.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.055e-05/0.8336, allocations: 14.58 kB / 484.9 MB, free: 98.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.08e-06/0.8336, allocations: 0 / 484.9 MB, free: 98.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.8336, allocations: 64.75 kB / 484.9 MB, free: 98.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.666e-06/0.8337, allocations: 0 / 484.9 MB, free: 98.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001431/0.8338, allocations: 71 kB / 485 MB, free: 98.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.8339, allocations: 81.23 kB / 485.1 MB, free: 98.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.93e-05/0.8339, allocations: 85 kB / 485.2 MB, free: 98.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.88e-06/0.8339, allocations: 25.7 kB / 485.2 MB, free: 98.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.8339, allocations: 150.6 kB / 485.3 MB, free: 98.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.834, allocations: 0 / 485.3 MB, free: 98.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-06/0.834, allocations: 2.875 kB / 485.4 MB, free: 98.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.834, allocations: 318.6 kB / 485.7 MB, free: 97.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-06/0.8341, allocations: 3.609 kB / 485.7 MB, free: 97.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-06/0.8341, allocations: 0 / 485.7 MB, free: 97.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.8341, allocations: 36.55 kB / 485.7 MB, free: 97.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-06/0.8341, allocations: 0 / 485.7 MB, free: 97.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.763e-05/0.8342, allocations: 66.17 kB / 485.8 MB, free: 97.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.8342, allocations: 35.41 kB / 485.8 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.787e-06/0.8342, allocations: 0 / 485.8 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.8343, allocations: 0 / 485.8 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.55e-06/0.8343, allocations: 0 / 485.8 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.585e-06/0.8343, allocations: 0 / 485.8 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.8343, allocations: 3.969 kB / 485.8 MB, free: 97.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-06/0.8343, allocations: 0 / 485.8 MB, free: 97.73 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 6.184e-05/0.8344, allocations: 139.5 kB / 485.9 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.8344, allocations: 3.938 kB / 485.9 MB, free: 97.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.216e-05/0.8344, allocations: 6.688 kB / 486 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-06/0.8345, allocations: 0 / 486 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-06/0.8345, allocations: 0 / 486 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.781e-06/0.8345, allocations: 0 / 486 MB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.398e-05/0.8345, allocations: 149.6 kB / 486.1 MB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.8346, allocations: 3.844 kB / 486.1 MB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-06/0.8346, allocations: 0 / 486.1 MB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-06/0.8346, allocations: 7.938 kB / 486.1 MB, free: 97.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-06/0.8346, allocations: 3.703 kB / 486.1 MB, free: 97.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.66e-06/0.8346, allocations: 0 / 486.1 MB, free: 97.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-06/0.8346, allocations: 0 / 486.1 MB, free: 97.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.668e-05/0.8347, allocations: 93.3 kB / 486.2 MB, free: 97.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.8347, allocations: 80.62 kB / 486.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.8348, allocations: 3.906 kB / 486.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.8348, allocations: 4.031 kB / 486.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.8348, allocations: 0 / 486.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-06/0.8348, allocations: 0 / 486.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.395e-05/0.8348, allocations: 75.28 kB / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.509e-06/0.8349, allocations: 0 / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005084/0.8354, allocations: 69.47 kB / 486.4 MB, free: 97.07 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.002783/0.8382, allocations: 0.5454 MB / 487 MB, free: 96.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.8383, allocations: 67.09 kB / 487 MB, free: 96.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.22e-06/0.8383, allocations: 0 / 487 MB, free: 96.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.8384, allocations: 58.97 kB / 487.1 MB, free: 96.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.8385, allocations: 3.938 kB / 487.1 MB, free: 96.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001587/0.8386, allocations: 108.2 kB / 487.2 MB, free: 96.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.8388, allocations: 0.676 MB / 487.9 MB, free: 95.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-06/0.8388, allocations: 7.438 kB / 487.9 MB, free: 95.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.516e-06/0.8388, allocations: 4.062 kB / 487.9 MB, free: 95.83 MB / 394.7 MB Notification: Performance of Templates: time 0.005205/0.844, allocations: 2.663 MB / 490.6 MB, free: 95.04 MB / 394.7 MB