Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007823, allocations: 101.8 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.36/0.36, allocations: 44.15 MB / 388.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 8 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3835, allocations: 61.87 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.5114, allocations: 90.52 MB / 0.5991 GB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.5117, allocations: 59.97 kB / 0.5992 GB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03577/0.5475, allocations: 16.23 MB / 0.615 GB, free: 4.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5475, allocations: 0 / 0.615 GB, free: 4.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.5475, allocations: 0 / 0.615 GB, free: 4.289 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.0006103/0.5481, allocations: 417.1 kB / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.5482, allocations: 19.91 kB / 0.6154 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.5483, allocations: 0.9375 kB / 0.6154 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.5484, allocations: 164.4 kB / 0.6156 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5484, allocations: 384 / 0.6156 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.5484, allocations: 384 / 0.6156 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.179e-05/0.5485, allocations: 30.27 kB / 0.6156 GB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.5485, allocations: 4.172 kB / 0.6156 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5485, allocations: 3.938 kB / 0.6156 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5485, allocations: 4 kB / 0.6156 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.5486, allocations: 0 / 0.6156 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.5487, allocations: 149.7 kB / 0.6158 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.5488, allocations: 22.52 kB / 0.6158 GB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.5488, allocations: 5.328 kB / 0.6158 GB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.5488, allocations: 4.094 kB / 0.6158 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.5489, allocations: 56.27 kB / 0.6159 GB, free: 3.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.5489, allocations: 4 kB / 0.6159 GB, free: 3.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.549, allocations: 71.23 kB / 0.6159 GB, free: 3.164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.5491, allocations: 85.05 kB / 0.616 GB, free: 3.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.88e-05/0.5492, allocations: 89.86 kB / 0.6161 GB, free: 2.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5492, allocations: 25.7 kB / 0.6161 GB, free: 2.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.5492, allocations: 80.14 kB / 0.6162 GB, free: 2.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.5493, allocations: 0 / 0.6162 GB, free: 2.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.5493, allocations: 4 kB / 0.6162 GB, free: 2.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5494, allocations: 315 kB / 0.6165 GB, free: 2.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.5494, allocations: 0 / 0.6165 GB, free: 2.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.5494, allocations: 0 / 0.6165 GB, free: 2.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.5495, allocations: 60.27 kB / 0.6166 GB, free: 2.457 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5495, allocations: 3.984 kB / 0.6166 GB, free: 2.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.687e-05/0.5496, allocations: 63.41 kB / 0.6166 GB, free: 2.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.5496, allocations: 29.7 kB / 0.6166 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5496, allocations: 3.938 kB / 0.6167 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5496, allocations: 8.031 kB / 0.6167 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.5496, allocations: 0 / 0.6167 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5497, allocations: 0 / 0.6167 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.5497, allocations: 4 kB / 0.6167 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5497, allocations: 3.984 kB / 0.6167 GB, free: 2.324 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 9.391e-05/0.5498, allocations: 139.5 kB / 0.6168 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.5498, allocations: 7.938 kB / 0.6168 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.5498, allocations: 7.062 kB / 0.6168 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5498, allocations: 0 / 0.6168 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.5498, allocations: 4 kB / 0.6168 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5498, allocations: 0 / 0.6168 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.55, allocations: 153.7 kB / 0.617 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.55, allocations: 8 kB / 0.617 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.55, allocations: 0 / 0.617 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.55, allocations: 0 / 0.617 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.55, allocations: 3.938 kB / 0.617 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.55, allocations: 0 / 0.617 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.55, allocations: 0 / 0.617 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.5501, allocations: 98.77 kB / 0.6171 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.5502, allocations: 77.11 kB / 0.6171 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.5502, allocations: 3.938 kB / 0.6171 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.5502, allocations: 0 / 0.6171 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.5502, allocations: 4 kB / 0.6172 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.5502, allocations: 0 / 0.6172 GB, free: 1.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.5503, allocations: 79.28 kB / 0.6172 GB, free: 1.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5503, allocations: 0 / 0.6172 GB, free: 1.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004512/0.5507, allocations: 67.92 kB / 0.6173 GB, free: 1.578 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.001874/0.5526, allocations: 0.5502 MB / 0.6178 GB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.5528, allocations: 63.41 kB / 0.6179 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5528, allocations: 0 / 0.6179 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.5528, allocations: 59.34 kB / 0.6179 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.553, allocations: 10.42 kB / 0.618 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.5532, allocations: 90.58 kB / 0.618 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5535, allocations: 0.6692 MB / 0.6187 GB, free: 132 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.246e-06/0.5535, allocations: 0 / 0.6187 GB, free: 132 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.5535, allocations: 11.44 kB / 0.6187 GB, free: 124 kB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5535, allocations: 0 / 0.6187 GB, free: 124 kB / 426.7 MB Notification: Performance of Templates: time 0.006838/0.5604, allocations: 2.115 MB / 0.6208 GB, free: 14 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches