Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 179.8 kB / 8.519 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.4 MB / 230.3 MB, free: 7.742 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 84.73 kB / 281.2 MB, free: 5.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1767/0.1767, allocations: 44.14 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.144e-06, allocations: 224 / 444 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 61.91 MB / 0.4941 GB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4696, allocations: 89.67 MB / 0.5816 GB, free: 7.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.4699, allocations: 63.34 kB / 0.5817 GB, free: 7.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1066/0.5765, allocations: 38.18 MB / 0.619 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.5766, allocations: 4 kB / 0.619 GB, free: 0.9688 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.0005613/0.5772, allocations: 404 kB / 0.6194 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5772, allocations: 15.97 kB / 0.6194 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.5772, allocations: 7.906 kB / 0.6194 GB, free: 0.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.5773, allocations: 159.1 kB / 0.6196 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5774, allocations: 0 / 0.6196 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.5774, allocations: 0 / 0.6196 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.821e-05/0.5774, allocations: 3.938 kB / 0.6196 GB, free: 308 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.885e-05/0.5775, allocations: 33.7 kB / 0.6196 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5775, allocations: 0 / 0.6196 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.5775, allocations: 0 / 0.6196 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.5775, allocations: 3.906 kB / 0.6196 GB, free: 264 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.5777, allocations: 126.2 kB / 0.6197 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.5777, allocations: 18.61 kB / 0.6197 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.5777, allocations: 4.859 kB / 0.6197 GB, free: 64 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.5777, allocations: 4 kB / 0.6197 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.5778, allocations: 60.27 kB / 0.6198 GB, free: 15.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.5778, allocations: 4.062 kB / 0.6198 GB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.578, allocations: 29.64 kB / 0.6198 GB, free: 15.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.578, allocations: 85.09 kB / 0.6199 GB, free: 15.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.5781, allocations: 85 kB / 0.62 GB, free: 15.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.5781, allocations: 25.7 kB / 0.62 GB, free: 15.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.5781, allocations: 80.14 kB / 0.6201 GB, free: 15.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.5782, allocations: 11.83 kB / 0.6201 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.5782, allocations: 4.031 kB / 0.6201 GB, free: 15.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5783, allocations: 310.8 kB / 0.6204 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.5783, allocations: 4 kB / 0.6204 GB, free: 15.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.5783, allocations: 4 kB / 0.6204 GB, free: 15.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.5783, allocations: 0 / 0.6204 GB, free: 15.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5784, allocations: 0 / 0.6204 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.184e-05/0.5784, allocations: 29.7 kB / 0.6204 GB, free: 15.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5784, allocations: 8 kB / 0.6204 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5785, allocations: 8.078 kB / 0.6205 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5785, allocations: 3.938 kB / 0.6205 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.5785, allocations: 0 / 0.6205 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5785, allocations: 0 / 0.6205 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.5785, allocations: 0 / 0.6205 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.5785, allocations: 0 / 0.6205 GB, free: 15.25 MB / 442.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.612e-05/0.5786, allocations: 134.6 kB / 0.6206 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.5786, allocations: 3.984 kB / 0.6206 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.5786, allocations: 6.938 kB / 0.6206 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.5786, allocations: 4 kB / 0.6206 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5787, allocations: 0 / 0.6206 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5787, allocations: 0 / 0.6206 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.5788, allocations: 134.1 kB / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5788, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.5788, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.5788, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.5788, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5788, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5789, allocations: 0 / 0.6207 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.592e-05/0.579, allocations: 65.12 kB / 0.6208 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.579, allocations: 81.02 kB / 0.6209 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.579, allocations: 8 kB / 0.6209 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.579, allocations: 3.938 kB / 0.6209 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.5791, allocations: 0 / 0.6209 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.5791, allocations: 0 / 0.6209 GB, free: 14.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.942e-05/0.5791, allocations: 75.28 kB / 0.621 GB, free: 14.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.5795, allocations: 71.86 kB / 0.621 GB, free: 14.59 MB / 442.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.002691/0.5822, allocations: 0.748 MB / 0.6218 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.5823, allocations: 25.7 kB / 0.6218 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5823, allocations: 0 / 0.6218 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.5823, allocations: 33.7 kB / 0.6218 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.5825, allocations: 4.062 kB / 0.6218 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001612/0.5826, allocations: 44.06 kB / 0.6219 GB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.583, allocations: 0.6841 MB / 0.6225 GB, free: 13 MB / 442.7 MB Notification: Performance of SimCode: time 3.1e-07/0.583, allocations: 0 / 0.6225 GB, free: 13 MB / 442.7 MB Notification: Performance of Templates: time 0.005318/0.5883, allocations: 2.118 MB / 0.6246 GB, free: 10.88 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)