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.0009885/0.0009887, allocations: 92.16 kB / 16.33 MB, free: 5.938 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.001086/0.001086, allocations: 188.4 kB / 17.22 MB, free: 5.859 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.567/1.567, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.385/0.385, allocations: 43.56 MB / 315.2 MB, free: 8.891 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.0005309/0.000531, allocations: 15.94 kB / 384.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0005599/0.1262, allocations: 220.4 kB / 443.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1278, allocations: 1.078 MB / 444.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.45e-05/0.1279, allocations: 4 kB / 444.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.033e-05/0.1279, allocations: 0 / 444.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.1279, allocations: 0 / 444.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1294, allocations: 0.6355 MB / 445.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.057e-05/0.1294, allocations: 0 / 445.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.1294, allocations: 3.984 kB / 445.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.1295, allocations: 0 / 445.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.72e-05/0.1295, allocations: 0 / 445.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-06/0.1295, allocations: 0 / 445.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.1323, allocations: 2.242 MB / 447.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.1323, allocations: 0 / 447.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.1323, allocations: 29.7 kB / 447.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1327, allocations: 319.5 kB / 447.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1327, allocations: 0 / 447.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1327, allocations: 4 kB / 447.9 MB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1327, allocations: 0 / 447.9 MB, free: 8.516 MB / 382.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.0003899/0.1331, allocations: 385.3 kB / 448.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1332, allocations: 8.031 kB / 448.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1332, allocations: 4 kB / 448.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.966e-05/0.1333, allocations: 171 kB / 448.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1333, allocations: 0 / 448.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1333, allocations: 0 / 448.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.796e-05/0.1334, allocations: 29.7 kB / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.1334, allocations: 0 / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1334, allocations: 0 / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1334, allocations: 0 / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.1335, allocations: 0 / 448.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1336, allocations: 161.5 kB / 448.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.669e-05/0.1336, allocations: 22.59 kB / 448.7 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.1337, allocations: 4.859 kB / 448.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.1337, allocations: 0 / 448.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.1337, allocations: 60.33 kB / 448.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1337, allocations: 0 / 448.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.1339, allocations: 75.27 kB / 448.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.134, allocations: 81.23 kB / 448.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.004e-05/0.134, allocations: 89.86 kB / 449 MB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.134, allocations: 25.7 kB / 449 MB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1341, allocations: 80.14 kB / 449.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.1341, allocations: 7.922 kB / 449.1 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.1341, allocations: 0 / 449.1 MB, free: 7.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1342, allocations: 314.8 kB / 449.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.1342, allocations: 4 kB / 449.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.1342, allocations: 8 kB / 449.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.1343, allocations: 25.7 kB / 449.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1343, allocations: 0 / 449.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.316e-05/0.1344, allocations: 63.39 kB / 449.5 MB, free: 6.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.1344, allocations: 29.7 kB / 449.5 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1344, allocations: 4 kB / 449.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1344, allocations: 3.938 kB / 449.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1344, allocations: 0 / 449.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1344, allocations: 0 / 449.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.1345, allocations: 96 / 449.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1345, allocations: 4 kB / 449.6 MB, free: 6.629 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1346, allocations: 147.5 kB / 449.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1346, allocations: 8 kB / 449.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-06/0.1346, allocations: 3.125 kB / 449.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1346, allocations: 0 / 449.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1346, allocations: 0 / 449.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1346, allocations: 4 kB / 449.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.1347, allocations: 145.6 kB / 449.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1347, allocations: 0 / 449.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-06/0.1348, allocations: 7.984 kB / 449.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1348, allocations: 0 / 449.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1348, allocations: 0 / 449.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1348, allocations: 4 kB / 449.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1348, allocations: 0 / 449.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.195e-05/0.1349, allocations: 86.78 kB / 449.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1349, allocations: 85.05 kB / 450 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1349, allocations: 7.984 kB / 450 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.135, allocations: 4.031 kB / 450 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.135, allocations: 0 / 450 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.135, allocations: 0 / 450 MB, free: 6.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.135, allocations: 75.28 kB / 450.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.135, allocations: 0 / 450.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1353, allocations: 75.92 kB / 450.2 MB, free: 5.879 MB / 382.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 (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.001385/0.1367, allocations: 0.4953 MB / 450.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.1368, allocations: 59.41 kB / 450.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1368, allocations: 0 / 450.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.1369, allocations: 59.39 kB / 450.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.137, allocations: 4 kB / 450.8 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.1372, allocations: 108.3 kB / 450.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1374, allocations: 0.6692 MB / 451.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.1375, allocations: 7.438 kB / 451.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1375, allocations: 0 / 451.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of Templates: time 0.004882/0.1424, allocations: 2.86 MB / 454.4 MB, free: 1.551 MB / 382.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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