Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 170.1 kB / 24.84 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1834/0.1834, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.563e-05, allocations: 2.312 kB / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0009227/0.0009384, allocations: 0.5072 MB / 349.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.002153, allocations: 1.127 MB / 350.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.002176, allocations: 0 / 350.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.002189, allocations: 0 / 350.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.002196, allocations: 0 / 350.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.003514, allocations: 0.7434 MB / 351.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.003562, allocations: 4 kB / 351.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.22e-05/0.003594, allocations: 0 / 351.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.003616, allocations: 4 kB / 351.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.56e-05/0.003631, allocations: 0 / 351.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.003637, allocations: 3.984 kB / 351.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.005165, allocations: 2.517 MB / 353.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.005173, allocations: 0 / 353.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.141e-05/0.005184, allocations: 4 kB / 353.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.005442, allocations: 379.2 kB / 354.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005444, allocations: 3.984 kB / 354.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005445, allocations: 0 / 354.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.005448, allocations: 0 / 354.2 MB, free: 3.914 MB / 282.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.0002562/0.005704, allocations: 405.4 kB / 354.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.005732, allocations: 12.03 kB / 354.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.005755, allocations: 4 kB / 354.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.358e-05/0.005788, allocations: 104.1 kB / 354.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.005797, allocations: 0 / 354.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.005802, allocations: 4 kB / 354.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.878e-05/0.005851, allocations: 59.33 kB / 354.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.005857, allocations: 0 / 354.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.005863, allocations: 7.984 kB / 354.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.005867, allocations: 0 / 354.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-06/0.005876, allocations: 29.64 kB / 354.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.84e-05/0.005925, allocations: 93.27 kB / 354.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.747e-05/0.005952, allocations: 56.77 kB / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.006e-05/0.005962, allocations: 37.48 kB / 355 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.005965, allocations: 3.984 kB / 355 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.005984, allocations: 63.09 kB / 355 MB, free: 2.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.005984, allocations: 0 / 355 MB, free: 2.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.006093, allocations: 118.7 kB / 355.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.00611, allocations: 81.09 kB / 355.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.011e-05/0.00613, allocations: 146.2 kB / 355.4 MB, free: 2.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-06/0.006135, allocations: 25.7 kB / 355.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.006146, allocations: 127 kB / 355.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.006158, allocations: 7.984 kB / 355.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.006175, allocations: 23.38 kB / 355.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.006211, allocations: 492.1 kB / 356 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-06/0.006218, allocations: 25.7 kB / 356.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.006224, allocations: 25.7 kB / 356.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.006249, allocations: 67.08 kB / 356.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006251, allocations: 0 / 356.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.673e-05/0.006287, allocations: 92.98 kB / 356.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.006303, allocations: 33.8 kB / 356.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006307, allocations: 4 kB / 356.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.006315, allocations: 3.938 kB / 356.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.006316, allocations: 0 / 356.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.006319, allocations: 3.984 kB / 356.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-06/0.006327, allocations: 4.328 kB / 356.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.006331, allocations: 0 / 356.3 MB, free: 1.5 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.006369, allocations: 190.3 kB / 356.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-06/0.006373, allocations: 0 / 356.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-06/0.006381, allocations: 7 kB / 356.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006383, allocations: 3.938 kB / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006384, allocations: 4 kB / 356.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006386, allocations: 0 / 356.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.959e-05/0.006426, allocations: 93.22 kB / 356.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006427, allocations: 3.984 kB / 356.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-07/0.006428, allocations: 4 kB / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-07/0.006428, allocations: 0 / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.006432, allocations: 0 / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-07/0.006432, allocations: 0 / 356.6 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006433, allocations: 3.938 kB / 356.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.455e-05/0.006478, allocations: 127.8 kB / 356.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-06/0.006481, allocations: 4.031 kB / 356.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.006489, allocations: 8 kB / 356.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-06/0.006494, allocations: 0 / 356.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-06/0.006501, allocations: 0 / 356.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006503, allocations: 3.938 kB / 356.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.249e-05/0.006515, allocations: 123.2 kB / 356.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006515, allocations: 4 kB / 356.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.006713, allocations: 47.8 kB / 356.9 MB, free: 0.8008 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008751/0.007588, allocations: 0.576 MB / 357.5 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.007652, allocations: 126.4 kB / 357.6 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007653, allocations: 0 / 357.6 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.007666, allocations: 92.78 kB / 357.7 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.505e-05/0.007751, allocations: 0 / 357.7 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001523/0.007904, allocations: 109.7 kB / 357.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.007932, allocations: 59.28 kB / 357.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.031e-06/0.007938, allocations: 4 kB / 357.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.007969, allocations: 74.2 kB / 357.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00797, allocations: 4.125 kB / 357.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Templates: time 0.00348/0.01145, allocations: 2.43 MB / 360.4 MB, free: 13.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4053318817168474]