Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001523, allocations: 182 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 101.8 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5112/0.5112, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 20 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.6093, allocations: 89.38 MB / 0.566 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.6097, allocations: 63.97 kB / 0.5661 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1515/0.7612, allocations: 30.37 MB / 0.5957 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7612, allocations: 0 / 0.5957 GB, free: 14.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.7613, allocations: 8 kB / 0.5957 GB, free: 14.76 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.0007186/0.762, allocations: 405 kB / 0.5961 GB, free: 14.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.762, allocations: 8.031 kB / 0.5961 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.7621, allocations: 0 / 0.5961 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7622, allocations: 170.4 kB / 0.5963 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.7622, allocations: 3.938 kB / 0.5963 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.7623, allocations: 7.984 kB / 0.5963 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.7624, allocations: 25.7 kB / 0.5963 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7624, allocations: 4 kB / 0.5963 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.7624, allocations: 0 / 0.5963 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.7624, allocations: 4 kB / 0.5963 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.7625, allocations: 1.031 kB / 0.5963 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.7626, allocations: 157.6 kB / 0.5965 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.7627, allocations: 22.55 kB / 0.5965 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.7627, allocations: 0 / 0.5965 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.7628, allocations: 60.27 kB / 0.5966 GB, free: 13.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.7628, allocations: 0 / 0.5966 GB, free: 13.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002055/0.763, allocations: 68.08 kB / 0.5966 GB, free: 13.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.7631, allocations: 77.11 kB / 0.5967 GB, free: 13.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.7631, allocations: 85 kB / 0.5968 GB, free: 13.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.7632, allocations: 25.7 kB / 0.5968 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.7632, allocations: 150.6 kB / 0.5969 GB, free: 13.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.7633, allocations: 4.938 kB / 0.5969 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.7633, allocations: 0 / 0.5969 GB, free: 13.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7635, allocations: 315 kB / 0.5972 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.7635, allocations: 3.938 kB / 0.5972 GB, free: 12.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.7635, allocations: 0 / 0.5972 GB, free: 12.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.7635, allocations: 33.64 kB / 0.5973 GB, free: 12.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7636, allocations: 0 / 0.5973 GB, free: 12.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.826e-05/0.7637, allocations: 67.34 kB / 0.5973 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.7637, allocations: 33.7 kB / 0.5974 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7637, allocations: 0 / 0.5974 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7638, allocations: 4.094 kB / 0.5974 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.7638, allocations: 0 / 0.5974 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7638, allocations: 0 / 0.5974 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.7638, allocations: 0 / 0.5974 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7638, allocations: 4 kB / 0.5974 GB, free: 12.81 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 () * 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 0.0001179/0.764, allocations: 139.5 kB / 0.5975 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.764, allocations: 3.953 kB / 0.5975 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.673e-05/0.764, allocations: 7.125 kB / 0.5975 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.764, allocations: 0 / 0.5975 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.764, allocations: 7.938 kB / 0.5975 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.764, allocations: 3.938 kB / 0.5975 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.7642, allocations: 145.7 kB / 0.5977 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7642, allocations: 3.984 kB / 0.5977 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.7642, allocations: 0 / 0.5977 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.7642, allocations: 7.953 kB / 0.5977 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7643, allocations: 0 / 0.5977 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.7643, allocations: 0 / 0.5977 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7643, allocations: 0 / 0.5977 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.7644, allocations: 92.88 kB / 0.5978 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.7645, allocations: 81.09 kB / 0.5979 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7645, allocations: 3.953 kB / 0.5979 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.7645, allocations: 0 / 0.5979 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.7646, allocations: 0 / 0.5979 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.7646, allocations: 4 kB / 0.5979 GB, free: 12.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.7646, allocations: 75.28 kB / 0.5979 GB, free: 12.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7646, allocations: 0 / 0.5979 GB, free: 12.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006642/0.7653, allocations: 71.84 kB / 0.598 GB, free: 12.07 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) * 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.003065/0.7684, allocations: 0.544 MB / 0.5985 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.7686, allocations: 59.41 kB / 0.5986 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7686, allocations: 0 / 0.5986 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.7687, allocations: 55.41 kB / 0.5986 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.7688, allocations: 7.938 kB / 0.5987 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.769, allocations: 103.3 kB / 0.5987 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.7694, allocations: 0.6731 MB / 0.5994 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.7694, allocations: 7.438 kB / 0.5994 GB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.895e-06/0.7694, allocations: 0 / 0.5994 GB, free: 10.61 MB / 426.7 MB Notification: Performance of Templates: time 0.007722/0.7772, allocations: 2.665 MB / 0.602 GB, free: 7.941 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1)