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.001493/0.001493, allocations: 182.4 kB / 12.74 MB, free: 2.582 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.732/1.732, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001591/0.001591, allocations: 116.7 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2452/0.2452, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.306e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4456/0.5718, allocations: 84.34 MB / 0.5268 GB, free: 7.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.5721, allocations: 59.34 kB / 0.5269 GB, free: 7.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08207/0.6542, allocations: 30.29 MB / 0.5565 GB, free: 13.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6542, allocations: 0 / 0.5565 GB, free: 13.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.6542, allocations: 4 kB / 0.5565 GB, free: 13.06 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.0006677/0.6549, allocations: 411 kB / 0.5569 GB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.655, allocations: 12.03 kB / 0.5569 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.655, allocations: 7.891 kB / 0.5569 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6551, allocations: 159.1 kB / 0.557 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.6552, allocations: 0 / 0.557 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.6552, allocations: 4 kB / 0.557 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.6553, allocations: 28.02 kB / 0.5571 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.6553, allocations: 0 / 0.5571 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6553, allocations: 0 / 0.5571 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6554, allocations: 4 kB / 0.5571 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.6554, allocations: 7.953 kB / 0.5571 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.6556, allocations: 153 kB / 0.5572 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.6557, allocations: 22.55 kB / 0.5572 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.6557, allocations: 4.859 kB / 0.5572 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.6557, allocations: 0 / 0.5572 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.6558, allocations: 56.27 kB / 0.5573 GB, free: 12.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.6558, allocations: 4.062 kB / 0.5573 GB, free: 12.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001993/0.656, allocations: 66.95 kB / 0.5574 GB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.6561, allocations: 77.11 kB / 0.5574 GB, free: 11.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.6561, allocations: 88.94 kB / 0.5575 GB, free: 11.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.6561, allocations: 29.7 kB / 0.5575 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.6562, allocations: 80.14 kB / 0.5576 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6562, allocations: 0 / 0.5576 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6562, allocations: 0 / 0.5576 GB, free: 11.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6564, allocations: 314.8 kB / 0.5579 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.6564, allocations: 4.031 kB / 0.5579 GB, free: 11.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.6564, allocations: 4 kB / 0.5579 GB, free: 11.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.6565, allocations: 25.7 kB / 0.558 GB, free: 11.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6565, allocations: 0 / 0.558 GB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.984e-05/0.6566, allocations: 66.77 kB / 0.558 GB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.6566, allocations: 33.64 kB / 0.558 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6566, allocations: 0 / 0.558 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6567, allocations: 0 / 0.558 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.6567, allocations: 0 / 0.558 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6567, allocations: 4.094 kB / 0.5581 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.6567, allocations: 4 kB / 0.5581 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.6567, allocations: 0 / 0.5581 GB, free: 11.18 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 () * 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.595e-05/0.6568, allocations: 134.6 kB / 0.5582 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.6568, allocations: 7.984 kB / 0.5582 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.6569, allocations: 3.125 kB / 0.5582 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6569, allocations: 0 / 0.5582 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6569, allocations: 3.984 kB / 0.5582 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6569, allocations: 0 / 0.5582 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.657, allocations: 149.3 kB / 0.5583 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.657, allocations: 11.94 kB / 0.5584 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.657, allocations: 0 / 0.5584 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.657, allocations: 0 / 0.5584 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.6571, allocations: 3.984 kB / 0.5584 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.6571, allocations: 0 / 0.5584 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6571, allocations: 0 / 0.5584 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.6572, allocations: 90.42 kB / 0.5584 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.6572, allocations: 85.12 kB / 0.5585 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.6573, allocations: 0 / 0.5585 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.6573, allocations: 4 kB / 0.5585 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.6573, allocations: 0 / 0.5585 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.6573, allocations: 3.984 kB / 0.5585 GB, free: 10.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.6574, allocations: 79.22 kB / 0.5586 GB, free: 10.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6574, allocations: 0 / 0.5586 GB, free: 10.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000431/0.6578, allocations: 67.8 kB / 0.5587 GB, free: 10.46 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) * 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.001848/0.6597, allocations: 0.5346 MB / 0.5592 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.6598, allocations: 59.09 kB / 0.5593 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6598, allocations: 0 / 0.5593 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.6598, allocations: 59.34 kB / 0.5593 GB, free: 9.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.652e-05/0.6599, allocations: 7.75 kB / 0.5593 GB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001537/0.6601, allocations: 44.31 kB / 0.5594 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.6604, allocations: 0.677 MB / 0.56 GB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.219e-06/0.6604, allocations: 0 / 0.56 GB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.6604, allocations: 15.56 kB / 0.56 GB, free: 9.027 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6604, allocations: 0 / 0.56 GB, free: 9.027 MB / 378.7 MB Notification: Performance of Templates: time 0.005765/0.6662, allocations: 2.086 MB / 0.5621 GB, free: 6.945 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)