Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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 3.2.2+maint.om/package.mo): time 0.002529/0.002529, allocations: 184.1 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.389/1.389, allocations: 194.2 MB / 202.1 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002017/0.002017, allocations: 123.6 kB / 247.1 MB, free: 6.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1958/0.1958, allocations: 39.93 MB / 331.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.366e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09452, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.3934, allocations: 83.57 MB / 0.5188 GB, free: 9.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3937, allocations: 66.77 kB / 0.5188 GB, free: 9.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1066/0.5003, allocations: 38.09 MB / 0.556 GB, free: 14.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.5004, allocations: 4 kB / 0.556 GB, free: 14.77 MB / 378.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.0006387/0.501, allocations: 399.4 kB / 0.5564 GB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5011, allocations: 8.031 kB / 0.5564 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.5011, allocations: 3.906 kB / 0.5564 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.5012, allocations: 167 kB / 0.5566 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5012, allocations: 0 / 0.5566 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.5012, allocations: 4 kB / 0.5566 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.147e-05/0.5013, allocations: 7.938 kB / 0.5566 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.482e-05/0.5013, allocations: 29.58 kB / 0.5566 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5014, allocations: 0 / 0.5566 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.5014, allocations: 3.938 kB / 0.5566 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5014, allocations: 0 / 0.5566 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.5015, allocations: 130.2 kB / 0.5567 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.5016, allocations: 14.58 kB / 0.5568 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.5016, allocations: 8.859 kB / 0.5568 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.5016, allocations: 0 / 0.5568 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.5016, allocations: 64.34 kB / 0.5568 GB, free: 13.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5016, allocations: 0 / 0.5568 GB, free: 13.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.5018, allocations: 36.83 kB / 0.5569 GB, free: 13.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.5018, allocations: 77.11 kB / 0.5569 GB, free: 13.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.05e-05/0.5019, allocations: 85 kB / 0.557 GB, free: 13.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.5019, allocations: 29.73 kB / 0.5571 GB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.5019, allocations: 80.14 kB / 0.5571 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.502, allocations: 0 / 0.5571 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.502, allocations: 0 / 0.5571 GB, free: 13.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5021, allocations: 318.8 kB / 0.5574 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-06/0.5021, allocations: 0 / 0.5574 GB, free: 13.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.5021, allocations: 3.984 kB / 0.5574 GB, free: 13.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.5021, allocations: 3.938 kB / 0.5574 GB, free: 13.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5022, allocations: 64 / 0.5574 GB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.007e-05/0.5022, allocations: 37.7 kB / 0.5575 GB, free: 13.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5022, allocations: 4 kB / 0.5575 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5023, allocations: 0 / 0.5575 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5023, allocations: 3.938 kB / 0.5575 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.5023, allocations: 0 / 0.5575 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.5023, allocations: 0 / 0.5575 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.5023, allocations: 0 / 0.5575 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5023, allocations: 4 kB / 0.5575 GB, free: 13.07 MB / 378.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 7.796e-05/0.5024, allocations: 138.6 kB / 0.5576 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.5024, allocations: 0 / 0.5576 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.5024, allocations: 6.938 kB / 0.5576 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.5024, allocations: 0 / 0.5576 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5024, allocations: 4 kB / 0.5576 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5024, allocations: 0 / 0.5576 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.524e-05/0.5025, allocations: 126.2 kB / 0.5577 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.5025, allocations: 0 / 0.5577 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.5025, allocations: 0 / 0.5577 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5025, allocations: 3.984 kB / 0.5578 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.5026, allocations: 4 kB / 0.5578 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5026, allocations: 8 kB / 0.5578 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5026, allocations: 0 / 0.5578 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.622e-05/0.5027, allocations: 52.95 kB / 0.5578 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.5027, allocations: 88.95 kB / 0.5579 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.5027, allocations: 3.984 kB / 0.5579 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.5027, allocations: 3.938 kB / 0.5579 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.5028, allocations: 0 / 0.5579 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.5028, allocations: 4.031 kB / 0.5579 GB, free: 12.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.565e-05/0.5028, allocations: 75.28 kB / 0.558 GB, free: 12.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.5032, allocations: 71.17 kB / 0.5581 GB, free: 12.42 MB / 378.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.002648/0.5058, allocations: 0.7409 MB / 0.5588 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.5059, allocations: 33.69 kB / 0.5588 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5059, allocations: 0 / 0.5588 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.506, allocations: 29.64 kB / 0.5588 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.506e-05/0.506, allocations: 4 kB / 0.5588 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001355/0.5062, allocations: 44.06 kB / 0.5589 GB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.5065, allocations: 0.6841 MB / 0.5595 GB, free: 10.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5065, allocations: 4 kB / 0.5596 GB, free: 10.84 MB / 378.7 MB Notification: Performance of Templates: time 0.005109/0.5116, allocations: 2.106 MB / 0.5616 GB, free: 8.781 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)