Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_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.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") translateModel(DeltaRobot.Tests.IdealActuatorPos_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007227/0.007227, 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.001424/0.001424, allocations: 192 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.1679/0.1679, allocations: 5.199 MB / 295.8 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.91 kB / 357.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1289, allocations: 50.57 MB / 407.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.IdealActuatorPos_test): time 0.01566/0.1446, allocations: 14.95 MB / 422.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.292/0.4367, allocations: 4.791 MB / 427.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.4405, allocations: 59.34 kB / 427.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.4435, allocations: 1.074 MB / 428.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.4479, allocations: 1.278 MB / 429.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.4495, allocations: 0.5354 MB / 430.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004462/0.454, allocations: 3.731 MB / 434.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.4566, allocations: 1.616 MB / 435.7 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.4584, allocations: 0.7859 MB / 436.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.4604, allocations: 1.353 MB / 437.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003131/0.4607, allocations: 119.5 kB / 438 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.4623, allocations: 0.9244 MB / 438.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007982/0.4632, allocations: 1.071 MB / 440 MB, free: 33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009332/0.4641, allocations: 1.321 MB / 441.3 MB, free: 32.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.4666, allocations: 3.393 MB / 444.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4666, allocations: 0 / 444.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4667, allocations: 0 / 444.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.781e-05/0.4667, allocations: 0 / 444.7 MB, free: 31.2 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: 996 * Number of variables: 996 Notification: Performance of Generate backend data structure: time 0.004958/0.4717, allocations: 3.182 MB / 447.9 MB, free: 29.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4717, allocations: 9.562 kB / 447.9 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.477, allocations: 1.676 MB / 449.6 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.4794, allocations: 1.461 MB / 451 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.4795, allocations: 139.3 kB / 451.2 MB, free: 28.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.4798, allocations: 182.1 kB / 451.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007886/0.4877, allocations: 6.751 MB / 458.1 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/0.4877, allocations: 32.92 kB / 458.1 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.488, allocations: 87.91 kB / 458.2 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.4906, allocations: 1.454 MB / 459.7 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.5018, allocations: 5.996 MB / 465.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03233/0.5342, allocations: 27.58 MB / 493.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.5386, allocations: 2.398 MB / 495.6 MB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.5399, allocations: 1.074 MB / 496.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.54, allocations: 21.94 kB / 496.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.54, allocations: 50.48 kB / 496.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 4.027e-06/0.54, allocations: 0 / 496.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.01941/0.5594, allocations: 7.943 MB / 0.4929 GB, free: 7.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5596, allocations: 166.7 kB / 0.4931 GB, free: 7.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/0.5638, allocations: 2.927 MB / 0.4959 GB, free: 4.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.61e-05/0.5639, allocations: 45.64 kB / 0.496 GB, free: 4.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.5655, allocations: 2.176 MB / 0.4981 GB, free: 1.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.566, allocations: 460.8 kB / 0.4985 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.5671, allocations: 0.9005 MB / 0.4994 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5673, allocations: 313 kB / 0.4997 GB, free: 248 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.5695, allocations: 1.492 MB / 0.5012 GB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004301/0.5738, allocations: 4.328 MB / 0.5054 GB, free: 8.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007158/0.581, allocations: 6.271 MB / 0.5115 GB, free: 1.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.013e-05/0.5811, allocations: 28 kB / 0.5115 GB, free: 1.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008545/0.5896, allocations: 5.596 MB / 0.517 GB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.5897, allocations: 48 kB / 0.517 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/0.5898, allocations: 100 kB / 0.5171 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.5899, allocations: 136 kB / 0.5173 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/0.5937, allocations: 1.236 MB / 0.5185 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001691/0.5939, allocations: 197.4 kB / 0.5187 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.5968, allocations: 257.9 kB / 0.5189 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.5971, allocations: 291.9 kB / 0.5192 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004194/0.6013, allocations: 2.589 MB / 0.5217 GB, free: 6.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004283/0.6056, allocations: 4.324 MB / 0.5259 GB, free: 1.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007214/0.6129, allocations: 6.252 MB / 0.5321 GB, free: 9.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.686e-05/0.6129, allocations: 28 kB / 0.5321 GB, free: 9.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.008873/0.6218, allocations: 5.57 MB / 0.5375 GB, free: 3.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.6219, allocations: 48 kB / 0.5376 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.684e-05/0.622, allocations: 104 kB / 0.5377 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.6221, allocations: 132 kB / 0.5378 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/0.6259, allocations: 1.233 MB / 0.539 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.626, allocations: 199.2 kB / 0.5392 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.6289, allocations: 251.5 kB / 0.5394 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.6293, allocations: 280 kB / 0.5397 GB, free: 1.535 MB / 414.1 MB 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],idealActuatorPos.revolute.cylinderColor[3],idealActuatorPos.revolute.cylinderColor[2],idealActuatorPos.revolute.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * 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.001067/0.6304, allocations: 0.5505 MB / 0.5402 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006685/0.631, allocations: 240.9 kB / 0.5405 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.6333, allocations: 1.307 MB / 0.5417 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.6333, allocations: 16 kB / 0.5417 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6334, allocations: 0 / 0.5417 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.6334, allocations: 3.984 kB / 0.5418 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006958/0.6403, allocations: 4.316 MB / 0.546 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6404, allocations: 4.375 kB / 0.546 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.6421, allocations: 375.4 kB / 0.5463 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.6421, allocations: 4 kB / 0.5463 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/0.6422, allocations: 16 kB / 0.5463 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.6422, allocations: 11.97 kB / 0.5464 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6422, allocations: 4 kB / 0.5464 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.6464, allocations: 3.215 MB / 0.5495 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.6472, allocations: 457.7 kB / 0.5499 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.6475, allocations: 20 kB / 0.55 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/0.6484, allocations: 63.91 kB / 0.55 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.6486, allocations: 54.5 kB / 0.5501 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.6487, allocations: 36.08 kB / 0.5501 GB, free: 6.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002869/0.6515, allocations: 1.827 MB / 0.5519 GB, free: 4.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6515, allocations: 0 / 0.5519 GB, free: 4.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006381/0.6579, allocations: 1.182 MB / 0.553 GB, free: 3.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (idealActuatorPos.revolute.phi,idealActuatorPos.revolute.w,idealActuatorPos.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 (88): * Single equations (assignments): 85 * 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.0003707/0.6583, allocations: 150 kB / 0.5532 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.6685, allocations: 5.937 MB / 0.559 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6685, allocations: 64 / 0.559 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.6698, allocations: 0.8274 MB / 0.5598 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.6717, allocations: 266.5 kB / 0.56 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.6819, allocations: 7.423 MB / 0.5673 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.6839, allocations: 2.296 MB / 0.5695 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007837/0.6847, allocations: 211.4 kB / 0.5697 GB, free: 2.625 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6847, allocations: 0 / 0.5697 GB, free: 2.625 MB / 446.1 MB Notification: Performance of Templates: time 0.289/0.9737, allocations: 38.73 MB / 0.6076 GB, free: 131.9 MB / 462.1 MB make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_test.makefile make -j1 -f DeltaRobot_DeltaRobot.Tests.IdealActuatorPos_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.IdealActuatorPos_testCalcHelperMain.o OMCppDeltaRobot_DeltaRobot.Tests.IdealActuatorPos_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppDeltaRobot_DeltaRobot.Tests.IdealActuatorPos_testCalcHelperMain.o] Error 1