Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 180.2 kB / 8.148 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 96.23 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.286/0.286, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.046e-06/8.325e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2866, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.477, allocations: 88.56 MB / 0.5518 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4772, allocations: 63.91 kB / 0.5519 GB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2086/0.6859, allocations: 38.08 MB / 0.5891 GB, free: 4.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.6859, allocations: 0 / 0.5891 GB, free: 4.32 MB / 426.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.00076/0.6867, allocations: 411.9 kB / 0.5895 GB, free: 3.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.6868, allocations: 12.03 kB / 0.5895 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.6868, allocations: 0 / 0.5895 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.687, allocations: 165 kB / 0.5897 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.687, allocations: 0 / 0.5897 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.687, allocations: 0 / 0.5897 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.718e-05/0.687, allocations: 0 / 0.5897 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.193e-05/0.6871, allocations: 41.62 kB / 0.5897 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.6871, allocations: 0 / 0.5897 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6872, allocations: 3.906 kB / 0.5897 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6872, allocations: 0 / 0.5897 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.6873, allocations: 122.2 kB / 0.5898 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.73e-05/0.6874, allocations: 22.61 kB / 0.5898 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.6874, allocations: 12.84 kB / 0.5899 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.6874, allocations: 0 / 0.5899 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.6875, allocations: 56.27 kB / 0.5899 GB, free: 3.332 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.6875, allocations: 0 / 0.5899 GB, free: 3.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001697/0.6877, allocations: 41.69 kB / 0.5899 GB, free: 3.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6878, allocations: 81.11 kB / 0.59 GB, free: 3.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/0.6878, allocations: 89.03 kB / 0.5901 GB, free: 3.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6879, allocations: 25.7 kB / 0.5901 GB, free: 3.062 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.6879, allocations: 150.6 kB / 0.5903 GB, free: 2.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.688, allocations: 3.906 kB / 0.5903 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.688, allocations: 0 / 0.5903 GB, free: 2.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6881, allocations: 310.8 kB / 0.5906 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.6881, allocations: 0 / 0.5906 GB, free: 2.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.6882, allocations: 4 kB / 0.5906 GB, free: 2.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.6882, allocations: 4.062 kB / 0.5906 GB, free: 2.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.6882, allocations: 0 / 0.5906 GB, free: 2.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.311e-05/0.6883, allocations: 37.62 kB / 0.5906 GB, free: 2.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6883, allocations: 8 kB / 0.5906 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6884, allocations: 0 / 0.5906 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6884, allocations: 0 / 0.5906 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-06/0.6884, allocations: 0 / 0.5906 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6884, allocations: 3.938 kB / 0.5906 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.6884, allocations: 3.938 kB / 0.5906 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6885, allocations: 3.906 kB / 0.5906 GB, free: 2.527 MB / 426.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 () * 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 8.23e-05/0.6886, allocations: 63.44 kB / 0.5907 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.6886, allocations: 0 / 0.5907 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.6886, allocations: 6.984 kB / 0.5907 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6886, allocations: 0 / 0.5907 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6886, allocations: 0 / 0.5907 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6886, allocations: 0 / 0.5907 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.6888, allocations: 130.2 kB / 0.5908 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6888, allocations: 0 / 0.5908 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.6888, allocations: 0 / 0.5908 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6888, allocations: 0 / 0.5908 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.6888, allocations: 4 kB / 0.5908 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6888, allocations: 0 / 0.5908 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6888, allocations: 0 / 0.5908 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001229/0.689, allocations: 61.12 kB / 0.5909 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.689, allocations: 81.02 kB / 0.591 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.689, allocations: 0 / 0.591 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.6891, allocations: 4 kB / 0.591 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.6891, allocations: 4.031 kB / 0.591 GB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.6891, allocations: 7.922 kB / 0.591 GB, free: 2.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.285e-05/0.6892, allocations: 75.28 kB / 0.5911 GB, free: 2.012 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005872/0.6898, allocations: 71.84 kB / 0.5911 GB, free: 1.941 MB / 426.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) * 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.004471/0.6942, allocations: 0.7237 MB / 0.5918 GB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.6944, allocations: 33.7 kB / 0.5919 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6944, allocations: 0 / 0.5919 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.6945, allocations: 33.64 kB / 0.5919 GB, free: 1.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.6946, allocations: 4.125 kB / 0.5919 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.6948, allocations: 69.77 kB / 0.592 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6952, allocations: 0.688 MB / 0.5926 GB, free: 344 kB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6952, allocations: 0 / 0.5926 GB, free: 344 kB / 426.7 MB Notification: Performance of Templates: time 0.007357/0.7026, allocations: 2.672 MB / 0.5952 GB, free: 13.66 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)