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: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004047/0.004047, allocations: 358.8 kB / 15.95 MB, free: 6.203 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 4.339/4.339, allocations: 388.9 MB / 405.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.006028/0.006028, allocations: 233 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5455/0.5455, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004803, allocations: 19.98 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1115, allocations: 54.86 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.6026, allocations: 84.41 MB / 0.7625 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6029, allocations: 69.03 kB / 0.7626 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06262/0.6655, allocations: 16.19 MB / 0.7784 GB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6656, allocations: 0 / 0.7784 GB, free: 2.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.6656, allocations: 0 / 0.7784 GB, free: 2.805 MB / 362.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.0009655/0.6666, allocations: 419.4 kB / 0.7788 GB, free: 2.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6667, allocations: 8.031 kB / 0.7788 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.6667, allocations: 7.953 kB / 0.7788 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.6669, allocations: 163.1 kB / 0.779 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.667, allocations: 0 / 0.779 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.667, allocations: 0 / 0.779 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.6671, allocations: 33.64 kB / 0.779 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6671, allocations: 0 / 0.779 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.6672, allocations: 0 / 0.779 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6672, allocations: 4 kB / 0.779 GB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.6672, allocations: 3.953 kB / 0.779 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.6675, allocations: 153.3 kB / 0.7791 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.6675, allocations: 14.83 kB / 0.7792 GB, free: 1.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.6676, allocations: 4.859 kB / 0.7792 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.6676, allocations: 0 / 0.7792 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.485e-05/0.6677, allocations: 64.3 kB / 0.7792 GB, free: 1.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.6677, allocations: 4 kB / 0.7792 GB, free: 1.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002315/0.668, allocations: 67.08 kB / 0.7793 GB, free: 1.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.668, allocations: 77.11 kB / 0.7794 GB, free: 1.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.6681, allocations: 89.86 kB / 0.7794 GB, free: 1.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.6682, allocations: 29.64 kB / 0.7795 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.6682, allocations: 80.14 kB / 0.7796 GB, free: 1.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.6682, allocations: 0 / 0.7796 GB, free: 1.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/0.6683, allocations: 0 / 0.7796 GB, free: 1.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6685, allocations: 326.9 kB / 0.7799 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.6685, allocations: 3.688 kB / 0.7799 GB, free: 1.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.6685, allocations: 0 / 0.7799 GB, free: 1.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.6686, allocations: 33.64 kB / 0.7799 GB, free: 1.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6686, allocations: 0 / 0.7799 GB, free: 1.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001216/0.6687, allocations: 59.39 kB / 0.78 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.6688, allocations: 33.7 kB / 0.78 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6688, allocations: 0 / 0.78 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6688, allocations: 0 / 0.78 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.6688, allocations: 4.094 kB / 0.78 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6689, allocations: 0 / 0.78 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.6689, allocations: 0 / 0.78 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.6689, allocations: 0 / 0.78 GB, free: 0.918 MB / 362.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.000143/0.6691, allocations: 147.7 kB / 0.7801 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.6691, allocations: 0 / 0.7801 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.6691, allocations: 7.062 kB / 0.7801 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6692, allocations: 0 / 0.7801 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.6692, allocations: 4 kB / 0.7801 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6692, allocations: 4 kB / 0.7801 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.6694, allocations: 149.6 kB / 0.7803 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6694, allocations: 0 / 0.7803 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.6694, allocations: 7.984 kB / 0.7803 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6694, allocations: 0 / 0.7803 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.6694, allocations: 4 kB / 0.7803 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6695, allocations: 3.938 kB / 0.7803 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6695, allocations: 0 / 0.7803 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.6696, allocations: 98.45 kB / 0.7804 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.6697, allocations: 81.11 kB / 0.7805 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.6697, allocations: 0 / 0.7805 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.6698, allocations: 0 / 0.7805 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.6698, allocations: 0 / 0.7805 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.6698, allocations: 0 / 0.7805 GB, free: 328 kB / 362.7 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.6699, allocations: 85.84 kB / 0.7806 GB, free: 248 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6699, allocations: 4 kB / 0.7806 GB, free: 244 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008979/0.6708, allocations: 63.55 kB / 0.7806 GB, free: 184 kB / 362.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.004522/0.6754, allocations: 0.542 MB / 0.7812 GB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.6756, allocations: 59.34 kB / 0.7812 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6756, allocations: 3.75 kB / 0.7812 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.6757, allocations: 55.41 kB / 0.7813 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.676, allocations: 11.89 kB / 0.7813 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.6763, allocations: 75.25 kB / 0.7813 GB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.6767, allocations: 0.6772 MB / 0.782 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.069e-05/0.6767, allocations: 3.984 kB / 0.782 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.6768, allocations: 7.438 kB / 0.782 GB, free: 14.73 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6768, allocations: 0 / 0.782 GB, free: 14.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01072/0.6875, allocations: 2.096 MB / 0.7841 GB, free: 12.64 MB / 378.7 MB