Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009157/0.0009153, allocations: 178.1 kB / 16.77 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008178/0.0008181, allocations: 81.09 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3338/0.3338, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 19.98 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.4201, allocations: 89.43 MB / 0.5673 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4204, allocations: 71.95 kB / 0.5673 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03562/0.456, allocations: 16.19 MB / 0.5832 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.456, allocations: 0 / 0.5832 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.456, allocations: 0 / 0.5832 GB, free: 12.34 MB / 410.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.00056/0.4566, allocations: 414.1 kB / 0.5836 GB, free: 11.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4567, allocations: 8.031 kB / 0.5836 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.4567, allocations: 5.75 kB / 0.5836 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.4568, allocations: 160.4 kB / 0.5837 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.4568, allocations: 4.359 kB / 0.5837 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.4569, allocations: 384 / 0.5837 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.331e-05/0.457, allocations: 38.2 kB / 0.5838 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.457, allocations: 192 / 0.5838 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.457, allocations: 3.938 kB / 0.5838 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.457, allocations: 4 kB / 0.5838 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.457, allocations: 3.984 kB / 0.5838 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.4572, allocations: 141.7 kB / 0.5839 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.4572, allocations: 18.86 kB / 0.5839 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.4572, allocations: 9.609 kB / 0.5839 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.4573, allocations: 3.938 kB / 0.5839 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.4573, allocations: 68.27 kB / 0.584 GB, free: 11.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4573, allocations: 4 kB / 0.584 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.4575, allocations: 67.95 kB / 0.5841 GB, free: 11.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.4575, allocations: 77.11 kB / 0.5841 GB, free: 11.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.652e-05/0.4576, allocations: 89.86 kB / 0.5842 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4576, allocations: 25.7 kB / 0.5843 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.4577, allocations: 84.08 kB / 0.5843 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4577, allocations: 4.938 kB / 0.5843 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.4577, allocations: 0 / 0.5843 GB, free: 10.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4578, allocations: 319 kB / 0.5846 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.4579, allocations: 4 kB / 0.5846 GB, free: 10.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.4579, allocations: 3.984 kB / 0.5847 GB, free: 10.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.4579, allocations: 64.2 kB / 0.5847 GB, free: 10.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4579, allocations: 0 / 0.5847 GB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.797e-05/0.458, allocations: 59.41 kB / 0.5848 GB, free: 10.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.4581, allocations: 33.7 kB / 0.5848 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4581, allocations: 3.984 kB / 0.5848 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4581, allocations: 8.031 kB / 0.5848 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4581, allocations: 0 / 0.5848 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4581, allocations: 0 / 0.5848 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.4581, allocations: 0 / 0.5848 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4581, allocations: 4 kB / 0.5848 GB, free: 10.38 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/0.4582, allocations: 135.5 kB / 0.5849 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.4582, allocations: 0 / 0.5849 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.4583, allocations: 11.06 kB / 0.585 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4583, allocations: 0 / 0.585 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4583, allocations: 4 kB / 0.585 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4583, allocations: 0 / 0.585 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.415e-05/0.4584, allocations: 149.6 kB / 0.5851 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4584, allocations: 0 / 0.5851 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.4584, allocations: 0 / 0.5851 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4584, allocations: 4 kB / 0.5851 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4584, allocations: 3.938 kB / 0.5851 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4584, allocations: 0 / 0.5851 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4584, allocations: 0 / 0.5851 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.4585, allocations: 100.8 kB / 0.5852 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.4586, allocations: 77.11 kB / 0.5853 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.4586, allocations: 3.938 kB / 0.5853 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.4586, allocations: 4 kB / 0.5853 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.4586, allocations: 0 / 0.5853 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4586, allocations: 7.984 kB / 0.5853 GB, free: 9.781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.4587, allocations: 75.28 kB / 0.5854 GB, free: 9.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4587, allocations: 0 / 0.5854 GB, free: 9.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000358/0.459, allocations: 59.92 kB / 0.5854 GB, free: 9.648 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/0.4609, allocations: 0.5617 MB / 0.586 GB, free: 9.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.097e-05/0.461, allocations: 59.39 kB / 0.586 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.461, allocations: 4 kB / 0.586 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.461, allocations: 55.41 kB / 0.5861 GB, free: 9.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.4612, allocations: 4 kB / 0.5861 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.4613, allocations: 73.64 kB / 0.5862 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.4616, allocations: 0.6731 MB / 0.5868 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.791e-06/0.4616, allocations: 4 kB / 0.5868 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.053e-05/0.4616, allocations: 7.438 kB / 0.5868 GB, free: 8.199 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4616, allocations: 0 / 0.5868 GB, free: 8.199 MB / 410.7 MB Notification: Performance of Templates: time 0.005265/0.4669, allocations: 2.12 MB / 0.5889 GB, free: 6.074 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches