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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 103.6 kB / 16.52 MB, free: 6.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 191.7 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2716/0.2716, allocations: 43.52 MB / 314.1 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 69.77 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1375, allocations: 57.79 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001944/0.1394, allocations: 0.5583 MB / 441 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1414, allocations: 1.2 MB / 442.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.1414, allocations: 0 / 442.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.1414, allocations: 0 / 442.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1415, allocations: 0 / 442.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1431, allocations: 0.623 MB / 442.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.673e-05/0.1432, allocations: 3.984 kB / 442.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1432, allocations: 0 / 442.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.1433, allocations: 8 kB / 442.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/0.1433, allocations: 7.984 kB / 442.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.1433, allocations: 0 / 442.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.1459, allocations: 2.585 MB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1459, allocations: 4 kB / 445.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.1459, allocations: 7.938 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.1462, allocations: 287.7 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1462, allocations: 0 / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1462, allocations: 0 / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1462, allocations: 3.938 kB / 445.7 MB, free: 2.254 MB / 318.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.0004133/0.1466, allocations: 392.9 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.1467, allocations: 8.031 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1468, allocations: 3.938 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.1468, allocations: 159.1 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1469, allocations: 4 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1469, allocations: 4 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.147, allocations: 29.7 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.147, allocations: 0 / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.147, allocations: 0 / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.147, allocations: 0 / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.1471, allocations: 11.92 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.1472, allocations: 145.7 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.1473, allocations: 22.61 kB / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.1473, allocations: 8.859 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.1473, allocations: 7.922 kB / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.1473, allocations: 60.27 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1473, allocations: 0 / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001999/0.1476, allocations: 67.33 kB / 446.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1476, allocations: 77.23 kB / 446.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.082e-05/0.1477, allocations: 97.8 kB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1477, allocations: 29.7 kB / 446.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.1477, allocations: 80.14 kB / 446.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1477, allocations: 4 kB / 446.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.1478, allocations: 9.719 kB / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.1478, allocations: 314.8 kB / 447.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-06/0.1478, allocations: 4 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.1478, allocations: 0 / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.1479, allocations: 64.33 kB / 447.3 MB, free: 436 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1479, allocations: 0 / 447.3 MB, free: 436 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.669e-05/0.148, allocations: 67.34 kB / 447.4 MB, free: 356 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.148, allocations: 33.69 kB / 447.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.148, allocations: 0 / 447.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.148, allocations: 4 kB / 447.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.148, allocations: 0 / 447.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.148, allocations: 0 / 447.4 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1481, allocations: 11.88 kB / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1481, allocations: 4.031 kB / 447.4 MB, free: 296 kB / 318.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 6.351e-05/0.1481, allocations: 136.6 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.1482, allocations: 4 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.1482, allocations: 3.125 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1482, allocations: 3.984 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1482, allocations: 0 / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1482, allocations: 3.938 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1483, allocations: 145.7 kB / 447.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1483, allocations: 0 / 447.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.1483, allocations: 8 kB / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1483, allocations: 0 / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1483, allocations: 0 / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1484, allocations: 0 / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1484, allocations: 0 / 447.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.1485, allocations: 98.7 kB / 447.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1485, allocations: 77.11 kB / 447.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1486, allocations: 3.984 kB / 447.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.1486, allocations: 4.031 kB / 447.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1486, allocations: 7.938 kB / 447.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.1486, allocations: 0 / 447.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.1486, allocations: 79.22 kB / 448 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1486, allocations: 0 / 448 MB, free: 15.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000337/0.149, allocations: 51.98 kB / 448 MB, free: 15.57 MB / 334.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.001815/0.1508, allocations: 0.5245 MB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.151, allocations: 67.39 kB / 448.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.151, allocations: 0 / 448.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.151, allocations: 55.41 kB / 448.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1512, allocations: 0 / 448.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.1514, allocations: 100.4 kB / 448.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1517, allocations: 0.6731 MB / 449.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.1517, allocations: 11.44 kB / 449.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1517, allocations: 0 / 449.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Templates: time 0.005004/0.1567, allocations: 2.583 MB / 452.1 MB, free: 11.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvgCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvgCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvgCalcHelperMain.o] Error 1