Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001661/0.001661, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001899/0.001899, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.236/0.236, allocations: 46.95 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 63.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001774/0.3481, allocations: 496 kB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.3503, allocations: 1.108 MB / 0.5634 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.3503, allocations: 3.938 kB / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3503, allocations: 0 / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.3503, allocations: 0 / 0.5634 GB, free: 2.555 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Visualizers/Colors/colorMapToSvg.mo:2:1-205:18:writable] Warning: Pure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg' contains a call to impure function 'Modelica.Utilities.Files.remove'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:663:3-677:20:writable] Warning: Pure function 'ModelicaTest.Math.colorMapToSvg' contains a call to impure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg'. Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.3525, allocations: 0.7508 MB / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.3526, allocations: 0 / 0.5641 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.3526, allocations: 3.984 kB / 0.5641 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.3527, allocations: 7.984 kB / 0.5641 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.231e-05/0.3527, allocations: 4 kB / 0.5641 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-06/0.3527, allocations: 4 kB / 0.5641 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.3561, allocations: 2.46 MB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3561, allocations: 7.984 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.3561, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.3566, allocations: 347.4 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3566, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3566, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3566, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 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.0004607/0.3571, allocations: 299.5 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3571, allocations: 12.02 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3572, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.3573, allocations: 113.1 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.3573, allocations: 7.938 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3573, allocations: 4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.43e-05/0.3574, allocations: 55.41 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3574, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3574, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3574, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.3574, allocations: 25.7 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.3575, allocations: 101.3 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.3576, allocations: 48.22 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.3576, allocations: 38.59 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.3576, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.3576, allocations: 64.2 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3577, allocations: 0 / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001995/0.3579, allocations: 122.8 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.3579, allocations: 81.11 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.776e-05/0.3579, allocations: 93.81 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.358, allocations: 29.64 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.358, allocations: 80.14 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.358, allocations: 0 / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.358, allocations: 13.72 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3582, allocations: 314.8 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.3582, allocations: 33.83 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.3582, allocations: 29.7 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.3583, allocations: 60.27 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3583, allocations: 0 / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.765e-05/0.3584, allocations: 89.03 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.3584, allocations: 37.7 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3584, allocations: 0 / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3584, allocations: 0 / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-06/0.3584, allocations: 3.938 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3584, allocations: 96 / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.3584, allocations: 4 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3584, allocations: 4 kB / 0.5686 GB, free: 12.97 MB / 414.1 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 0.0001055/0.3586, allocations: 135.5 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.3586, allocations: 3.938 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.3586, allocations: 7 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3586, allocations: 3.984 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3586, allocations: 0 / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-06/0.3586, allocations: 0 / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.3586, allocations: 0 / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.3586, allocations: 4 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.3586, allocations: 7.938 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001499/0.3588, allocations: 227.7 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001776/0.3589, allocations: 266.2 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.248e-05/0.359, allocations: 29.7 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.359, allocations: 75.28 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.359, allocations: 0 / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.3609, allocations: 0.6234 MB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004341/0.3613, allocations: 0.5755 MB / 0.5705 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Templates: time 0.00572/0.3671, allocations: 2.165 MB / 0.5726 GB, free: 8.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.345287927004392]