Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01024/0.01024, allocations: 175.5 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.004/2.004, allocations: 194.5 MB / 210.3 MB, free: 11.39 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00204/0.00204, allocations: 116.6 kB / 255.6 MB, free: 14.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5995/0.5995, allocations: 40 MB / 340.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004836, allocations: 12 kB / 406.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3838, allocations: 54.86 MB / 461.1 MB, free: 24.5 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.534, allocations: 84.41 MB / 0.5328 GB, free: 6.645 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5343, allocations: 67.97 kB / 0.5328 GB, free: 6.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4986/1.033, allocations: 30.35 MB / 0.5625 GB, free: 97.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.033, allocations: 0 / 0.5625 GB, free: 97.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/1.033, allocations: 1.344 kB / 0.5625 GB, free: 97.14 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.0006363/1.034, allocations: 423.7 kB / 0.5629 GB, free: 96.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.034, allocations: 9.125 kB / 0.5629 GB, free: 96.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/1.034, allocations: 35.88 kB / 0.5629 GB, free: 96.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/1.034, allocations: 7.75 kB / 0.5629 GB, free: 96.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.288e-05/1.034, allocations: 159.1 kB / 0.5631 GB, free: 96.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.034, allocations: 2.453 kB / 0.5631 GB, free: 96.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/1.034, allocations: 1.094 kB / 0.5631 GB, free: 96.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/1.034, allocations: 32.3 kB / 0.5631 GB, free: 96.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.034, allocations: 0 / 0.5631 GB, free: 96.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/1.034, allocations: 0 / 0.5631 GB, free: 96.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.034, allocations: 1.219 kB / 0.5631 GB, free: 96.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/1.034, allocations: 9.266 kB / 0.5631 GB, free: 96.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/1.034, allocations: 149.6 kB / 0.5633 GB, free: 96.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/1.034, allocations: 17.39 kB / 0.5633 GB, free: 96.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/1.034, allocations: 0 / 0.5633 GB, free: 96.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/1.034, allocations: 65.52 kB / 0.5633 GB, free: 96.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/1.034, allocations: 0 / 0.5633 GB, free: 96.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/1.035, allocations: 65.88 kB / 0.5634 GB, free: 96.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.035, allocations: 82.98 kB / 0.5635 GB, free: 95.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.266e-05/1.035, allocations: 85 kB / 0.5636 GB, free: 95.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/1.035, allocations: 29.64 kB / 0.5636 GB, free: 95.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/1.035, allocations: 80.14 kB / 0.5637 GB, free: 95.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/1.035, allocations: 5.234 kB / 0.5637 GB, free: 95.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.035, allocations: 0 / 0.5637 GB, free: 95.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/1.035, allocations: 320.1 kB / 0.564 GB, free: 95.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/1.035, allocations: 0 / 0.564 GB, free: 95.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/1.035, allocations: 1.406 kB / 0.564 GB, free: 95.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/1.035, allocations: 35.05 kB / 0.564 GB, free: 95.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.035, allocations: 1.344 kB / 0.564 GB, free: 95.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.245e-05/1.035, allocations: 61.59 kB / 0.5641 GB, free: 95.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.035, allocations: 30.7 kB / 0.5641 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.035, allocations: 0 / 0.5641 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.035, allocations: 1.469 kB / 0.5641 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-06/1.035, allocations: 0 / 0.5641 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.035, allocations: 3.797 kB / 0.5641 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/1.035, allocations: 1.562 kB / 0.5641 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.035, allocations: 4.031 kB / 0.5641 GB, free: 95.32 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 7.457e-05/1.035, allocations: 145.5 kB / 0.5643 GB, free: 95.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/1.035, allocations: 1.906 kB / 0.5643 GB, free: 95.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/1.035, allocations: 3.125 kB / 0.5643 GB, free: 95.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.035, allocations: 0 / 0.5643 GB, free: 95.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.035, allocations: 1.844 kB / 0.5643 GB, free: 95.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.035, allocations: 0 / 0.5643 GB, free: 95.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.501e-05/1.035, allocations: 151.3 kB / 0.5644 GB, free: 94.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.035, allocations: 0 / 0.5644 GB, free: 94.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-06/1.035, allocations: 8 kB / 0.5644 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.035, allocations: 0 / 0.5644 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/1.035, allocations: 2 kB / 0.5644 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.035, allocations: 0 / 0.5644 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.035, allocations: 0 / 0.5644 GB, free: 94.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/1.036, allocations: 98.14 kB / 0.5645 GB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/1.036, allocations: 77.11 kB / 0.5646 GB, free: 94.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/1.036, allocations: 2 kB / 0.5646 GB, free: 94.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/1.036, allocations: 4.031 kB / 0.5646 GB, free: 94.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/1.036, allocations: 0 / 0.5646 GB, free: 94.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/1.036, allocations: 1.75 kB / 0.5646 GB, free: 94.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.761e-05/1.036, allocations: 75.28 kB / 0.5647 GB, free: 94.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.036, allocations: 3.609 kB / 0.5647 GB, free: 94.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006611/1.036, allocations: 68.97 kB / 0.5647 GB, free: 94.67 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.003043/1.039, allocations: 1.069 MB / 0.5658 GB, free: 93.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/1.04, allocations: 64.41 kB / 0.5658 GB, free: 93.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.04, allocations: 0 / 0.5658 GB, free: 93.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/1.04, allocations: 58.16 kB / 0.5659 GB, free: 93.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/1.04, allocations: 5.312 kB / 0.5659 GB, free: 93.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/1.04, allocations: 150.8 kB / 0.566 GB, free: 93.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/1.041, allocations: 0.6719 MB / 0.5667 GB, free: 92.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.103e-06/1.041, allocations: 1.375 kB / 0.5667 GB, free: 92.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/1.041, allocations: 8.812 kB / 0.5667 GB, free: 92.87 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/1.041, allocations: 0 / 0.5667 GB, free: 92.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/1.064, allocations: 2.778 MB / 0.5694 GB, free: 91.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.065, allocations: 210.7 kB / 0.5696 GB, free: 91.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.545, allocations: 0 / 0.5696 GB, free: 91.73 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat