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.0009397/0.0009397, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.00238, allocations: 449.8 kB / 10.44 MB, free: 252 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.001079/0.001079, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001794/0.002873, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9426/0.9426, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2974/0.2974, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02744/0.3248, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 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 1.283e-06/1.283e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.235e-05, allocations: 6.312 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001829/0.001851, allocations: 0.5501 MB / 293.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003104, allocations: 1.146 MB / 294.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.342e-05/0.003117, allocations: 0 / 294.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.498e-06/0.003121, allocations: 0 / 294.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.003123, allocations: 0 / 294.5 MB, free: 4.523 MB / 282.7 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.001396/0.004518, allocations: 0.7177 MB / 295.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.004575, allocations: 0 / 295.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.004609, allocations: 4 kB / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.004645, allocations: 11.92 kB / 295.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/0.004665, allocations: 0 / 295.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.485e-06/0.004673, allocations: 0 / 295.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.006377, allocations: 1.942 MB / 297.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.006391, allocations: 0 / 297.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.00641, allocations: 4 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.00677, allocations: 335.4 kB / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.006782, allocations: 0 / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006783, allocations: 0 / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.006794, allocations: 0 / 297.5 MB, free: 1.523 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.0003518/0.007145, allocations: 337.7 kB / 297.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007182, allocations: 8.031 kB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.007217, allocations: 0 / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.503e-05/0.007282, allocations: 113.2 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.007292, allocations: 0 / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.007301, allocations: 0 / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.693e-05/0.007368, allocations: 55.41 kB / 298 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.007375, allocations: 0 / 298 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.007382, allocations: 3.938 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.007388, allocations: 0 / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.007404, allocations: 37.64 kB / 298.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.432e-05/0.007468, allocations: 53.05 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.007509, allocations: 48.3 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.007527, allocations: 38.61 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-06/0.007531, allocations: 0 / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.007566, allocations: 60.27 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.007567, allocations: 0 / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.007687, allocations: 118.7 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.007743, allocations: 154.2 kB / 298.5 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.451e-05/0.007778, allocations: 93.92 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.007788, allocations: 33.7 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.007807, allocations: 80.14 kB / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.007828, allocations: 0 / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.007853, allocations: 17.66 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.007948, allocations: 314.8 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.007965, allocations: 25.7 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.007982, allocations: 29.7 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.008025, allocations: 64.2 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.008026, allocations: 0 / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.302e-05/0.008089, allocations: 93.16 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.008127, allocations: 33.7 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.008132, allocations: 4 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.008144, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-06/0.008146, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.008149, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.008171, allocations: 4.625 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.008177, allocations: 0 / 299.3 MB, free: 15.46 MB / 298.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 7.113e-05/0.008248, allocations: 143.5 kB / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.008253, allocations: 0 / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-06/0.008261, allocations: 11.03 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.008263, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008264, allocations: 0 / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008268, allocations: 3.938 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.824e-05/0.008316, allocations: 57.91 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.008318, allocations: 4 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.008319, allocations: 0 / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-06/0.008322, allocations: 0 / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008323, allocations: 3.938 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.008329, allocations: 3.984 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.00833, allocations: 0 / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008331, allocations: 4 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.315e-05/0.008404, allocations: 116.5 kB / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.008415, allocations: 0 / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.008423, allocations: 4 kB / 299.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.008434, allocations: 4 kB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.008437, allocations: 0 / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.164e-06/0.008444, allocations: 4.859 kB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008444, allocations: 0 / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.008651, allocations: 59.67 kB / 299.7 MB, free: 14.99 MB / 298.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.001205/0.009856, allocations: 0.622 MB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.009978, allocations: 127.5 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.009983, allocations: 4.094 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.01002, allocations: 93.94 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.246e-05/0.01007, allocations: 4 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.01024, allocations: 113 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.01027, allocations: 55.36 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.141e-06/0.01027, allocations: 0 / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.01031, allocations: 51.38 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01031, allocations: 0 / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Templates: time 0.004142/0.01445, allocations: 2.436 MB / 303.2 MB, free: 11.54 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.849943920969963]