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.001041/0.001041, allocations: 196 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008145/0.0008146, allocations: 99.61 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.632e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5554, allocations: 90.79 MB / 0.593 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5557, allocations: 64.22 kB / 0.5931 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08248/0.6382, allocations: 30.03 MB / 0.6224 GB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6383, allocations: 4 kB / 0.6224 GB, free: 2.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.6383, allocations: 0 / 0.6224 GB, free: 2.246 MB / 410.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.00051/0.6388, allocations: 397.9 kB / 0.6228 GB, free: 1.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6388, allocations: 12.03 kB / 0.6228 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.6389, allocations: 0 / 0.6228 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.639, allocations: 167 kB / 0.623 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.639, allocations: 0 / 0.623 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.639, allocations: 0 / 0.623 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.041e-05/0.639, allocations: 11.88 kB / 0.623 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.908e-05/0.6391, allocations: 33.69 kB / 0.623 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6391, allocations: 0 / 0.623 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.6391, allocations: 0 / 0.623 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6391, allocations: 0 / 0.623 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.6393, allocations: 137.3 kB / 0.6231 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.6393, allocations: 14.58 kB / 0.6232 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.6393, allocations: 4.859 kB / 0.6232 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.6394, allocations: 3.938 kB / 0.6232 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.6394, allocations: 64.33 kB / 0.6232 GB, free: 1.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.6394, allocations: 0 / 0.6232 GB, free: 1.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.6396, allocations: 36.69 kB / 0.6233 GB, free: 1.227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6396, allocations: 77.11 kB / 0.6233 GB, free: 1.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.374e-05/0.6397, allocations: 85 kB / 0.6234 GB, free: 1.043 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.6397, allocations: 25.7 kB / 0.6234 GB, free: 1.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.6397, allocations: 80.14 kB / 0.6235 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.6397, allocations: 8.031 kB / 0.6235 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-06/0.6397, allocations: 0 / 0.6235 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6399, allocations: 314.3 kB / 0.6238 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.6399, allocations: 0 / 0.6238 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.6399, allocations: 0 / 0.6238 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.6399, allocations: 4 kB / 0.6238 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6399, allocations: 0 / 0.6238 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.051e-05/0.64, allocations: 41.58 kB / 0.6239 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.64, allocations: 33.7 kB / 0.6239 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.64, allocations: 4.094 kB / 0.6239 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6401, allocations: 0 / 0.6239 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.6401, allocations: 0 / 0.6239 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.6401, allocations: 0 / 0.6239 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.6401, allocations: 0 / 0.6239 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.6401, allocations: 0 / 0.6239 GB, free: 0.5156 MB / 410.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 8.359e-05/0.6402, allocations: 130.7 kB / 0.624 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.6402, allocations: 3.953 kB / 0.624 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-06/0.6402, allocations: 3.75 kB / 0.624 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6402, allocations: 7.984 kB / 0.624 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6402, allocations: 0 / 0.624 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6402, allocations: 7.938 kB / 0.624 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.669e-05/0.6403, allocations: 125.6 kB / 0.6242 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.6403, allocations: 0 / 0.6242 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-06/0.6403, allocations: 4 kB / 0.6242 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6403, allocations: 0 / 0.6242 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.6403, allocations: 0 / 0.6242 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6403, allocations: 7.891 kB / 0.6242 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6404, allocations: 4 kB / 0.6242 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.966e-05/0.6405, allocations: 68.75 kB / 0.6242 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.6405, allocations: 77.11 kB / 0.6243 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.6405, allocations: 0 / 0.6243 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-06/0.6405, allocations: 0 / 0.6243 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.6406, allocations: 8.141 kB / 0.6243 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.6406, allocations: 3.984 kB / 0.6243 GB, free: 15.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.6406, allocations: 75.28 kB / 0.6244 GB, free: 15.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6406, allocations: 0 / 0.6244 GB, free: 15.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.6409, allocations: 71.14 kB / 0.6245 GB, free: 15.85 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.001717/0.6427, allocations: 0.5413 MB / 0.625 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.306e-05/0.6427, allocations: 59.41 kB / 0.6251 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6428, allocations: 0 / 0.6251 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.6428, allocations: 55.39 kB / 0.6251 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.81e-05/0.6429, allocations: 5.562 kB / 0.6251 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001356/0.643, allocations: 47.58 kB / 0.6252 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.6433, allocations: 0.6729 MB / 0.6258 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.191e-06/0.6433, allocations: 0 / 0.6258 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-06/0.6433, allocations: 11.44 kB / 0.6258 GB, free: 14.43 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6433, allocations: 0 / 0.6258 GB, free: 14.43 MB / 426.7 MB Notification: Performance of Templates: time 0.004815/0.6481, allocations: 2.078 MB / 0.6279 GB, free: 12.35 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)