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: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000625/0.0006251, allocations: 16 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3558, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.5159, allocations: 84.41 MB / 453.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5163, allocations: 67.91 kB / 453.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4484/0.9647, allocations: 30.35 MB / 484.2 MB, free: 99.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.9648, allocations: 7.938 kB / 484.2 MB, free: 99.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.9648, allocations: 0 / 484.2 MB, free: 99.54 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.0005901/0.9654, allocations: 420.9 kB / 484.6 MB, free: 99.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9654, allocations: 8.312 kB / 484.6 MB, free: 99.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.9655, allocations: 30.56 kB / 484.6 MB, free: 99.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.9655, allocations: 3.953 kB / 484.6 MB, free: 99.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.501e-05/0.9656, allocations: 159.1 kB / 484.8 MB, free: 98.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.9656, allocations: 3.156 kB / 484.8 MB, free: 98.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.9656, allocations: 3.938 kB / 484.8 MB, free: 98.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.951e-05/0.9657, allocations: 40.7 kB / 484.8 MB, free: 98.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9657, allocations: 0 / 484.8 MB, free: 98.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.9658, allocations: 0 / 484.8 MB, free: 98.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.9658, allocations: 0 / 484.8 MB, free: 98.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.9658, allocations: 7.891 kB / 484.9 MB, free: 98.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.9659, allocations: 149.1 kB / 485 MB, free: 98.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/0.966, allocations: 18.38 kB / 485 MB, free: 98.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.966, allocations: 0 / 485 MB, free: 98.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.966, allocations: 64.7 kB / 485.1 MB, free: 98.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.966, allocations: 0 / 485.1 MB, free: 98.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.9662, allocations: 65.88 kB / 485.1 MB, free: 98.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.9663, allocations: 77.11 kB / 485.2 MB, free: 98.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.12e-05/0.9663, allocations: 88.56 kB / 485.3 MB, free: 98.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.9663, allocations: 28.95 kB / 485.3 MB, free: 98.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.9663, allocations: 153.8 kB / 485.5 MB, free: 98.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.9664, allocations: 128 / 485.5 MB, free: 98.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.9664, allocations: 4 kB / 485.5 MB, free: 98.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.9665, allocations: 314.8 kB / 485.8 MB, free: 97.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.9665, allocations: 0 / 485.8 MB, free: 97.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.9665, allocations: 3.688 kB / 485.8 MB, free: 97.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.9665, allocations: 29.7 kB / 485.8 MB, free: 97.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9665, allocations: 0 / 485.8 MB, free: 97.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.777e-05/0.9666, allocations: 62.66 kB / 485.9 MB, free: 97.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.9666, allocations: 33.55 kB / 485.9 MB, free: 97.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9667, allocations: 4.094 kB / 485.9 MB, free: 97.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9667, allocations: 3.906 kB / 485.9 MB, free: 97.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.9667, allocations: 0 / 485.9 MB, free: 97.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.9667, allocations: 0 / 485.9 MB, free: 97.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.9667, allocations: 0 / 485.9 MB, free: 97.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9667, allocations: 0 / 485.9 MB, free: 97.65 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.563e-05/0.9668, allocations: 142.9 kB / 486.1 MB, free: 97.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.9668, allocations: 0 / 486.1 MB, free: 97.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.9669, allocations: 7.125 kB / 486.1 MB, free: 97.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9669, allocations: 4 kB / 486.1 MB, free: 97.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9669, allocations: 0 / 486.1 MB, free: 97.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9669, allocations: 0 / 486.1 MB, free: 97.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.559e-05/0.967, allocations: 152.3 kB / 486.2 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.967, allocations: 4 kB / 486.2 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.967, allocations: 0 / 486.2 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.967, allocations: 0 / 486.2 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.967, allocations: 3.938 kB / 486.2 MB, free: 97.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.967, allocations: 3.938 kB / 486.2 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.967, allocations: 0 / 486.2 MB, free: 97.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.154e-05/0.9671, allocations: 102.1 kB / 486.3 MB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.9672, allocations: 84.77 kB / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.9672, allocations: 0 / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.9672, allocations: 0 / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.9672, allocations: 0 / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.9673, allocations: 2.875 kB / 486.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.441e-05/0.9673, allocations: 75.28 kB / 486.5 MB, free: 97.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9673, allocations: 0 / 486.5 MB, free: 97.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006335/0.9679, allocations: 70.53 kB / 486.6 MB, free: 96.99 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.002819/0.9708, allocations: 1.078 MB / 487.6 MB, free: 96.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.9709, allocations: 62.47 kB / 487.7 MB, free: 96.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9709, allocations: 3.781 kB / 487.7 MB, free: 96.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.9709, allocations: 51.41 kB / 487.8 MB, free: 96.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.9711, allocations: 7.297 kB / 487.8 MB, free: 96.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.9715, allocations: 170.7 kB / 487.9 MB, free: 95.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.9717, allocations: 0.6759 MB / 488.6 MB, free: 95.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.9717, allocations: 15.16 kB / 488.6 MB, free: 95.15 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.9717, allocations: 0 / 488.6 MB, free: 95.15 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.52, allocations: 2.796 MB / 491.4 MB, free: 94.2 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat