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.001038/0.001038, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.474/1.474, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1754/0.1754, allocations: 5.195 MB / 297.3 MB, free: 4.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003696, allocations: 8 kB / 359.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 51.56 MB / 411.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.002753/0.1367, allocations: 1.916 MB / 413.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1378, allocations: 0.6157 MB / 413.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1379, allocations: 4 kB / 413.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1382, allocations: 35.77 kB / 413.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.96e-05/0.1383, allocations: 35.69 kB / 413.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1386, allocations: 79.92 kB / 413.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.1389, allocations: 211.6 kB / 414 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1391, allocations: 96.62 kB / 414.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1393, allocations: 55.73 kB / 414.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1394, allocations: 67.64 kB / 414.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1394, allocations: 8 kB / 414.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.1395, allocations: 11.94 kB / 414.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.1395, allocations: 31.84 kB / 414.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.1396, allocations: 101.2 kB / 414.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1398, allocations: 159.8 kB / 414.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1398, allocations: 4 kB / 414.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1398, allocations: 0 / 414.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1398, allocations: 0 / 414.6 MB, free: 10.44 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.0007074/0.1405, allocations: 450.9 kB / 415 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.1406, allocations: 8.031 kB / 415 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.1407, allocations: 20.75 kB / 415 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.141, allocations: 229 kB / 415.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.141, allocations: 16.38 kB / 415.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.1411, allocations: 32.2 kB / 415.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.1416, allocations: 228.4 kB / 415.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1416, allocations: 4 kB / 415.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1416, allocations: 4 kB / 415.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1416, allocations: 4 kB / 415.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.142, allocations: 163.8 kB / 415.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1432, allocations: 0.7733 MB / 416.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.1436, allocations: 126.4 kB / 416.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1437, allocations: 48.95 kB / 416.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1438, allocations: 4 kB / 416.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1438, allocations: 34.5 kB / 416.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.1438, allocations: 0 / 416.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005667/0.1444, allocations: 177.5 kB / 416.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.1445, allocations: 81.11 kB / 416.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1446, allocations: 151.9 kB / 417.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1447, allocations: 29.7 kB / 417.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1448, allocations: 151.6 kB / 417.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1448, allocations: 23.73 kB / 417.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1449, allocations: 21.72 kB / 417.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.145, allocations: 318.8 kB / 417.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1451, allocations: 47.97 kB / 417.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.1454, allocations: 118.8 kB / 417.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.1457, allocations: 153.9 kB / 417.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1457, allocations: 0 / 417.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004048/0.1462, allocations: 189.2 kB / 418.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/0.1463, allocations: 134.3 kB / 418.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1463, allocations: 0 / 418.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1463, allocations: 4 kB / 418.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1465, allocations: 43.91 kB / 418.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1465, allocations: 4 kB / 418.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1466, allocations: 23.92 kB / 418.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1467, allocations: 4 kB / 418.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.1467, allocations: 4 kB / 418.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002723/0.1469, allocations: 116.1 kB / 418.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.147, allocations: 0 / 418.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.147, allocations: 11.94 kB / 418.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1471, allocations: 31.92 kB / 418.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1471, allocations: 4.172 kB / 418.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.1472, allocations: 27.84 kB / 418.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1472, allocations: 4 kB / 418.5 MB, free: 6.152 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.000158/0.1474, allocations: 209 kB / 418.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1474, allocations: 11.91 kB / 418.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1475, allocations: 16.66 kB / 418.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1475, allocations: 0 / 418.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1475, allocations: 0 / 418.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1475, allocations: 4 kB / 418.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1478, allocations: 229.6 kB / 419 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1478, allocations: 0 / 419 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1479, allocations: 31.97 kB / 419 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1479, allocations: 4 kB / 419 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.148, allocations: 7.875 kB / 419 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.148, allocations: 0 / 419 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.148, allocations: 160 / 419 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.1485, allocations: 291.3 kB / 419.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.1486, allocations: 89.03 kB / 419.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1486, allocations: 3.938 kB / 419.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1488, allocations: 20.05 kB / 419.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1488, allocations: 0 / 419.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1488, allocations: 4 kB / 419.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.1489, allocations: 111.2 kB / 419.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1489, allocations: 0 / 419.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.1493, allocations: 79.53 kB / 419.6 MB, free: 4.969 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.0001493/0.1495, allocations: 91.25 kB / 419.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.15, allocations: 184.4 kB / 419.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.15, allocations: 4 kB / 419.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1501, allocations: 43.97 kB / 419.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1506, allocations: 36.67 kB / 419.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.1515, allocations: 0.569 MB / 420.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1519, allocations: 0.7203 MB / 421.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.1519, allocations: 15.44 kB / 421.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1519, allocations: 0 / 421.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of Templates: time 0.003885/0.1558, allocations: 1.737 MB / 423 MB, free: 1.516 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