Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.0008384, allocations: 95.47 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009595/0.0009595, allocations: 197.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 45.92 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 418.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1767, allocations: 63.46 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0008734/0.1777, allocations: 213.3 kB / 482.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1801, allocations: 1.557 MB / 483.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1802, allocations: 0 / 483.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1802, allocations: 0 / 483.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.516e-06/0.1802, allocations: 4 kB / 483.9 MB, free: 3.598 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:4:3-36:22:writable] Warning: Pure function ‘ModelicaTest.Math.ScalarFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006377/0.1809, allocations: 127.7 kB / 484 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.715e-05/0.1809, allocations: 3.984 kB / 484 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.181, allocations: 4 kB / 484 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.181, allocations: 0 / 484 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.1811, allocations: 7.984 kB / 484 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.1811, allocations: 0 / 484 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.1815, allocations: 95.94 kB / 484.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1815, allocations: 3.984 kB / 484.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.1815, allocations: 25.7 kB / 484.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1817, allocations: 59.92 kB / 484.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.1817, allocations: 7.938 kB / 484.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1817, allocations: 0 / 484.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1817, allocations: 0 / 484.2 MB, free: 3.262 MB / 350.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.0004625/0.1822, allocations: 361.4 kB / 484.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.1823, allocations: 16.03 kB / 484.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.1823, allocations: 0 / 484.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1825, allocations: 174.9 kB / 484.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1825, allocations: 3.938 kB / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1825, allocations: 0 / 484.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1826, allocations: 37.69 kB / 484.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1826, allocations: 0 / 484.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1827, allocations: 0 / 484.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1827, allocations: 0 / 484.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.1827, allocations: 4 kB / 484.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.1829, allocations: 153.6 kB / 484.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.183, allocations: 18.52 kB / 485 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.183, allocations: 4.859 kB / 485 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.183, allocations: 4.094 kB / 485 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/0.1831, allocations: 60.27 kB / 485 MB, free: 2.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1831, allocations: 3.938 kB / 485 MB, free: 2.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.1833, allocations: 67.39 kB / 485.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1834, allocations: 77.11 kB / 485.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.1834, allocations: 89.86 kB / 485.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1835, allocations: 25.7 kB / 485.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.1835, allocations: 80.14 kB / 485.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1835, allocations: 0 / 485.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.1836, allocations: 8 kB / 485.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1837, allocations: 314.8 kB / 485.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1837, allocations: 4.125 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.1837, allocations: 0 / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.1838, allocations: 29.7 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1838, allocations: 3.953 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.928e-05/0.1839, allocations: 59.39 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.1839, allocations: 33.7 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1839, allocations: 0 / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1839, allocations: 0 / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-06/0.1839, allocations: 4 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.184, allocations: 4.094 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.184, allocations: 0 / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.184, allocations: 7.984 kB / 485.8 MB, free: 1.387 MB / 350.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.0001218/0.1841, allocations: 139.5 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.1841, allocations: 3.953 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.1842, allocations: 7.125 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1842, allocations: 0 / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1842, allocations: 3.938 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1842, allocations: 0 / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1843, allocations: 149.7 kB / 486.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1843, allocations: 0 / 486.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-06/0.1843, allocations: 7.891 kB / 486.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1844, allocations: 4 kB / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1844, allocations: 0 / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1844, allocations: 0 / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1844, allocations: 0 / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1845, allocations: 94.73 kB / 486.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1846, allocations: 81.14 kB / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1846, allocations: 7.891 kB / 486.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.1846, allocations: 0 / 486.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.1846, allocations: 4 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1846, allocations: 0 / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.095e-05/0.1847, allocations: 75.28 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1847, allocations: 0 / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000279/0.185, allocations: 43.98 kB / 486.4 MB, free: 0.6719 MB / 350.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.0004376/0.1854, allocations: 173.8 kB / 486.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1855, allocations: 63.41 kB / 486.7 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1855, allocations: 0 / 486.7 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.1856, allocations: 55.41 kB / 486.7 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1857, allocations: 6.016 kB / 486.7 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.1859, allocations: 104.5 kB / 486.8 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1863, allocations: 0.6731 MB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.1863, allocations: 7.438 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1863, allocations: 0 / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Templates: time 0.00338/0.1897, allocations: 1.131 MB / 488.6 MB, free: 14.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.o] Error 1