Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 198.2 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 226.5 MB / 244.1 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007291/0.0007292, allocations: 94.17 kB / 296.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3485/0.3485, allocations: 44.83 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 12 kB / 465.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3245, allocations: 62.96 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4443, allocations: 91.41 MB / 0.6057 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4446, allocations: 63.97 kB / 0.6058 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03441/0.479, allocations: 16.22 MB / 0.6216 GB, free: 13.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4791, allocations: 0 / 0.6216 GB, free: 13.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4791, allocations: 4 kB / 0.6216 GB, free: 13.72 MB / 442.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.0005709/0.4797, allocations: 413.1 kB / 0.622 GB, free: 13.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4797, allocations: 11.97 kB / 0.622 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.4798, allocations: 4.938 kB / 0.622 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.4799, allocations: 160.4 kB / 0.6222 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4799, allocations: 384 / 0.6222 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4799, allocations: 4.375 kB / 0.6222 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/0.48, allocations: 38.19 kB / 0.6222 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.4801, allocations: 192 / 0.6222 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4801, allocations: 7.938 kB / 0.6222 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4801, allocations: 0 / 0.6222 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.4801, allocations: 0 / 0.6222 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.4803, allocations: 145.7 kB / 0.6224 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.4803, allocations: 18.58 kB / 0.6224 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.4803, allocations: 9.266 kB / 0.6224 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.4803, allocations: 0 / 0.6224 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.4804, allocations: 72.25 kB / 0.6225 GB, free: 12.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4804, allocations: 0 / 0.6225 GB, free: 12.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001775/0.4806, allocations: 71.23 kB / 0.6225 GB, free: 12.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.4806, allocations: 81.11 kB / 0.6226 GB, free: 12.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.607e-05/0.4807, allocations: 89.86 kB / 0.6227 GB, free: 12.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4807, allocations: 25.7 kB / 0.6227 GB, free: 12.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.4807, allocations: 80.14 kB / 0.6228 GB, free: 12.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4808, allocations: 0 / 0.6228 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.4808, allocations: 4.125 kB / 0.6228 GB, free: 12.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4809, allocations: 318.8 kB / 0.6231 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.4809, allocations: 0 / 0.6231 GB, free: 11.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.4809, allocations: 0 / 0.6231 GB, free: 11.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.481, allocations: 64.2 kB / 0.6232 GB, free: 11.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.481, allocations: 0 / 0.6232 GB, free: 11.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.801e-05/0.4811, allocations: 63.39 kB / 0.6232 GB, free: 11.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.4811, allocations: 33.7 kB / 0.6233 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4811, allocations: 4.094 kB / 0.6233 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4811, allocations: 3.938 kB / 0.6233 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.4811, allocations: 0 / 0.6233 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4812, allocations: 0 / 0.6233 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.4812, allocations: 0 / 0.6233 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.4812, allocations: 4 kB / 0.6233 GB, free: 11.76 MB / 442.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 7.103e-05/0.4813, allocations: 135.5 kB / 0.6234 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.4813, allocations: 0 / 0.6234 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.4813, allocations: 15.05 kB / 0.6234 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4813, allocations: 7.984 kB / 0.6234 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4813, allocations: 0 / 0.6234 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4813, allocations: 0 / 0.6234 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.4814, allocations: 145.7 kB / 0.6236 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4814, allocations: 0 / 0.6236 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4814, allocations: 3.938 kB / 0.6236 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4814, allocations: 4 kB / 0.6236 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.4814, allocations: 3.938 kB / 0.6236 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.4814, allocations: 0 / 0.6236 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4815, allocations: 3.984 kB / 0.6236 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.75e-05/0.4815, allocations: 90.84 kB / 0.6237 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.4816, allocations: 77.11 kB / 0.6237 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4816, allocations: 7.922 kB / 0.6238 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-06/0.4816, allocations: 0 / 0.6238 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.4816, allocations: 0 / 0.6238 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.4816, allocations: 7.938 kB / 0.6238 GB, free: 11.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.4817, allocations: 79.28 kB / 0.6238 GB, free: 11.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4817, allocations: 0 / 0.6238 GB, free: 11.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.4821, allocations: 67.95 kB / 0.6239 GB, free: 11.02 MB / 442.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.001769/0.4839, allocations: 0.5526 MB / 0.6244 GB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.484, allocations: 71.39 kB / 0.6245 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.484, allocations: 0 / 0.6245 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.484, allocations: 51.41 kB / 0.6246 GB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.4841, allocations: 7.938 kB / 0.6246 GB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.4843, allocations: 100.4 kB / 0.6247 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.4845, allocations: 0.677 MB / 0.6253 GB, free: 9.539 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.4846, allocations: 7.438 kB / 0.6253 GB, free: 9.531 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4846, allocations: 128 / 0.6253 GB, free: 9.531 MB / 442.7 MB Notification: Performance of Templates: time 0.004193/0.4888, allocations: 2.588 MB / 0.6279 GB, free: 6.941 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches