Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr StewartPlatform_StewartPlatform.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/StewartPlatform 1.0.2/package.mo", uses=false) Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 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(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009804/0.0009805, allocations: 191.1 kB / 16.79 MB, free: 6.812 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.197/1.197, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1249/0.1249, allocations: 6.478 MB / 297.1 MB, free: 2.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.91 kB / 358.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09408/0.09512, allocations: 50.85 MB / 409.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.007677/0.1028, allocations: 7.575 MB / 417.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.1098, allocations: 5.301 MB / 422.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004511/0.1103, allocations: 20 kB / 422.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.111, allocations: 326.3 kB / 422.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1604/0.2715, allocations: 1.523 MB / 424.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.2721, allocations: 290.8 kB / 424.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.2774, allocations: 6.398 MB / 431 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.2781, allocations: 0.7499 MB / 431.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.2788, allocations: 0.69 MB / 432.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.2797, allocations: 1.32 MB / 433.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.28, allocations: 85.25 kB / 433.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2817, allocations: 1.183 MB / 435 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.2823, allocations: 1.033 MB / 436 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.2831, allocations: 1.072 MB / 437.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2846, allocations: 2.415 MB / 439.5 MB, free: 34.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2846, allocations: 0.6562 kB / 439.5 MB, free: 34.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2846, allocations: 3.219 kB / 439.5 MB, free: 34.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.2847, allocations: 0 / 439.5 MB, free: 34.65 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.006422/0.2911, allocations: 3.625 MB / 443.1 MB, free: 32.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2911, allocations: 9.375 kB / 443.1 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.2932, allocations: 441.2 kB / 443.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.2961, allocations: 2.562 MB / 446.1 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008066/0.297, allocations: 310.2 kB / 446.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.2971, allocations: 76.25 kB / 446.5 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.3117, allocations: 3.106 MB / 449.6 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3117, allocations: 3.375 kB / 449.6 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.3119, allocations: 40.22 kB / 449.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.3119, allocations: 37 kB / 449.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02605/0.338, allocations: 4.395 MB / 454.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/0.3436, allocations: 5.689 MB / 459.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/0.3633, allocations: 2.862 MB / 462.6 MB, free: 25.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01389/0.3772, allocations: 2.151 MB / 464.8 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.3775, allocations: 19.67 kB / 464.8 MB, free: 24.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3775, allocations: 66.12 kB / 464.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.256e-06/0.3775, allocations: 0 / 464.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.03995/0.4175, allocations: 6.2 MB / 471.1 MB, free: 22.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.4176, allocations: 0.7026 MB / 471.8 MB, free: 21.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/0.4222, allocations: 3.358 MB / 475.1 MB, free: 20.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.4225, allocations: 36.42 kB / 475.2 MB, free: 20.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/0.4231, allocations: 0.9572 MB / 476.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.4233, allocations: 157.5 kB / 476.3 MB, free: 19.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.4239, allocations: 240.6 kB / 476.5 MB, free: 19.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.4239, allocations: 345.8 kB / 476.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/0.4373, allocations: 2.289 MB / 479.1 MB, free: 17.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01338/0.4507, allocations: 2.585 MB / 481.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0248/0.4755, allocations: 4.106 MB / 485.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.4756, allocations: 0 / 485.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.02654/0.5021, allocations: 4.84 MB / 490.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5022, allocations: 8 kB / 490.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.5022, allocations: 4 kB / 490.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.5022, allocations: 16 kB / 490.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007258/0.5095, allocations: 0.8572 MB / 491.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/0.5095, allocations: 14.36 kB / 491.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/0.5179, allocations: 0.8094 MB / 492.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.5181, allocations: 39.98 kB / 492.4 MB, free: 4.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (99): * Single equations (assignments): 98 * Array equations: 1 * 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.00113/0.5193, allocations: 0.7236 MB / 493.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/0.5199, allocations: 229.2 kB / 493.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.5202, allocations: 245.5 kB / 493.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5202, allocations: 8 kB / 493.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5202, allocations: 8 kB / 493.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5202, allocations: 7.984 kB / 493.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.5228, allocations: 1.693 MB / 495.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5229, allocations: 4 kB / 495.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006808/0.5297, allocations: 0.7759 MB / 496.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.5297, allocations: 11.94 kB / 496.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.5298, allocations: 15.98 kB / 496.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.5298, allocations: 11.69 kB / 496.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5298, allocations: 8 kB / 496.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02836/0.5582, allocations: 5.519 MB / 0.4899 GB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.5589, allocations: 358.1 kB / 0.4903 GB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.5594, allocations: 16 kB / 0.4903 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/0.5694, allocations: 0.7486 MB / 0.491 GB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008017/0.5702, allocations: 183.7 kB / 0.4912 GB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/0.5704, allocations: 23.98 kB / 0.4912 GB, free: 9.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004458/0.5749, allocations: 2.42 MB / 0.4936 GB, free: 7.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.5749, allocations: 0 / 0.4936 GB, free: 7.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003292/0.5782, allocations: 0.7222 MB / 0.4943 GB, free: 6.605 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (44): * Single equations (assignments): 44 * 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.001565/0.5798, allocations: 0.5213 MB / 0.4948 GB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.03156/0.6114, allocations: 4.508 MB / 0.4992 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.6114, allocations: 4 kB / 0.4992 GB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01473/0.6262, allocations: 2.786 MB / 0.5019 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005497/0.6317, allocations: 1.001 MB / 0.5029 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.6448, allocations: 5.6 MB / 0.5084 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.6462, allocations: 1.702 MB / 0.51 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.6476, allocations: 150.7 kB / 0.5102 GB, free: 6.273 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6476, allocations: 0 / 0.5102 GB, free: 6.273 MB / 382.1 MB Notification: Performance of Templates: time 0.05276/0.7004, allocations: 43.81 MB / 0.5529 GB, free: 10.49 MB / 430.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Trajectory_test.makefile make -j1 -f StewartPlatform_StewartPlatform.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 OMCppStewartPlatform_StewartPlatform.Tests.Trajectory_testCalcHelperMain.o OMCppStewartPlatform_StewartPlatform.Tests.Trajectory_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppStewartPlatform_StewartPlatform.Tests.Trajectory_testCalcHelperMain.o] Error 1