Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008308/0.0008308, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.00198, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006845/0.0006845, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001715, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.024/1.024, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08853/1.112, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2986/0.2986, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02752/0.3261, allocations: 13.23 MB / 292.8 MB, free: 6.422 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 294.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.804e-05, allocations: 4.656 kB / 294.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001843/0.001871, allocations: 0.5455 MB / 294.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.003665, allocations: 1.15 MB / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.003681, allocations: 0 / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.951e-06/0.003686, allocations: 0 / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.953e-06/0.003688, allocations: 4 kB / 295.8 MB, free: 3.426 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.002074/0.005762, allocations: 0.7099 MB / 296.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.005847, allocations: 7.984 kB / 296.5 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.005899, allocations: 3.938 kB / 296.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.005953, allocations: 0 / 296.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.005987, allocations: 4 kB / 296.5 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.005996, allocations: 4 kB / 296.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.00882, allocations: 1.943 MB / 298.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.008837, allocations: 0 / 298.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.008862, allocations: 4 kB / 298.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.00944, allocations: 335.4 kB / 298.8 MB, free: 436 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.721e-05/0.009457, allocations: 0 / 298.8 MB, free: 436 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.009459, allocations: 0 / 298.8 MB, free: 436 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.009471, allocations: 0 / 298.8 MB, free: 436 kB / 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.0004646/0.009936, allocations: 333.8 kB / 299.1 MB, free: 72 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.009975, allocations: 8.922 kB / 299.1 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.01001, allocations: 11.92 kB / 299.1 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.0101, allocations: 105.2 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.01011, allocations: 0 / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.01012, allocations: 3.984 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.658e-05/0.0102, allocations: 55.41 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.0102, allocations: 3.938 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-06/0.01021, allocations: 0 / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01022, allocations: 3.938 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.01023, allocations: 33.69 kB / 299.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.973e-05/0.0103, allocations: 53.05 kB / 299.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.01035, allocations: 52.25 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.01037, allocations: 30.56 kB / 299.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-06/0.01037, allocations: 4.062 kB / 299.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.01041, allocations: 56.27 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.01041, allocations: 0 / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.01054, allocations: 118.8 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.0106, allocations: 158.2 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.658e-05/0.01064, allocations: 89.86 kB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.01065, allocations: 25.7 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.01067, allocations: 84.14 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.0107, allocations: 4.812 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.01072, allocations: 17.69 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.01081, allocations: 318.8 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.01083, allocations: 25.7 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.01085, allocations: 25.7 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.0109, allocations: 60.27 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0109, allocations: 4 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.269e-05/0.01097, allocations: 89.09 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.01101, allocations: 33.64 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01102, allocations: 4.094 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01103, allocations: 4 kB / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/0.01103, allocations: 0 / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.01103, allocations: 0 / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.01105, allocations: 0 / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.01106, allocations: 0 / 300.6 MB, free: 14.37 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.798e-05/0.01114, allocations: 143.5 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.01115, allocations: 0 / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-06/0.01115, allocations: 3 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01116, allocations: 4 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01116, allocations: 0 / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01116, allocations: 4 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.234e-05/0.01122, allocations: 65.78 kB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01123, allocations: 0 / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.01123, allocations: 7.984 kB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.01123, allocations: 4 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.01124, allocations: 0 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.01124, allocations: 0 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01124, allocations: 0 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01124, allocations: 0 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.599e-05/0.01134, allocations: 120.4 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.01135, allocations: 4.031 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.01136, allocations: 0 / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.01137, allocations: 4 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.01137, allocations: 4 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.424e-06/0.01138, allocations: 4.859 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01138, allocations: 0 / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.01169, allocations: 55.73 kB / 301 MB, free: 13.89 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.001673/0.01336, allocations: 0.6251 MB / 301.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.01349, allocations: 123.6 kB / 301.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.01349, allocations: 4 kB / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.01353, allocations: 85.97 kB / 301.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.625e-05/0.01359, allocations: 8.125 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.01376, allocations: 117.2 kB / 301.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.01379, allocations: 55.3 kB / 302 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.192e-06/0.0138, allocations: 0 / 302 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.01384, allocations: 51.38 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01384, allocations: 0 / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005027/0.01887, allocations: 2.444 MB / 304.5 MB, free: 10.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.9447000231593847]