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.001102/0.001102, allocations: 96.12 kB / 16.67 MB, free: 6.105 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.001407/0.001407, allocations: 180.4 kB / 17.57 MB, free: 5.82 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.994/1.994, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.284/0.284, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 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.0005926/0.0005926, allocations: 22.41 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1538, allocations: 58.86 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0007231/0.1546, allocations: 224.7 kB / 444.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1564, allocations: 1.172 MB / 445.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.1564, allocations: 0 / 445.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.1565, allocations: 0 / 445.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.885e-06/0.1565, allocations: 0 / 445.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.1584, allocations: 0.6308 MB / 446.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.105e-05/0.1584, allocations: 0 / 446.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.1585, allocations: 4 kB / 446.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.1585, allocations: 3.984 kB / 446.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.932e-05/0.1586, allocations: 4 kB / 446.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.1586, allocations: 0 / 446.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.1609, allocations: 2.601 MB / 448.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-06/0.1609, allocations: 0 / 448.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1609, allocations: 25.7 kB / 448.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1612, allocations: 303.5 kB / 449 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1612, allocations: 4 kB / 449 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1612, allocations: 0 / 449 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.1612, allocations: 0 / 449 MB, free: 204 kB / 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.0003606/0.1616, allocations: 373 kB / 449.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1616, allocations: 12.03 kB / 449.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.1616, allocations: 3.938 kB / 449.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.831e-05/0.1617, allocations: 163.1 kB / 449.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.1617, allocations: 3.938 kB / 449.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.1618, allocations: 4 kB / 449.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.98e-05/0.1618, allocations: 25.7 kB / 449.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1619, allocations: 3.984 kB / 449.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.1619, allocations: 0 / 449.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1619, allocations: 3.938 kB / 449.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.1619, allocations: 7.938 kB / 449.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.162, allocations: 153.6 kB / 449.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.099e-05/0.1621, allocations: 22.59 kB / 449.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.1621, allocations: 4.859 kB / 449.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.1621, allocations: 0 / 449.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1621, allocations: 56.27 kB / 449.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1621, allocations: 0 / 449.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.1623, allocations: 75.39 kB / 449.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1624, allocations: 77.11 kB / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.1624, allocations: 93.8 kB / 450.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1624, allocations: 29.7 kB / 450.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.1625, allocations: 80.14 kB / 450.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1625, allocations: 0 / 450.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.1625, allocations: 9.719 kB / 450.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1627, allocations: 310.8 kB / 450.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-06/0.1627, allocations: 4.125 kB / 450.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.1627, allocations: 4 kB / 450.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.1628, allocations: 60.27 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1628, allocations: 4 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.068e-05/0.1629, allocations: 63.33 kB / 450.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.1629, allocations: 33.7 kB / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1629, allocations: 0 / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.1629, allocations: 0 / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1629, allocations: 0 / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1629, allocations: 4.094 kB / 450.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.163, allocations: 3.938 kB / 450.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.163, allocations: 3.984 kB / 450.7 MB, free: 14.27 MB / 334.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 0.0001026/0.1631, allocations: 148.6 kB / 450.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.1631, allocations: 0 / 450.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.1631, allocations: 3.125 kB / 450.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1631, allocations: 0 / 450.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1631, allocations: 4 kB / 450.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1631, allocations: 3.938 kB / 450.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1633, allocations: 149.7 kB / 451 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1633, allocations: 0 / 451 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.1633, allocations: 7.938 kB / 451 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1633, allocations: 3.938 kB / 451 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1633, allocations: 4 kB / 451 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1633, allocations: 0 / 451 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1633, allocations: 0 / 451 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1634, allocations: 94.7 kB / 451.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1635, allocations: 85.14 kB / 451.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1635, allocations: 0 / 451.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-06/0.1635, allocations: 0 / 451.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.1636, allocations: 3.938 kB / 451.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.1636, allocations: 0 / 451.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.1636, allocations: 75.28 kB / 451.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1636, allocations: 4 kB / 451.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1639, allocations: 47.98 kB / 451.3 MB, free: 13.54 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.001864/0.1658, allocations: 0.5374 MB / 451.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1659, allocations: 59.41 kB / 451.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1659, allocations: 0 / 451.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.166, allocations: 59.34 kB / 452 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1661, allocations: 3.938 kB / 452 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.1664, allocations: 104.5 kB / 452.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1667, allocations: 0.6694 MB / 452.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.1667, allocations: 11.44 kB / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1667, allocations: 0 / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Templates: time 0.005411/0.1722, allocations: 2.575 MB / 455.3 MB, free: 9.484 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