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.002569/0.002575, allocations: 187 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.28/2.28, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001183/0.001183, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2938/0.2938, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006821/0.0006822, allocations: 16 kB / 431.3 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1236, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0007202/0.1244, allocations: 224.7 kB / 490.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.127, allocations: 1.023 MB / 491.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.127, allocations: 0 / 491.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.1271, allocations: 0 / 491.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.992e-06/0.1271, allocations: 4 kB / 491.5 MB, free: 8.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.1295, allocations: 0.6081 MB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.704e-05/0.1296, allocations: 0 / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.1296, allocations: 0 / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.1297, allocations: 3.984 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.1297, allocations: 0 / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-06/0.1297, allocations: 0 / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1311, allocations: 0.5343 MB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.1312, allocations: 0 / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.1312, allocations: 25.7 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006981/0.132, allocations: 271.5 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.132, allocations: 0 / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.132, allocations: 4 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.132, allocations: 0 / 492.9 MB, free: 6.641 MB / 330.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.0005251/0.1325, allocations: 389.1 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1326, allocations: 12.03 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1326, allocations: 0 / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1328, allocations: 167 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1328, allocations: 0 / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1328, allocations: 3.938 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.1329, allocations: 33.69 kB / 493.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1329, allocations: 4 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.133, allocations: 0 / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.133, allocations: 3.938 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.133, allocations: 0 / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1332, allocations: 149.9 kB / 493.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.1332, allocations: 18.58 kB / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1332, allocations: 3.938 kB / 493.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.1333, allocations: 64.36 kB / 493.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.1333, allocations: 0 / 493.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.1335, allocations: 59.39 kB / 493.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1336, allocations: 81.11 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.1336, allocations: 93.86 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1337, allocations: 25.7 kB / 494 MB, free: 5.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1337, allocations: 150.6 kB / 494.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1338, allocations: 3.938 kB / 494.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1338, allocations: 0 / 494.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1339, allocations: 319 kB / 494.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.1339, allocations: 4 kB / 494.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.134, allocations: 3.938 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.134, allocations: 25.7 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.134, allocations: 0 / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.1341, allocations: 67.36 kB / 494.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.1342, allocations: 29.7 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1342, allocations: 3.984 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1342, allocations: 12.09 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.1342, allocations: 0 / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1343, allocations: 0 / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.1343, allocations: 0 / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1343, allocations: 0 / 494.6 MB, free: 4.695 MB / 330.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.0001015/0.1344, allocations: 139.5 kB / 494.7 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.1344, allocations: 3.953 kB / 494.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.1345, allocations: 3.125 kB / 494.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1345, allocations: 3.938 kB / 494.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1345, allocations: 4 kB / 494.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1345, allocations: 0 / 494.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.1346, allocations: 149.7 kB / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1346, allocations: 0 / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.1346, allocations: 0 / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1347, allocations: 7.891 kB / 494.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1347, allocations: 0 / 494.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1347, allocations: 0 / 494.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1347, allocations: 4 kB / 494.9 MB, free: 4.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1348, allocations: 94.81 kB / 495 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.1349, allocations: 81.11 kB / 495.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1349, allocations: 11.89 kB / 495.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.1349, allocations: 0 / 495.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.135, allocations: 0 / 495.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.135, allocations: 3.984 kB / 495.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.135, allocations: 75.28 kB / 495.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.135, allocations: 0 / 495.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005847/0.1356, allocations: 83.98 kB / 495.2 MB, free: 3.934 MB / 330.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.001215/0.1369, allocations: 367.5 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.137, allocations: 67.34 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.137, allocations: 4 kB / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.1371, allocations: 55.39 kB / 495.7 MB, free: 3.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.1372, allocations: 4 kB / 495.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.1374, allocations: 96.41 kB / 495.8 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1377, allocations: 0.677 MB / 496.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.1378, allocations: 7.438 kB / 496.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1378, allocations: 0 / 496.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of Templates: time 0.009235/0.147, allocations: 3.199 MB / 499.7 MB, free: 15.41 MB / 346.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