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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00739/0.00739, allocations: 176 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.577/1.577, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001708/0.001708, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2088/0.2088, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 14.72 kB / 406.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4921, allocations: 84.4 MB / 0.5326 GB, free: 82.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4923, allocations: 63.97 kB / 0.5327 GB, free: 82.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0798/0.5721, allocations: 30.37 MB / 0.5624 GB, free: 63.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5722, allocations: 0 / 0.5624 GB, free: 63.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.5722, allocations: 0 / 0.5624 GB, free: 63.66 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.0005626/0.5728, allocations: 424.8 kB / 0.5628 GB, free: 63.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5728, allocations: 8.031 kB / 0.5628 GB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.5729, allocations: 3.953 kB / 0.5628 GB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.043e-05/0.5729, allocations: 159.1 kB / 0.5629 GB, free: 62.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.5729, allocations: 0 / 0.5629 GB, free: 62.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.573, allocations: 8 kB / 0.5629 GB, free: 62.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.476e-05/0.5731, allocations: 29.69 kB / 0.563 GB, free: 62.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5731, allocations: 0 / 0.563 GB, free: 62.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5731, allocations: 0 / 0.563 GB, free: 62.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5731, allocations: 0 / 0.563 GB, free: 62.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.5731, allocations: 11.89 kB / 0.563 GB, free: 62.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.5732, allocations: 141.7 kB / 0.5631 GB, free: 62.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.5733, allocations: 22.61 kB / 0.5631 GB, free: 62.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.5733, allocations: 8 kB / 0.5631 GB, free: 62.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5733, allocations: 60.25 kB / 0.5632 GB, free: 62.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5733, allocations: 0 / 0.5632 GB, free: 62.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001909/0.5735, allocations: 59.41 kB / 0.5633 GB, free: 62.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5736, allocations: 81.05 kB / 0.5633 GB, free: 62.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.208e-05/0.5736, allocations: 85 kB / 0.5634 GB, free: 62.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5736, allocations: 29.7 kB / 0.5634 GB, free: 62.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.5736, allocations: 84.27 kB / 0.5635 GB, free: 62.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.5737, allocations: 0 / 0.5635 GB, free: 62.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.5737, allocations: 4 kB / 0.5635 GB, free: 62.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.5737, allocations: 318.8 kB / 0.5638 GB, free: 61.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.5737, allocations: 0 / 0.5638 GB, free: 61.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-06/0.5738, allocations: 3.938 kB / 0.5638 GB, free: 61.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/0.5738, allocations: 29.7 kB / 0.5639 GB, free: 61.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5738, allocations: 0 / 0.5639 GB, free: 61.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.794e-05/0.5738, allocations: 59.47 kB / 0.5639 GB, free: 61.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.5739, allocations: 43.56 kB / 0.564 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5739, allocations: 0 / 0.564 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5739, allocations: 0 / 0.564 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.5739, allocations: 0 / 0.564 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5739, allocations: 4 kB / 0.564 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.5739, allocations: 0 / 0.564 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.5739, allocations: 7.938 kB / 0.564 GB, free: 61.76 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 () * 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 4.998e-05/0.574, allocations: 135.5 kB / 0.5641 GB, free: 61.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.574, allocations: 4.031 kB / 0.5641 GB, free: 61.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-06/0.574, allocations: 3.125 kB / 0.5641 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.574, allocations: 4 kB / 0.5641 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.574, allocations: 0 / 0.5641 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.574, allocations: 3.984 kB / 0.5641 GB, free: 61.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.029e-05/0.5741, allocations: 145.6 kB / 0.5643 GB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5741, allocations: 0 / 0.5643 GB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5741, allocations: 0 / 0.5643 GB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5741, allocations: 3.984 kB / 0.5643 GB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5741, allocations: 7.938 kB / 0.5643 GB, free: 61.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.5741, allocations: 0 / 0.5643 GB, free: 61.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5741, allocations: 4 kB / 0.5643 GB, free: 61.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.913e-05/0.5742, allocations: 94.78 kB / 0.5644 GB, free: 61.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.5742, allocations: 77.11 kB / 0.5644 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5743, allocations: 0 / 0.5644 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.5743, allocations: 0 / 0.5644 GB, free: 61.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.5743, allocations: 11.92 kB / 0.5644 GB, free: 61.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.5743, allocations: 4 kB / 0.5644 GB, free: 61.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.337e-05/0.5743, allocations: 80.98 kB / 0.5645 GB, free: 61.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5743, allocations: 0 / 0.5645 GB, free: 61.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.5747, allocations: 63.91 kB / 0.5646 GB, free: 61.02 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) * 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.001652/0.5764, allocations: 0.5333 MB / 0.5651 GB, free: 60.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.299e-05/0.5765, allocations: 59.39 kB / 0.5652 GB, free: 60.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5765, allocations: 4 kB / 0.5652 GB, free: 60.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.5765, allocations: 59.34 kB / 0.5652 GB, free: 60.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.135e-05/0.5766, allocations: 11.56 kB / 0.5652 GB, free: 60.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.5767, allocations: 79.16 kB / 0.5653 GB, free: 60.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.5768, allocations: 0.677 MB / 0.566 GB, free: 59.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.221e-06/0.5769, allocations: 0 / 0.566 GB, free: 59.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-06/0.5769, allocations: 7.438 kB / 0.566 GB, free: 59.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5769, allocations: 0 / 0.566 GB, free: 59.56 MB / 378.7 MB Notification: Performance of Templates: time 0.004425/0.5813, allocations: 2.097 MB / 0.568 GB, free: 57.46 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)