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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008138/0.0008139, allocations: 90.59 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.185/0.185, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.977e-05, allocations: 4 kB / 460.4 MB, free: 70.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09967, allocations: 63.24 MB / 0.5114 GB, free: 6.828 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4331, allocations: 91.45 MB / 0.6007 GB, free: 2.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001342/0.4333, allocations: 62.47 kB / 0.6007 GB, free: 2.508 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07824/0.5115, allocations: 30.4 MB / 0.6304 GB, free: 8.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5116, allocations: 0 / 0.6304 GB, free: 8.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.5116, allocations: 0 / 0.6304 GB, free: 8.246 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.0004644/0.512, allocations: 403.4 kB / 0.6308 GB, free: 7.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5121, allocations: 11.97 kB / 0.6308 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.5121, allocations: 0 / 0.6308 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.5122, allocations: 167 kB / 0.631 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5122, allocations: 0 / 0.631 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5123, allocations: 8 kB / 0.631 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.5124, allocations: 37.62 kB / 0.631 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.5124, allocations: 0 / 0.631 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.5124, allocations: 0 / 0.631 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5124, allocations: 4 kB / 0.631 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.5124, allocations: 7.562 kB / 0.631 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.5125, allocations: 149.6 kB / 0.6312 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.5126, allocations: 18.61 kB / 0.6312 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.5126, allocations: 4.859 kB / 0.6312 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.5126, allocations: 4 kB / 0.6312 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5127, allocations: 63.52 kB / 0.6312 GB, free: 7.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5127, allocations: 0 / 0.6312 GB, free: 7.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.5128, allocations: 63.41 kB / 0.6313 GB, free: 7.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.5129, allocations: 81.09 kB / 0.6314 GB, free: 7.051 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.432e-05/0.5129, allocations: 85 kB / 0.6315 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5129, allocations: 25.7 kB / 0.6315 GB, free: 6.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.513, allocations: 88.17 kB / 0.6316 GB, free: 6.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.513, allocations: 0 / 0.6316 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.513, allocations: 0 / 0.6316 GB, free: 6.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5131, allocations: 314 kB / 0.6319 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.5131, allocations: 0 / 0.6319 GB, free: 6.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.5131, allocations: 4 kB / 0.6319 GB, free: 6.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.5132, allocations: 25.7 kB / 0.6319 GB, free: 6.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5132, allocations: 0 / 0.6319 GB, free: 6.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.519e-05/0.5132, allocations: 71.38 kB / 0.632 GB, free: 6.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.5133, allocations: 34.95 kB / 0.632 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5133, allocations: 0 / 0.632 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5133, allocations: 0 / 0.632 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.5133, allocations: 0 / 0.632 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5133, allocations: 4 kB / 0.632 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.5133, allocations: 0 / 0.632 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.5134, allocations: 3.312 kB / 0.632 GB, free: 6.367 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 7.241e-05/0.5134, allocations: 128.1 kB / 0.6321 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.5135, allocations: 7.953 kB / 0.6321 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.051e-05/0.5135, allocations: 11.11 kB / 0.6321 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5135, allocations: 0 / 0.6321 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5135, allocations: 0 / 0.6321 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5135, allocations: 3.938 kB / 0.6322 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.5136, allocations: 141.7 kB / 0.6323 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5136, allocations: 4 kB / 0.6323 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.5136, allocations: 0 / 0.6323 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5136, allocations: 3.953 kB / 0.6323 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5136, allocations: 0 / 0.6323 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5136, allocations: 0 / 0.6323 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5136, allocations: 3.984 kB / 0.6323 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/0.5137, allocations: 97.95 kB / 0.6324 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.5138, allocations: 77.11 kB / 0.6325 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.5138, allocations: 11.5 kB / 0.6325 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.5138, allocations: 0 / 0.6325 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.5138, allocations: 4 kB / 0.6325 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.5138, allocations: 0 / 0.6325 GB, free: 5.789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.09e-05/0.5138, allocations: 75.31 kB / 0.6326 GB, free: 5.715 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5139, allocations: 7.938 kB / 0.6326 GB, free: 5.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000322/0.5142, allocations: 63.3 kB / 0.6326 GB, free: 5.648 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.001643/0.5158, allocations: 0.5394 MB / 0.6331 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.213e-05/0.5159, allocations: 66.83 kB / 0.6332 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5159, allocations: 0 / 0.6332 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.516, allocations: 55.41 kB / 0.6333 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.967e-05/0.516, allocations: 0 / 0.6333 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001261/0.5162, allocations: 44.58 kB / 0.6333 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.5164, allocations: 0.677 MB / 0.634 GB, free: 4.246 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.839e-06/0.5164, allocations: 0 / 0.634 GB, free: 4.246 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-06/0.5164, allocations: 11.56 kB / 0.634 GB, free: 4.238 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5165, allocations: 0 / 0.634 GB, free: 4.238 MB / 426.7 MB Notification: Performance of Templates: time 0.004524/0.521, allocations: 2.086 MB / 0.636 GB, free: 2.152 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)