Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001371/0.001371, allocations: 200.6 kB / 8.542 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009935/0.0009933, allocations: 95 kB / 286.3 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 45.15 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.169e-06/5.3e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.5487, allocations: 90.71 MB / 0.5924 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00016/0.5489, allocations: 59.16 kB / 0.5924 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.11/0.6589, allocations: 38.17 MB / 0.6297 GB, free: 11.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.6589, allocations: 3.938 kB / 0.6297 GB, free: 11.27 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.0006395/0.6596, allocations: 403.4 kB / 0.6301 GB, free: 10.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6596, allocations: 8.031 kB / 0.6301 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.6597, allocations: 7.938 kB / 0.6301 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.6598, allocations: 159.1 kB / 0.6302 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.6599, allocations: 0 / 0.6302 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.6599, allocations: 3.984 kB / 0.6302 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.483e-05/0.6599, allocations: 7.125 kB / 0.6302 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.908e-05/0.66, allocations: 29.69 kB / 0.6303 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.66, allocations: 0 / 0.6303 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.66, allocations: 3.906 kB / 0.6303 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.66, allocations: 0 / 0.6303 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.6602, allocations: 134.2 kB / 0.6304 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.6602, allocations: 18.52 kB / 0.6304 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.6603, allocations: 4.859 kB / 0.6304 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.6603, allocations: 3.938 kB / 0.6304 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.6603, allocations: 67.61 kB / 0.6305 GB, free: 10.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.6603, allocations: 0 / 0.6305 GB, free: 10.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001812/0.6605, allocations: 33.69 kB / 0.6305 GB, free: 10.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.6606, allocations: 81.14 kB / 0.6306 GB, free: 10.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.347e-05/0.6606, allocations: 85 kB / 0.6307 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.6607, allocations: 25.7 kB / 0.6307 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.6607, allocations: 80.14 kB / 0.6308 GB, free: 9.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.6607, allocations: 3.906 kB / 0.6308 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.6607, allocations: 0 / 0.6308 GB, free: 9.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6609, allocations: 313.8 kB / 0.6311 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-06/0.6609, allocations: 4 kB / 0.6311 GB, free: 9.629 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.6609, allocations: 4 kB / 0.6311 GB, free: 9.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.6609, allocations: 3.938 kB / 0.6311 GB, free: 9.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6609, allocations: 0 / 0.6311 GB, free: 9.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.73e-05/0.661, allocations: 33.69 kB / 0.6311 GB, free: 9.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.661, allocations: 8 kB / 0.6311 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.661, allocations: 0 / 0.6311 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6611, allocations: 0 / 0.6311 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.6611, allocations: 0 / 0.6311 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6611, allocations: 0 / 0.6311 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.6611, allocations: 3.906 kB / 0.6311 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.6611, allocations: 4.094 kB / 0.6312 GB, free: 9.566 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 9.109e-05/0.6612, allocations: 130.7 kB / 0.6313 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.6612, allocations: 0 / 0.6313 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.6612, allocations: 3 kB / 0.6313 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.6612, allocations: 0 / 0.6313 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6613, allocations: 3.984 kB / 0.6313 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6613, allocations: 4 kB / 0.6313 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.402e-05/0.6613, allocations: 132.8 kB / 0.6314 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6614, allocations: 0 / 0.6314 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.6614, allocations: 4 kB / 0.6314 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6614, allocations: 0 / 0.6314 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6614, allocations: 0 / 0.6314 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6614, allocations: 0 / 0.6314 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6614, allocations: 4 kB / 0.6314 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.336e-05/0.6615, allocations: 64.03 kB / 0.6315 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.6615, allocations: 81.05 kB / 0.6316 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.6616, allocations: 4 kB / 0.6316 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.6616, allocations: 4.031 kB / 0.6316 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.6616, allocations: 0 / 0.6316 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.6616, allocations: 0 / 0.6316 GB, free: 9.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.65e-05/0.6617, allocations: 79.22 kB / 0.6316 GB, free: 8.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.6621, allocations: 70.23 kB / 0.6317 GB, free: 8.918 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.002719/0.6648, allocations: 0.7435 MB / 0.6324 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.514e-05/0.6649, allocations: 29.7 kB / 0.6325 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6649, allocations: 0 / 0.6325 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.6649, allocations: 29.7 kB / 0.6325 GB, free: 8.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.384e-05/0.665, allocations: 0 / 0.6325 GB, free: 8.129 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.6652, allocations: 50.66 kB / 0.6325 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.6655, allocations: 0.6842 MB / 0.6332 GB, free: 7.348 MB / 426.7 MB Notification: Performance of SimCode: time 5.72e-07/0.6655, allocations: 4 kB / 0.6332 GB, free: 7.344 MB / 426.7 MB Notification: Performance of Templates: time 0.005338/0.6708, allocations: 2.123 MB / 0.6353 GB, free: 5.227 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)