Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.ServoMotor_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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006469/0.006469, allocations: 100.8 kB / 15.87 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.00118/0.00118, allocations: 188.3 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1634/0.1634, allocations: 5.202 MB / 295.8 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.89 kB / 357.1 MB, free: 2.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 50.56 MB / 407.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.004637/0.1286, allocations: 2.278 MB / 410 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1299, allocations: 0.6273 MB / 410.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.1302, allocations: 4 kB / 410.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1305, allocations: 39.77 kB / 410.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1307, allocations: 31.7 kB / 410.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1311, allocations: 83.92 kB / 410.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1315, allocations: 195.7 kB / 411 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1318, allocations: 104.6 kB / 411.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1319, allocations: 79.7 kB / 411.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1321, allocations: 83.56 kB / 411.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1322, allocations: 16 kB / 411.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.1322, allocations: 12 kB / 411.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.1323, allocations: 27.92 kB / 411.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1324, allocations: 91.52 kB / 411.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1326, allocations: 159.9 kB / 411.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1326, allocations: 8 kB / 411.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1326, allocations: 0 / 411.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1326, allocations: 0 / 411.5 MB, free: 11.83 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000834/0.1335, allocations: 479.9 kB / 412 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1335, allocations: 8.031 kB / 412 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.1336, allocations: 24.66 kB / 412 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1339, allocations: 220.1 kB / 412.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.134, allocations: 20.38 kB / 412.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.134, allocations: 16.38 kB / 412.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.1345, allocations: 220.3 kB / 412.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1345, allocations: 4 kB / 412.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.1346, allocations: 4 kB / 412.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1346, allocations: 4 kB / 412.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.135, allocations: 143.8 kB / 412.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1362, allocations: 0.7848 MB / 413.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1366, allocations: 98.52 kB / 413.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1367, allocations: 48.88 kB / 413.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1367, allocations: 0 / 413.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1368, allocations: 34.5 kB / 413.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1368, allocations: 7.938 kB / 413.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005155/0.1373, allocations: 145.5 kB / 413.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1374, allocations: 81.11 kB / 413.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1375, allocations: 144.2 kB / 414 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1376, allocations: 29.7 kB / 414 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1377, allocations: 143.8 kB / 414.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1377, allocations: 31.64 kB / 414.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.1378, allocations: 29.7 kB / 414.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1379, allocations: 318.8 kB / 414.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1381, allocations: 56.75 kB / 414.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1383, allocations: 98.83 kB / 414.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.1386, allocations: 129.9 kB / 414.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1386, allocations: 0 / 414.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004197/0.139, allocations: 177.3 kB / 415 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1391, allocations: 4 kB / 415 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1391, allocations: 0 / 415 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1391, allocations: 4 kB / 415 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1393, allocations: 31.97 kB / 415 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1393, allocations: 7.938 kB / 415 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1394, allocations: 19.89 kB / 415 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1394, allocations: 8.406 kB / 415 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001865/0.1396, allocations: 128.1 kB / 415.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001587/0.1398, allocations: 82.34 kB / 415.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000222/0.14, allocations: 110 kB / 415.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.1401, allocations: 0 / 415.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003266/0.1404, allocations: 145.5 kB / 415.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1404, allocations: 9.969 kB / 415.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1404, allocations: 11.98 kB / 415.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.1404, allocations: 3.938 kB / 415.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1406, allocations: 27.98 kB / 415.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1406, allocations: 11.92 kB / 415.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1407, allocations: 24.02 kB / 415.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1407, allocations: 8 kB / 415.6 MB, free: 7.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 13 * 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.0001385/0.1409, allocations: 184.2 kB / 415.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1409, allocations: 11.84 kB / 415.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.141, allocations: 8.719 kB / 415.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.141, allocations: 0 / 415.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.141, allocations: 4 kB / 415.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.141, allocations: 3.984 kB / 415.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1413, allocations: 229.6 kB / 416 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1413, allocations: 4 kB / 416 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1415, allocations: 27.92 kB / 416.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1415, allocations: 3.938 kB / 416.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1415, allocations: 7.938 kB / 416.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1415, allocations: 0 / 416.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1415, allocations: 3.984 kB / 416.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.1421, allocations: 251.4 kB / 416.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.1421, allocations: 88.95 kB / 416.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1422, allocations: 4.031 kB / 416.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1423, allocations: 7.984 kB / 416.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1423, allocations: 7.984 kB / 416.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1424, allocations: 0 / 416.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1425, allocations: 115.3 kB / 416.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1425, allocations: 0 / 416.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.1429, allocations: 75.53 kB / 416.6 MB, free: 6.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (6): * Single equations (assignments): 6 * 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.0001474/0.143, allocations: 95.19 kB / 416.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.1435, allocations: 160.3 kB / 416.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1435, allocations: 0 / 416.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1437, allocations: 39.95 kB / 416.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1441, allocations: 36.03 kB / 416.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/0.1451, allocations: 0.5019 MB / 417.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1455, allocations: 0.7204 MB / 418.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.1455, allocations: 11.44 kB / 418.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of SimCode: time 1.654e-06/0.1456, allocations: 0 / 418.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of Templates: time 0.004086/0.1496, allocations: 1.763 MB / 419.9 MB, free: 2.902 MB / 350.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_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.ServoMotor_testCalcHelperMain.o OMCppDeltaRobot_DeltaRobot.Tests.ServoMotor_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppDeltaRobot_DeltaRobot.Tests.ServoMotor_testCalcHelperMain.o] Error 1