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.001473/0.001473, allocations: 90.56 kB / 20.2 MB, free: 4.199 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.001715/0.001715, allocations: 169.2 kB / 23.52 MB, free: 0.8828 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.365/1.365, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2305/0.2305, allocations: 32.38 MB / 270 MB, free: 14.77 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.212e-06/1.212e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.071e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001176/0.001196, allocations: 0.5191 MB / 347.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.002709, allocations: 1.113 MB / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.002726, allocations: 0 / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.917e-06/0.002735, allocations: 0 / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-06/0.002739, allocations: 0 / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.004417, allocations: 0.7512 MB / 349.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.00446, allocations: 0 / 349.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.718e-05/0.004488, allocations: 12 kB / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.00451, allocations: 0 / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.004527, allocations: 0 / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.004534, allocations: 0 / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.006695, allocations: 2.458 MB / 351.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-06/0.006703, allocations: 0 / 351.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.006726, allocations: 4 kB / 351.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.007072, allocations: 383.1 kB / 352.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007074, allocations: 0 / 352.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007074, allocations: 0 / 352.1 MB, free: 4.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.007078, allocations: 0 / 352.1 MB, free: 4.598 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.0003146/0.007393, allocations: 295.6 kB / 352.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.007423, allocations: 12.03 kB / 352.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.007464, allocations: 4 kB / 352.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.367e-05/0.007508, allocations: 105.2 kB / 352.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.00752, allocations: 0 / 352.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.007527, allocations: 4 kB / 352.5 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.542e-05/0.007602, allocations: 59.28 kB / 352.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.007611, allocations: 4 kB / 352.6 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.00762, allocations: 3.984 kB / 352.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.007625, allocations: 0 / 352.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.007648, allocations: 29.64 kB / 352.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.751e-05/0.007716, allocations: 97.33 kB / 352.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.383e-05/0.007759, allocations: 44.28 kB / 352.8 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.007774, allocations: 38.66 kB / 352.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.007783, allocations: 0 / 352.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.00781, allocations: 64.19 kB / 352.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.007811, allocations: 0 / 352.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.007967, allocations: 118.8 kB / 353 MB, free: 3.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.007993, allocations: 81.11 kB / 353.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.882e-05/0.008012, allocations: 89.86 kB / 353.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.008018, allocations: 25.7 kB / 353.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.025e-05/0.008028, allocations: 84.12 kB / 353.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.008041, allocations: 3.938 kB / 353.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.008061, allocations: 17.84 kB / 353.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.008116, allocations: 310.8 kB / 353.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.00813, allocations: 29.7 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-06/0.00814, allocations: 29.7 kB / 353.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.008174, allocations: 64.2 kB / 353.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.008176, allocations: 0 / 353.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.966e-05/0.008225, allocations: 89.09 kB / 353.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.008245, allocations: 33.7 kB / 353.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.00825, allocations: 3.938 kB / 353.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.008268, allocations: 8.078 kB / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.008269, allocations: 0 / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.008273, allocations: 0 / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.008285, allocations: 0 / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.00829, allocations: 4 kB / 353.8 MB, free: 2.602 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.993e-05/0.00833, allocations: 135.5 kB / 354 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.008338, allocations: 4 kB / 354 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-06/0.008346, allocations: 10.88 kB / 354 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.008347, allocations: 0 / 354 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008351, allocations: 0 / 354 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.008352, allocations: 0 / 354 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.457e-05/0.008387, allocations: 105.3 kB / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008388, allocations: 3.984 kB / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.008389, allocations: 0 / 354.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00839, allocations: 7.938 kB / 354.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.008395, allocations: 0 / 354.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.008396, allocations: 3.938 kB / 354.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.008397, allocations: 0 / 354.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.75e-05/0.008464, allocations: 124.5 kB / 354.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-06/0.008467, allocations: 0 / 354.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.008477, allocations: 0 / 354.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.008486, allocations: 7.969 kB / 354.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.0085, allocations: 0 / 354.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.008503, allocations: 8 kB / 354.3 MB, free: 2.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.17e-05/0.008514, allocations: 75.28 kB / 354.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.008515, allocations: 3.938 kB / 354.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.008821, allocations: 51.8 kB / 354.4 MB, free: 1.988 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.00138/0.0102, allocations: 0.5395 MB / 354.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.359e-05/0.01027, allocations: 114.8 kB / 355 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.01028, allocations: 4.062 kB / 355 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.0103, allocations: 85.09 kB / 355.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.01041, allocations: 0 / 355.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001456/0.01056, allocations: 111.9 kB / 355.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.14e-05/0.01058, allocations: 59.34 kB / 355.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.538e-06/0.01058, allocations: 0 / 355.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.044e-05/0.01059, allocations: 8.5 kB / 355.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0106, allocations: 0 / 355.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of Templates: time 0.005016/0.01561, allocations: 2.205 MB / 357.5 MB, free: 14.84 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.050405403948389]