Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_test.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008606/0.008606, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002017/0.002016, allocations: 189.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2286/0.2286, allocations: 5.208 MB / 295.8 MB, free: 3.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 51.92 kB / 357.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 50.57 MB / 407.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.007826/0.1372, allocations: 6.392 MB / 414.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006737/0.144, allocations: 4.072 MB / 418.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.1444, allocations: 12 kB / 418.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.1453, allocations: 270.8 kB / 418.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.1471, allocations: 0.7899 MB / 419.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.1475, allocations: 219.7 kB / 419.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.1491, allocations: 1.421 MB / 420.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.1497, allocations: 377.3 kB / 421.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.1501, allocations: 434.4 kB / 421.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000884/0.151, allocations: 0.8177 MB / 422.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.1512, allocations: 60 kB / 422.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2901/0.4413, allocations: 1.015 MB / 423.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007821/0.4421, allocations: 465.1 kB / 424 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009642/0.4431, allocations: 0.5327 MB / 424.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.4451, allocations: 1.364 MB / 425.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4451, allocations: 0 / 425.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4452, allocations: 2.531 kB / 425.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4452, allocations: 0 / 425.9 MB, free: 37.06 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00575/0.4509, allocations: 2.233 MB / 428.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.451, allocations: 9.594 kB / 428.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.453, allocations: 282.7 kB / 428.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.4549, allocations: 1.08 MB / 429.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008444/0.4557, allocations: 274.4 kB / 429.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.4559, allocations: 37.78 kB / 429.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.4714, allocations: 2.51 MB / 432.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.4715, allocations: 2.719 kB / 432.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.4716, allocations: 19.09 kB / 432.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.4716, allocations: 9.531 kB / 432.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/0.4987, allocations: 3.884 MB / 436.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.5027, allocations: 3.063 MB / 439.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/0.5228, allocations: 2.488 MB / 441.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01405/0.5369, allocations: 1.922 MB / 443.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.5372, allocations: 10.77 kB / 443.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5373, allocations: 41.72 kB / 443.8 MB, free: 33.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.5373, allocations: 3.031 kB / 443.8 MB, free: 33.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.04063/0.5779, allocations: 5.557 MB / 449.3 MB, free: 32.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.5781, allocations: 402.5 kB / 449.7 MB, free: 31.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.5811, allocations: 1.488 MB / 451.2 MB, free: 31.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.5814, allocations: 32.83 kB / 451.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.5817, allocations: 397.3 kB / 451.6 MB, free: 30.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.5819, allocations: 108.6 kB / 451.7 MB, free: 30.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/0.5824, allocations: 131.4 kB / 451.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.5825, allocations: 332.8 kB / 452.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01391/0.5964, allocations: 1.975 MB / 454.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/0.6107, allocations: 2.143 MB / 456.3 MB, free: 29.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02627/0.637, allocations: 3.505 MB / 459.8 MB, free: 29.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.637, allocations: 0 / 459.8 MB, free: 29.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02764/0.6647, allocations: 3.962 MB / 463.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.6648, allocations: 5.906 kB / 463.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6648, allocations: 3.594 kB / 463.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.6648, allocations: 4.281 kB / 463.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007139/0.672, allocations: 0.7569 MB / 464.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.672, allocations: 4.562 kB / 464.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007281/0.6793, allocations: 0.7253 MB / 465.3 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.6796, allocations: 29.92 kB / 465.3 MB, free: 27.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.000845/0.6804, allocations: 349.6 kB / 465.6 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004938/0.6809, allocations: 95.47 kB / 465.7 MB, free: 27.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.6811, allocations: 98.77 kB / 465.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6811, allocations: 4.375 kB / 465.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6811, allocations: 2.594 kB / 465.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6811, allocations: 5.453 kB / 465.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.6826, allocations: 1.043 MB / 466.9 MB, free: 26.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6827, allocations: 2.406 kB / 466.9 MB, free: 26.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006832/0.6895, allocations: 0.7087 MB / 467.6 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.6895, allocations: 6.688 kB / 467.6 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.6896, allocations: 13.48 kB / 467.6 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.6896, allocations: 3.781 kB / 467.6 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6897, allocations: 4.75 kB / 467.6 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/0.7158, allocations: 4.151 MB / 471.8 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.7164, allocations: 186.7 kB / 472 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/0.7169, allocations: 12.03 kB / 472 MB, free: 24.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006922/0.7238, allocations: 0.7006 MB / 472.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/0.7244, allocations: 167.2 kB / 472.8 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7245, allocations: 18.64 kB / 472.8 MB, free: 23.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001921/0.7265, allocations: 1.093 MB / 473.9 MB, free: 23.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7265, allocations: 0 / 473.9 MB, free: 23.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001951/0.7284, allocations: 463.3 kB / 474.4 MB, free: 23.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0009447/0.7294, allocations: 381.5 kB / 474.8 MB, free: 22.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.02733/0.7567, allocations: 3.969 MB / 478.7 MB, free: 19.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.7568, allocations: 0 / 478.7 MB, free: 19.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01335/0.7701, allocations: 2.149 MB / 480.9 MB, free: 17.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.7723, allocations: 229.6 kB / 481.1 MB, free: 17.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.7877, allocations: 3.319 MB / 484.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.7883, allocations: 1.081 MB / 485.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.7896, allocations: 71.38 kB / 485.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7896, allocations: 0 / 485.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Templates: time 0.03452/0.8241, allocations: 25.1 MB / 0.4987 GB, free: 3.52 MB / 366.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.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 OMCppDeltaRobot_DeltaRobot.Tests.Trajectory_testCalcHelperMain.o OMCppDeltaRobot_DeltaRobot.Tests.Trajectory_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppDeltaRobot_DeltaRobot.Tests.Trajectory_testCalcHelperMain.o] Error 1