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.001308/0.001308, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009956/0.0009955, allocations: 110.2 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.353/0.353, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.301, allocations: 63.25 MB / 0.5192 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.413, allocations: 91.52 MB / 0.6086 GB, free: 11.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001644/0.4132, allocations: 63.97 kB / 0.6086 GB, free: 11.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08551/0.4988, allocations: 30.47 MB / 0.6384 GB, free: 13.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4988, allocations: 0 / 0.6384 GB, free: 13.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.4988, allocations: 0 / 0.6384 GB, free: 13.36 MB / 458.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.0005223/0.4993, allocations: 416.8 kB / 0.6388 GB, free: 12.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4994, allocations: 12.03 kB / 0.6388 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.4994, allocations: 4 kB / 0.6388 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4995, allocations: 163 kB / 0.6389 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4996, allocations: 4 kB / 0.639 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4996, allocations: 3.938 kB / 0.639 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.4997, allocations: 33.7 kB / 0.639 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.4997, allocations: 0 / 0.639 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4997, allocations: 0 / 0.639 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4997, allocations: 0 / 0.639 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.4998, allocations: 0 / 0.639 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.4999, allocations: 153.6 kB / 0.6391 GB, free: 12.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.254e-05/0.4999, allocations: 18.58 kB / 0.6392 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4999, allocations: 3.938 kB / 0.6392 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5, allocations: 64.36 kB / 0.6392 GB, free: 12.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5, allocations: 0 / 0.6392 GB, free: 12.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.5001, allocations: 63.38 kB / 0.6393 GB, free: 12.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.5002, allocations: 81.11 kB / 0.6394 GB, free: 12.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.781e-05/0.5003, allocations: 85 kB / 0.6394 GB, free: 12.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5003, allocations: 29.83 kB / 0.6395 GB, free: 12.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.5003, allocations: 80.14 kB / 0.6395 GB, free: 11.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5003, allocations: 0 / 0.6395 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-06/0.5003, allocations: 0 / 0.6395 GB, free: 11.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5005, allocations: 314.8 kB / 0.6398 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.5005, allocations: 4 kB / 0.6398 GB, free: 11.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.5005, allocations: 3.938 kB / 0.6398 GB, free: 11.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.5005, allocations: 25.7 kB / 0.6399 GB, free: 11.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5005, allocations: 4.062 kB / 0.6399 GB, free: 11.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.606e-05/0.5006, allocations: 71.28 kB / 0.6399 GB, free: 11.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5007, allocations: 32.52 kB / 0.64 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5007, allocations: 0 / 0.64 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5007, allocations: 4 kB / 0.64 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.5007, allocations: 0 / 0.64 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5007, allocations: 0 / 0.64 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.5007, allocations: 0 / 0.64 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5007, allocations: 0 / 0.64 GB, free: 11.46 MB / 458.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.024e-05/0.5008, allocations: 151.5 kB / 0.6401 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.5008, allocations: 3.953 kB / 0.6401 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-06/0.5009, allocations: 3.125 kB / 0.6401 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5009, allocations: 0 / 0.6401 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5009, allocations: 0 / 0.6401 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.5009, allocations: 0 / 0.6401 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.684e-05/0.501, allocations: 149.7 kB / 0.6403 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.501, allocations: 0 / 0.6403 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-06/0.501, allocations: 0 / 0.6403 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.501, allocations: 7.891 kB / 0.6403 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.501, allocations: 0 / 0.6403 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.501, allocations: 4 kB / 0.6403 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.501, allocations: 0 / 0.6403 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.469e-05/0.5011, allocations: 90.83 kB / 0.6404 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.5012, allocations: 77.11 kB / 0.6404 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.5012, allocations: 7.953 kB / 0.6405 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.5012, allocations: 0 / 0.6405 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.5012, allocations: 4 kB / 0.6405 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.5012, allocations: 4.031 kB / 0.6405 GB, free: 10.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.412e-05/0.5013, allocations: 75.28 kB / 0.6405 GB, free: 10.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5013, allocations: 0 / 0.6405 GB, free: 10.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.5016, allocations: 75.84 kB / 0.6406 GB, free: 10.72 MB / 458.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.001688/0.5033, allocations: 0.5459 MB / 0.6411 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.013e-05/0.5034, allocations: 55.41 kB / 0.6412 GB, free: 10.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5034, allocations: 0 / 0.6412 GB, free: 10.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.5035, allocations: 55.41 kB / 0.6412 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.566e-05/0.5036, allocations: 3.125 kB / 0.6412 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.5037, allocations: 82.69 kB / 0.6413 GB, free: 9.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.504, allocations: 0.6733 MB / 0.642 GB, free: 9.277 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.404e-06/0.504, allocations: 3.984 kB / 0.642 GB, free: 9.273 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.504, allocations: 15.38 kB / 0.642 GB, free: 9.258 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.504, allocations: 0 / 0.642 GB, free: 9.258 MB / 458.7 MB Notification: Performance of Templates: time 0.005051/0.5091, allocations: 2.081 MB / 0.644 GB, free: 7.168 MB / 458.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)