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.001464/0.001464, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.001463/0.001463, allocations: 160 kB / 24.49 MB, free: 3.453 MB / 14.72 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.453/1.453, allocations: 177.1 MB / 204.7 MB, free: 8.855 MB / 190.1 MB " [Timeout remaining time 178] 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.2047/0.2047, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 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 0.002764/0.002764, allocations: 79.88 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3398, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.00142/0.3412, allocations: 0.4933 MB / 0.4977 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3428, allocations: 1.11 MB / 0.4988 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.3428, allocations: 0 / 0.4988 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.3428, allocations: 0 / 0.4988 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.3428, allocations: 0 / 0.4988 GB, free: 28.81 MB / 446.1 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.001749/0.3446, allocations: 0.7388 MB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.968e-05/0.3446, allocations: 7.219 kB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.3446, allocations: 3.562 kB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.424e-05/0.3447, allocations: 3.984 kB / 0.4995 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.568e-05/0.3447, allocations: 0 / 0.4995 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-06/0.3447, allocations: 3.062 kB / 0.4996 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.3471, allocations: 2.447 MB / 0.5019 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.3471, allocations: 7.109 kB / 0.5019 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.3472, allocations: 0 / 0.5019 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3475, allocations: 349.4 kB / 0.5023 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3475, allocations: 0 / 0.5023 GB, free: 28.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3475, allocations: 0 / 0.5023 GB, free: 28.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3475, allocations: 7.125 kB / 0.5023 GB, free: 28.12 MB / 446.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.000312/0.3478, allocations: 302.8 kB / 0.5026 GB, free: 27.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.3479, allocations: 9.031 kB / 0.5026 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.3479, allocations: 0 / 0.5026 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.386e-05/0.3479, allocations: 104.2 kB / 0.5027 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3479, allocations: 0 / 0.5027 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.348, allocations: 3.938 kB / 0.5027 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.909e-05/0.348, allocations: 62.23 kB / 0.5027 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.348, allocations: 7.938 kB / 0.5028 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.348, allocations: 0 / 0.5028 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3481, allocations: 6.344 kB / 0.5028 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.3481, allocations: 29.7 kB / 0.5028 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.15e-05/0.3481, allocations: 100.3 kB / 0.5029 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.3482, allocations: 43.25 kB / 0.5029 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.3482, allocations: 34.5 kB / 0.503 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3482, allocations: 0 / 0.503 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3482, allocations: 66.58 kB / 0.503 GB, free: 27.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3482, allocations: 0 / 0.503 GB, free: 27.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.3484, allocations: 119.6 kB / 0.5031 GB, free: 27.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.3484, allocations: 80.67 kB / 0.5032 GB, free: 27.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.038e-05/0.3485, allocations: 97.88 kB / 0.5033 GB, free: 26.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.3485, allocations: 29.7 kB / 0.5033 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.126e-05/0.3485, allocations: 83.23 kB / 0.5034 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3485, allocations: 0 / 0.5034 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.3485, allocations: 16.81 kB / 0.5034 GB, free: 26.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.047e-05/0.3486, allocations: 310.8 kB / 0.5037 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.3486, allocations: 29.64 kB / 0.5038 GB, free: 26.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.3486, allocations: 28.67 kB / 0.5038 GB, free: 26.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.3486, allocations: 66.97 kB / 0.5038 GB, free: 26.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3486, allocations: 0 / 0.5038 GB, free: 26.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.3487, allocations: 87.3 kB / 0.5039 GB, free: 26.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3487, allocations: 38.94 kB / 0.504 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3487, allocations: 0 / 0.504 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3487, allocations: 0 / 0.504 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3487, allocations: 3.062 kB / 0.504 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3487, allocations: 0 / 0.504 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.3487, allocations: 0 / 0.504 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3487, allocations: 0 / 0.504 GB, free: 26.22 MB / 446.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 4.695e-05/0.3488, allocations: 138.7 kB / 0.5041 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.3488, allocations: 3.938 kB / 0.5041 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-06/0.3488, allocations: 14.31 kB / 0.5041 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3488, allocations: 3.156 kB / 0.5041 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3488, allocations: 0 / 0.5041 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3488, allocations: 0 / 0.5041 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.784e-05/0.3488, allocations: 97.27 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3488, allocations: 3.219 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3488, allocations: 0 / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3488, allocations: 0 / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3488, allocations: 3.938 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3488, allocations: 3.234 kB / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3488, allocations: 0 / 0.5042 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.762e-05/0.3489, allocations: 120.7 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.3489, allocations: 0 / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.3489, allocations: 7 kB / 0.5043 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-06/0.3489, allocations: 4 kB / 0.5044 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.349, allocations: 0 / 0.5044 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.349, allocations: 3.281 kB / 0.5044 GB, free: 25.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.026e-05/0.349, allocations: 79.22 kB / 0.5044 GB, free: 25.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.349, allocations: 0 / 0.5044 GB, free: 25.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.3493, allocations: 50.62 kB / 0.5045 GB, free: 25.69 MB / 446.1 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.001443/0.3507, allocations: 0.5609 MB / 0.505 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.3508, allocations: 111.9 kB / 0.5051 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3508, allocations: 0 / 0.5051 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.3508, allocations: 80.05 kB / 0.5052 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.3509, allocations: 10.97 kB / 0.5052 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000145/0.3511, allocations: 117 kB / 0.5053 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.462e-05/0.3511, allocations: 54.3 kB / 0.5054 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.799e-06/0.3511, allocations: 0 / 0.5054 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-06/0.3511, allocations: 8.5 kB / 0.5054 GB, free: 24.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3511, allocations: 0 / 0.5054 GB, free: 24.95 MB / 446.1 MB Notification: Performance of Templates: time 0.004847/0.356, allocations: 2.157 MB / 0.5075 GB, free: 24.65 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.980310810962692]