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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001136, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.0009064, allocations: 92.16 kB / 292.1 MB, free: 10.93 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.3703/0.3703, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003491, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3733, allocations: 61.9 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4929, allocations: 90.47 MB / 0.5979 GB, free: 4.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4932, allocations: 67.97 kB / 0.598 GB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08452/0.5777, allocations: 30.48 MB / 0.6277 GB, free: 6.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5778, allocations: 0 / 0.6277 GB, free: 6.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.5778, allocations: 0 / 0.6277 GB, free: 6.09 MB / 442.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.0006143/0.5784, allocations: 412.9 kB / 0.6281 GB, free: 5.633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5785, allocations: 8.031 kB / 0.6281 GB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.5785, allocations: 0 / 0.6281 GB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.5786, allocations: 159.1 kB / 0.6283 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5786, allocations: 0 / 0.6283 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.5787, allocations: 4 kB / 0.6283 GB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.5788, allocations: 41.58 kB / 0.6283 GB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.5788, allocations: 0 / 0.6283 GB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.5788, allocations: 0 / 0.6283 GB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5788, allocations: 3.984 kB / 0.6283 GB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.5788, allocations: 4 kB / 0.6283 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.579, allocations: 145.7 kB / 0.6285 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.579, allocations: 14.58 kB / 0.6285 GB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.579, allocations: 12.08 kB / 0.6285 GB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.5791, allocations: 60.2 kB / 0.6286 GB, free: 5.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.5791, allocations: 0 / 0.6286 GB, free: 5.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.5793, allocations: 71.25 kB / 0.6286 GB, free: 4.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.5793, allocations: 81.11 kB / 0.6287 GB, free: 4.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.5794, allocations: 85 kB / 0.6288 GB, free: 4.801 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5794, allocations: 25.7 kB / 0.6288 GB, free: 4.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.5794, allocations: 80.14 kB / 0.6289 GB, free: 4.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.5795, allocations: 8.109 kB / 0.6289 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.5795, allocations: 4 kB / 0.6289 GB, free: 4.676 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5796, allocations: 310.8 kB / 0.6292 GB, free: 4.363 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.5796, allocations: 0 / 0.6292 GB, free: 4.363 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.5796, allocations: 0 / 0.6292 GB, free: 4.363 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.5797, allocations: 33.64 kB / 0.6292 GB, free: 4.324 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5797, allocations: 0 / 0.6292 GB, free: 4.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.089e-05/0.5797, allocations: 59.41 kB / 0.6293 GB, free: 4.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5798, allocations: 39.34 kB / 0.6293 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5798, allocations: 4 kB / 0.6293 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5798, allocations: 3.938 kB / 0.6293 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/0.5798, allocations: 7.891 kB / 0.6293 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5798, allocations: 0 / 0.6293 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.5798, allocations: 0 / 0.6293 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.5799, allocations: 0 / 0.6293 GB, free: 4.195 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 () * 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 9.995e-05/0.58, allocations: 136.1 kB / 0.6295 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.58, allocations: 0 / 0.6295 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.473e-05/0.58, allocations: 7.125 kB / 0.6295 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.58, allocations: 4 kB / 0.6295 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.58, allocations: 7.938 kB / 0.6295 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.58, allocations: 0 / 0.6295 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.144e-05/0.5801, allocations: 145.7 kB / 0.6296 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5801, allocations: 0 / 0.6296 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.5801, allocations: 0 / 0.6296 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.5801, allocations: 0 / 0.6296 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.5801, allocations: 4 kB / 0.6296 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5802, allocations: 0 / 0.6296 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5802, allocations: 3.938 kB / 0.6296 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.171e-05/0.5803, allocations: 98.78 kB / 0.6297 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.5803, allocations: 81.11 kB / 0.6298 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5803, allocations: 0 / 0.6298 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.5804, allocations: 0 / 0.6298 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.5804, allocations: 3.984 kB / 0.6298 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5804, allocations: 0 / 0.6298 GB, free: 3.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.5804, allocations: 79.28 kB / 0.6299 GB, free: 3.531 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5804, allocations: 4.031 kB / 0.6299 GB, free: 3.527 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.5808, allocations: 67.81 kB / 0.63 GB, free: 3.461 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) * 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.001741/0.5825, allocations: 0.5484 MB / 0.6305 GB, free: 2.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.5826, allocations: 75.27 kB / 0.6306 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5826, allocations: 0 / 0.6306 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.5827, allocations: 51.41 kB / 0.6306 GB, free: 2.828 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.948e-05/0.5828, allocations: 4 kB / 0.6306 GB, free: 2.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.5829, allocations: 78.64 kB / 0.6307 GB, free: 2.719 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5832, allocations: 0.677 MB / 0.6314 GB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.19e-06/0.5832, allocations: 0 / 0.6314 GB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.5832, allocations: 11.56 kB / 0.6314 GB, free: 2.004 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5832, allocations: 0 / 0.6314 GB, free: 2.004 MB / 442.7 MB Notification: Performance of Templates: time 0.005018/0.5883, allocations: 2.079 MB / 0.6334 GB, free: 15.91 MB / 458.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)