Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_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.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") translateModel(DeltaRobot.Tests.IdealActuatorVel_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 98.88 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.00163/0.00163, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.518/1.518, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.2194/0.2194, allocations: 5.2 MB / 297.3 MB, free: 4.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 12 kB / 359.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 51.55 MB / 411.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorVel_test): time 0.2831/0.402, allocations: 14.28 MB / 425.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.4127, allocations: 4.658 MB / 430.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.4153, allocations: 54.97 kB / 430.1 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.4163, allocations: 351 kB / 430.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003845/0.4202, allocations: 1.285 MB / 431.7 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.4219, allocations: 496.8 kB / 432.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006005/0.4279, allocations: 3.681 MB / 435.9 MB, free: 33.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003916/0.4318, allocations: 2.114 MB / 438 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.4335, allocations: 0.6953 MB / 438.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.4355, allocations: 1.243 MB / 440 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.4358, allocations: 86.62 kB / 440.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.4379, allocations: 0.8959 MB / 440.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.439, allocations: 1.029 MB / 442 MB, free: 32.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.4404, allocations: 1.275 MB / 443.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.4451, allocations: 3.286 MB / 446.5 MB, free: 30.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4451, allocations: 4 kB / 446.5 MB, free: 30.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.4451, allocations: 0 / 446.5 MB, free: 30.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.4453, allocations: 0 / 446.5 MB, free: 30.71 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.008904/0.4542, allocations: 2.617 MB / 449.2 MB, free: 29.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.4543, allocations: 17.12 kB / 449.2 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/0.4614, allocations: 1.72 MB / 450.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/0.4663, allocations: 1.449 MB / 452.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.4666, allocations: 141.3 kB / 452.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009258/0.4676, allocations: 178.4 kB / 452.7 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.4814, allocations: 6.723 MB / 459.4 MB, free: 24.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4816, allocations: 32.03 kB / 459.4 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/0.4819, allocations: 89.81 kB / 459.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/0.4848, allocations: 1.458 MB / 461 MB, free: 24.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.4998, allocations: 5.985 MB / 466.9 MB, free: 22.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04097/0.5408, allocations: 27.48 MB / 494.4 MB, free: 17.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00484/0.5457, allocations: 2.384 MB / 496.8 MB, free: 16.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.5474, allocations: 1.069 MB / 497.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.5475, allocations: 11.73 kB / 497.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5475, allocations: 50.91 kB / 497.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 5.541e-06/0.5476, allocations: 224 / 497.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=109): time 0.01991/0.5675, allocations: 7.861 MB / 0.4939 GB, free: 7.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.5676, allocations: 140.9 kB / 0.4941 GB, free: 7.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006455/0.5741, allocations: 2.914 MB / 0.4969 GB, free: 4.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.5743, allocations: 41.7 kB / 0.497 GB, free: 4.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.5767, allocations: 2.177 MB / 0.4991 GB, free: 2.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007566/0.5775, allocations: 445.7 kB / 0.4995 GB, free: 1.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008785/0.5784, allocations: 379.5 kB / 0.4999 GB, free: 1.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5785, allocations: 313 kB / 0.5002 GB, free: 1.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.5816, allocations: 1.457 MB / 0.5016 GB, free: 15.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005109/0.5867, allocations: 4.315 MB / 0.5058 GB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/0.602, allocations: 8.095 MB / 0.5137 GB, free: 492 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/0.6023, allocations: 32 kB / 0.5138 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01322/0.6155, allocations: 5.584 MB / 0.5192 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.6157, allocations: 48 kB / 0.5192 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/0.6159, allocations: 100.8 kB / 0.5193 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.6161, allocations: 136 kB / 0.5195 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/0.6213, allocations: 1.232 MB / 0.5207 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002423/0.6215, allocations: 203.2 kB / 0.5209 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.6261, allocations: 243.6 kB / 0.5211 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.6272, allocations: 280 kB / 0.5214 GB, free: 8.645 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: idealActuatorVel.revolute.phi:VARIABLE(start = idealActuatorVel.actuatorParameters.initialAngle unit = "rad" fixed = true stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real idealActuatorVel.revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],idealActuatorVel.revolute.cylinderColor[3],idealActuatorVel.revolute.cylinderColor[2],idealActuatorVel.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (556): * Single equations (assignments): 553 * Array equations: 3 * 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.004365/0.6316, allocations: 1.463 MB / 0.5228 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.6324, allocations: 236.9 kB / 0.523 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.6356, allocations: 1.288 MB / 0.5243 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/0.6357, allocations: 12 kB / 0.5243 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.6357, allocations: 0 / 0.5243 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.6357, allocations: 7.984 kB / 0.5243 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6469, allocations: 4.255 MB / 0.5285 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.647, allocations: 0 / 0.5285 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/0.6491, allocations: 379.3 kB / 0.5288 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.629e-05/0.6491, allocations: 4 kB / 0.5288 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.6493, allocations: 20 kB / 0.5288 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-05/0.6493, allocations: 8.219 kB / 0.5289 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6493, allocations: 4.031 kB / 0.5289 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.6545, allocations: 3.176 MB / 0.532 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.6557, allocations: 313.7 kB / 0.5323 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007472/0.6564, allocations: 12 kB / 0.5323 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.6579, allocations: 71.91 kB / 0.5323 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.6581, allocations: 58.2 kB / 0.5324 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.6582, allocations: 32 kB / 0.5324 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004642/0.6628, allocations: 1.811 MB / 0.5342 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6629, allocations: 0 / 0.5342 GB, free: 11.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005449/0.6683, allocations: 0.6406 MB / 0.5348 GB, free: 10.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorVel.revolute.phi,idealActuatorVel.revolute.w,idealActuatorVel.firstOrder.y) * 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 (87): * Single equations (assignments): 84 * Array equations: 3 * 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.0007281/0.6691, allocations: 148.9 kB / 0.535 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007548/0.6766, allocations: 3.313 MB / 0.5382 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.6767, allocations: 4 kB / 0.5382 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.6782, allocations: 0.8157 MB / 0.539 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.6815, allocations: 265.9 kB / 0.5392 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.6961, allocations: 7.379 MB / 0.5465 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003578/0.6998, allocations: 2.291 MB / 0.5487 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.7009, allocations: 207.4 kB / 0.5489 GB, free: 12.31 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7009, allocations: 3.938 kB / 0.5489 GB, free: 12.3 MB / 430.1 MB Notification: Performance of Templates: time 0.3317/1.033, allocations: 37.86 MB / 0.5859 GB, free: 112.5 MB / 446.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_test.makefile make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorVel_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.IdealActuatorVel_testCalcHelperMain.o OMCppDeltaRobot_DeltaRobot.Tests.IdealActuatorVel_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppDeltaRobot_DeltaRobot.Tests.IdealActuatorVel_testCalcHelperMain.o] Error 1