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.001166/0.001166, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001769/0.002935, allocations: 449.7 kB / 10.37 MB, free: 324 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.001141/0.001141, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009773/0.002119, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.02/1.02, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08532/1.105, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.2635/0.2635, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03394/0.2975, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.092e-06/1.092e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.538e-05, allocations: 3.156 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0009219/0.0009373, allocations: 0.549 MB / 294.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002213, allocations: 1.15 MB / 295.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.312e-05/0.002226, allocations: 0 / 295.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.396e-06/0.002229, allocations: 0 / 295.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-07/0.00223, allocations: 0 / 295.5 MB, free: 3.508 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.001206/0.003436, allocations: 0.715 MB / 296.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.003484, allocations: 0 / 296.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.003516, allocations: 7.922 kB / 296.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.003546, allocations: 4 kB / 296.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.909e-05/0.003565, allocations: 3.984 kB / 296.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-06/0.003571, allocations: 0 / 296.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.00507, allocations: 1.939 MB / 298.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.005077, allocations: 0 / 298.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.104e-05/0.005088, allocations: 4 kB / 298.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.005407, allocations: 339.4 kB / 298.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.005419, allocations: 3.938 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00542, allocations: 0 / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.005433, allocations: 0 / 298.5 MB, free: 0.5039 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.000311/0.005744, allocations: 329.8 kB / 298.9 MB, free: 156 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.005771, allocations: 8.922 kB / 298.9 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.005801, allocations: 4 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.237e-05/0.005853, allocations: 105.2 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.005861, allocations: 4 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-06/0.005866, allocations: 0 / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.727e-05/0.005933, allocations: 55.41 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.00594, allocations: 4 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.005945, allocations: 0 / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.00595, allocations: 3.938 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.00597, allocations: 33.64 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.625e-05/0.006026, allocations: 65.02 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.00606, allocations: 44.31 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.006075, allocations: 38.62 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-06/0.006078, allocations: 0 / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.006108, allocations: 56.27 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.006109, allocations: 0 / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.748e-05/0.006206, allocations: 118.7 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.006238, allocations: 81.05 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.691e-05/0.006265, allocations: 89.86 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.006273, allocations: 25.7 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.006293, allocations: 84.14 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.00631, allocations: 4.688 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.00633, allocations: 13.84 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.006397, allocations: 322.8 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.006408, allocations: 25.7 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.006421, allocations: 29.7 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.006457, allocations: 60.27 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006459, allocations: 0 / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.002e-05/0.006499, allocations: 89.03 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.00653, allocations: 29.7 kB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006534, allocations: 4 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.00654, allocations: 96 / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.439e-06/0.006545, allocations: 4 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.006547, allocations: 0 / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.006561, allocations: 0 / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.006567, allocations: 3.984 kB / 300.2 MB, free: 14.55 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 5.148e-05/0.006619, allocations: 143.5 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-06/0.006622, allocations: 0 / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-06/0.006629, allocations: 7 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-07/0.00663, allocations: 0 / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006632, allocations: 0 / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.006634, allocations: 0 / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.04e-05/0.006674, allocations: 73.83 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.006675, allocations: 0 / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.006676, allocations: 4 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-06/0.006679, allocations: 0 / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.006679, allocations: 0 / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.006684, allocations: 3.984 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006684, allocations: 0 / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006686, allocations: 3.938 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.4e-05/0.00674, allocations: 116.5 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.006749, allocations: 0 / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-06/0.006754, allocations: 8.031 kB / 300.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-06/0.006761, allocations: 3.938 kB / 300.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.006763, allocations: 4 kB / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.378e-06/0.006767, allocations: 4.859 kB / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006767, allocations: 0 / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00018/0.006947, allocations: 55.73 kB / 300.7 MB, free: 14.06 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.00107/0.008017, allocations: 0.6195 MB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.008092, allocations: 119.6 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.008095, allocations: 0 / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.008122, allocations: 89.95 kB / 301.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.173e-05/0.008163, allocations: 9.25 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.008354, allocations: 117.4 kB / 301.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.008384, allocations: 55.34 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.719e-06/0.008388, allocations: 0 / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.008415, allocations: 59.36 kB / 301.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.008416, allocations: 0 / 301.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of Templates: time 0.003375/0.01179, allocations: 2.424 MB / 304.1 MB, free: 10.63 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9982519820332527]