Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.336/1.336, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0009185/0.0009187, allocations: 89.03 kB / 271.9 MB, free: 8.25 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.3689/0.3689, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004135, allocations: 16 kB / 432.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.491, allocations: 89.44 MB / 0.5673 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4913, allocations: 59.97 kB / 0.5673 GB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03501/0.5263, allocations: 16.2 MB / 0.5831 GB, free: 12.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5264, allocations: 0 / 0.5831 GB, free: 12.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.5264, allocations: 4 kB / 0.5831 GB, free: 12.61 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.0006354/0.527, allocations: 414.1 kB / 0.5835 GB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5271, allocations: 8.031 kB / 0.5835 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.5271, allocations: 0.9375 kB / 0.5835 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5272, allocations: 160.4 kB / 0.5837 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5273, allocations: 384 / 0.5837 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.5273, allocations: 5.125 kB / 0.5837 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.5274, allocations: 34.19 kB / 0.5837 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5274, allocations: 192 / 0.5837 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5274, allocations: 3.938 kB / 0.5837 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5274, allocations: 8 kB / 0.5837 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.5274, allocations: 3.938 kB / 0.5837 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.5276, allocations: 145.7 kB / 0.5839 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/0.5277, allocations: 18.86 kB / 0.5839 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.5277, allocations: 5.609 kB / 0.5839 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.5277, allocations: 3.984 kB / 0.5839 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.5277, allocations: 60.2 kB / 0.584 GB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5277, allocations: 4 kB / 0.584 GB, free: 11.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.5279, allocations: 72.02 kB / 0.584 GB, free: 11.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.528, allocations: 77.11 kB / 0.5841 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.899e-05/0.528, allocations: 93.86 kB / 0.5842 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.5281, allocations: 29.69 kB / 0.5842 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.5281, allocations: 84.08 kB / 0.5843 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.5281, allocations: 0.9375 kB / 0.5843 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.5281, allocations: 0 / 0.5843 GB, free: 11.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5282, allocations: 319 kB / 0.5846 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.5283, allocations: 0 / 0.5846 GB, free: 10.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.5283, allocations: 4 kB / 0.5846 GB, free: 10.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.5283, allocations: 64.2 kB / 0.5847 GB, free: 10.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5283, allocations: 4 kB / 0.5847 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.528e-05/0.5284, allocations: 59.39 kB / 0.5847 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5285, allocations: 33.7 kB / 0.5848 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5285, allocations: 0 / 0.5848 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5285, allocations: 8.031 kB / 0.5848 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.5285, allocations: 0 / 0.5848 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5285, allocations: 0.8594 kB / 0.5848 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.5285, allocations: 0 / 0.5848 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.5285, allocations: 0 / 0.5848 GB, free: 10.66 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.961e-05/0.5286, allocations: 135.5 kB / 0.5849 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.5286, allocations: 0 / 0.5849 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.373e-05/0.5286, allocations: 11.05 kB / 0.5849 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.5287, allocations: 0 / 0.5849 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5287, allocations: 4 kB / 0.5849 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5287, allocations: 4 kB / 0.5849 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.654e-05/0.5288, allocations: 145.7 kB / 0.5851 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5288, allocations: 3.938 kB / 0.5851 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.5288, allocations: 0 / 0.5851 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5288, allocations: 3.938 kB / 0.5851 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5288, allocations: 7.922 kB / 0.5851 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5288, allocations: 4 kB / 0.5851 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.5288, allocations: 0 / 0.5851 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.946e-05/0.5289, allocations: 88.88 kB / 0.5852 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.529, allocations: 85.08 kB / 0.5853 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.529, allocations: 11.94 kB / 0.5853 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.529, allocations: 0 / 0.5853 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.529, allocations: 0 / 0.5853 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.529, allocations: 0 / 0.5853 GB, free: 10.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.5291, allocations: 75.28 kB / 0.5853 GB, free: 9.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5291, allocations: 0 / 0.5853 GB, free: 9.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.5294, allocations: 63.92 kB / 0.5854 GB, free: 9.926 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.001826/0.5313, allocations: 0.5605 MB / 0.586 GB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.848e-05/0.5314, allocations: 55.41 kB / 0.586 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5314, allocations: 0 / 0.586 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.5314, allocations: 55.41 kB / 0.5861 GB, free: 9.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.5315, allocations: 0.625 kB / 0.5861 GB, free: 9.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.5318, allocations: 111.3 kB / 0.5862 GB, free: 9.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.532, allocations: 0.6692 MB / 0.5868 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.173e-05/0.532, allocations: 11.44 kB / 0.5868 GB, free: 8.441 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.532, allocations: 0 / 0.5868 GB, free: 8.441 MB / 410.7 MB Notification: Performance of Templates: time 0.004642/0.5367, allocations: 2.575 MB / 0.5893 GB, free: 5.863 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches