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.001032/0.001032, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.002831, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009017/0.0009017, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002051, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.045/1.045, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.195/1.24, allocations: 49.49 MB / 220.5 MB, free: 5.277 MB / 218.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.1591/0.1591, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02666/0.1857, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.773e-06/1.773e-06, allocations: 0 / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.709e-05, allocations: 6.25 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.002175/0.002203, allocations: 0.5515 MB / 267.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.004164, allocations: 1.143 MB / 268.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.004179, allocations: 4 kB / 268.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.032e-06/0.004185, allocations: 0 / 268.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.637e-06/0.004189, allocations: 0 / 268.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.006308, allocations: 0.7243 MB / 269.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.006367, allocations: 0 / 269.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.006403, allocations: 4 kB / 269.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.006437, allocations: 0 / 269.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.228e-05/0.006459, allocations: 3.984 kB / 269.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.006467, allocations: 0 / 269.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/0.01224, allocations: 1.934 MB / 271.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.01225, allocations: 0 / 271.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.01227, allocations: 0 / 271.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.01264, allocations: 351.3 kB / 271.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.01265, allocations: 4 kB / 271.9 MB, free: 1.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01265, allocations: 0 / 271.9 MB, free: 1.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.01267, allocations: 0 / 271.9 MB, free: 1.824 MB / 266.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.0003111/0.01298, allocations: 325.8 kB / 272.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.01301, allocations: 12.03 kB / 272.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.01304, allocations: 0 / 272.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.393e-05/0.01309, allocations: 105.2 kB / 272.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.0131, allocations: 7.984 kB / 272.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-06/0.01311, allocations: 0 / 272.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.911e-05/0.01318, allocations: 63.39 kB / 272.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.01318, allocations: 4 kB / 272.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.01319, allocations: 3.938 kB / 272.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01319, allocations: 0 / 272.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.01321, allocations: 29.64 kB / 272.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.422e-05/0.01327, allocations: 57.05 kB / 272.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.217e-05/0.0133, allocations: 44.31 kB / 272.6 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.01331, allocations: 34.55 kB / 272.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-06/0.01332, allocations: 0 / 272.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.01335, allocations: 60.33 kB / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.01335, allocations: 0 / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001006/0.01345, allocations: 118.7 kB / 272.8 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.01348, allocations: 85.11 kB / 272.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.085e-05/0.01351, allocations: 93.8 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.01352, allocations: 25.7 kB / 273 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.01354, allocations: 80.14 kB / 273 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.01355, allocations: 0 / 273 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.01358, allocations: 13.72 kB / 273.1 MB, free: 500 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.01365, allocations: 314.8 kB / 273.4 MB, free: 176 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.01367, allocations: 29.7 kB / 273.4 MB, free: 140 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.01368, allocations: 29.7 kB / 273.4 MB, free: 104 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.01372, allocations: 68.44 kB / 273.5 MB, free: 20 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01372, allocations: 0 / 273.5 MB, free: 20 kB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.659e-05/0.01377, allocations: 89.05 kB / 273.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.01381, allocations: 33.69 kB / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.01382, allocations: 0 / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.01383, allocations: 0 / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-06/0.01383, allocations: 0 / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.01384, allocations: 0 / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.01386, allocations: 7.938 kB / 273.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.01386, allocations: 0 / 273.6 MB, free: 15.87 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 6.353e-05/0.01393, allocations: 139.6 kB / 273.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-06/0.01393, allocations: 4 kB / 273.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-06/0.01394, allocations: 6.938 kB / 273.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-07/0.01394, allocations: 0 / 273.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01394, allocations: 3.984 kB / 273.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01395, allocations: 3.938 kB / 273.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.75e-05/0.014, allocations: 61.91 kB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-07/0.014, allocations: 0 / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.014, allocations: 0 / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.014, allocations: 3.953 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.014, allocations: 4 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.01401, allocations: 4 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-07/0.01401, allocations: 0 / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01401, allocations: 0 / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.01408, allocations: 116.4 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.01409, allocations: 4 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-06/0.0141, allocations: 0 / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-06/0.01411, allocations: 0 / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.01411, allocations: 3.984 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.919e-06/0.01411, allocations: 4.859 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01411, allocations: 0 / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.01429, allocations: 55.78 kB / 274 MB, free: 15.39 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.001084/0.01538, allocations: 0.6284 MB / 274.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.01548, allocations: 127.5 kB / 274.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01548, allocations: 0 / 274.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.01551, allocations: 89.95 kB / 274.9 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.318e-05/0.01556, allocations: 8 kB / 274.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.01571, allocations: 112 kB / 275 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.01574, allocations: 55.36 kB / 275 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.04e-06/0.01575, allocations: 0 / 275 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.01578, allocations: 55.36 kB / 275.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01578, allocations: 0 / 275.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Templates: time 0.003628/0.01941, allocations: 2.422 MB / 277.5 MB, free: 11.78 MB / 282.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 -ignoreHideResult -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: 2.9890393428504467]