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.001328/0.001328, allocations: 180 kB / 16.41 MB, free: 5.727 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.685/1.685, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008163/0.000816, allocations: 92.47 kB / 270.9 MB, free: 8.352 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.446/0.446, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004496, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1363, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0006629/0.1371, allocations: 224.3 kB / 490.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.139, allocations: 1.081 MB / 491.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.139, allocations: 0 / 491.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.139, allocations: 0 / 491.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/0.139, allocations: 0 / 491.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.1406, allocations: 0.6239 MB / 492.2 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.403e-05/0.1406, allocations: 0 / 492.2 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.1407, allocations: 0 / 492.2 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.1407, allocations: 4 kB / 492.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.1407, allocations: 0 / 492.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1407, allocations: 0 / 492.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.1435, allocations: 2.242 MB / 494.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-06/0.1435, allocations: 3.938 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1436, allocations: 29.7 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.144, allocations: 315.5 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.144, allocations: 0 / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.144, allocations: 4 kB / 494.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.144, allocations: 4 kB / 494.7 MB, free: 6.461 MB / 378.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.0004465/0.1445, allocations: 388.9 kB / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1445, allocations: 8.031 kB / 495.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1446, allocations: 0 / 495.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1447, allocations: 167 kB / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1447, allocations: 0 / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.1447, allocations: 0 / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.1448, allocations: 41.61 kB / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1448, allocations: 0 / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1448, allocations: 4 kB / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1448, allocations: 0 / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.1449, allocations: 7.938 kB / 495.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.145, allocations: 157.5 kB / 495.5 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.1451, allocations: 18.61 kB / 495.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.1451, allocations: 8.844 kB / 495.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-06/0.1451, allocations: 0 / 495.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.1452, allocations: 64.33 kB / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1452, allocations: 0 / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001767/0.1454, allocations: 63.34 kB / 495.7 MB, free: 5.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1454, allocations: 81.11 kB / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.047e-05/0.1455, allocations: 93.84 kB / 495.8 MB, free: 5.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1455, allocations: 25.7 kB / 495.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.1456, allocations: 80.14 kB / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1456, allocations: 0 / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.1456, allocations: 128 / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1457, allocations: 318.8 kB / 496.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.1457, allocations: 4 kB / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.1457, allocations: 0 / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.1458, allocations: 29.7 kB / 496.3 MB, free: 4.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1458, allocations: 0 / 496.3 MB, free: 4.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.573e-05/0.1459, allocations: 67.33 kB / 496.3 MB, free: 4.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.1459, allocations: 29.7 kB / 496.4 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1459, allocations: 4 kB / 496.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1459, allocations: 4.094 kB / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.146, allocations: 0 / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.146, allocations: 0 / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.146, allocations: 0 / 496.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.146, allocations: 0 / 496.4 MB, free: 4.574 MB / 378.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 0.0001004/0.1461, allocations: 143.5 kB / 496.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.1461, allocations: 0 / 496.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.1461, allocations: 7.109 kB / 496.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1461, allocations: 0 / 496.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1461, allocations: 4 kB / 496.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1462, allocations: 0 / 496.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1463, allocations: 153.6 kB / 496.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1463, allocations: 0 / 496.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1463, allocations: 0 / 496.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1463, allocations: 0 / 496.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.1463, allocations: 3.938 kB / 496.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1463, allocations: 7.922 kB / 496.7 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1463, allocations: 4 kB / 496.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1464, allocations: 90.78 kB / 496.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1465, allocations: 81.06 kB / 496.9 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1465, allocations: 7.984 kB / 496.9 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-06/0.1465, allocations: 0 / 496.9 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.1466, allocations: 0 / 496.9 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1466, allocations: 0 / 496.9 MB, free: 3.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.1466, allocations: 75.28 kB / 496.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1466, allocations: 0 / 496.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.147, allocations: 67.98 kB / 497 MB, free: 3.832 MB / 378.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.001566/0.1486, allocations: 0.5042 MB / 497.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.656e-05/0.1487, allocations: 55.41 kB / 497.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1487, allocations: 0 / 497.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.1487, allocations: 55.41 kB / 497.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1489, allocations: 3.938 kB / 497.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.1491, allocations: 112.4 kB / 497.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1494, allocations: 0.6733 MB / 498.4 MB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-06/0.1494, allocations: 7.438 kB / 498.4 MB, free: 2.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1494, allocations: 0 / 498.4 MB, free: 2.371 MB / 378.7 MB Notification: Performance of Templates: time 0.2027/0.3521, allocations: 2.859 MB / 0.4895 GB, free: 43.07 MB / 378.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/jenkins/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