Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008909, allocations: 98.36 kB / 16.96 MB, free: 5.953 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.001033/0.001033, allocations: 178.6 kB / 17.84 MB, free: 5.617 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.615/1.615, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 8 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.3725/0.5017, allocations: 51.58 MB / 403.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03653/0.5383, allocations: 11.07 MB / 414.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01776/0.5561, allocations: 243.4 kB / 414.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.5682, allocations: 2.696 MB / 417.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02863/0.5969, allocations: 8 MB / 425.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.6013, allocations: 0.6241 MB / 426.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0445/0.6458, allocations: 32.7 MB / 458.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00862/0.6544, allocations: 5.017 MB / 463.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.658, allocations: 1.3 MB / 465.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003841/0.6619, allocations: 1.963 MB / 467.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008201/0.6627, allocations: 144 kB / 467.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.6653, allocations: 0.9518 MB / 468.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.6677, allocations: 1.8 MB / 470 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.6692, allocations: 0.8778 MB / 470.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008272/0.6775, allocations: 5.857 MB / 476.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.6775, allocations: 0 / 476.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6775, allocations: 0 / 476.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003422/0.6779, allocations: 0 / 476.7 MB, free: 7.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01235/0.6902, allocations: 4.321 MB / 481 MB, free: 3.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6903, allocations: 12.03 kB / 481 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008981/0.6993, allocations: 2.228 MB / 483.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007433/0.7068, allocations: 2.745 MB / 486 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.7071, allocations: 250.3 kB / 486.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.7089, allocations: 323.8 kB / 486.6 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/0.7355, allocations: 10.81 MB / 497.4 MB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002978/0.7359, allocations: 43.59 kB / 497.4 MB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.7376, allocations: 163.8 kB / 497.6 MB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004099/0.7417, allocations: 2.146 MB / 499.7 MB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.7632, allocations: 9.188 MB / 0.497 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4251/1.188, allocations: 41.89 MB / 0.5379 GB, free: 128.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.206, allocations: 4.497 MB / 0.5423 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005868/1.212, allocations: 2.487 MB / 0.5447 GB, free: 127.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/1.227, allocations: 7.383 MB / 0.5519 GB, free: 125.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.881e-05/1.227, allocations: 53.94 kB / 0.552 GB, free: 125.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 7.795e-06/1.227, allocations: 0 / 0.552 GB, free: 125.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04955/1.277, allocations: 18.74 MB / 0.5703 GB, free: 117.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/1.277, allocations: 179.6 kB / 0.5704 GB, free: 117.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009313/1.286, allocations: 4.599 MB / 0.5749 GB, free: 112.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005279/1.287, allocations: 52.66 kB / 0.575 GB, free: 112.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.289, allocations: 3.214 MB / 0.5781 GB, free: 109.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.29, allocations: 0.7565 MB / 0.5789 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007498/1.291, allocations: 124 kB / 0.579 GB, free: 108.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005489/1.292, allocations: 0.5783 MB / 0.5796 GB, free: 108.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003817/1.295, allocations: 2.37 MB / 0.5819 GB, free: 105.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005369/1.301, allocations: 6.115 MB / 0.5878 GB, free: 97.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/1.306, allocations: 3.741 MB / 0.5915 GB, free: 94.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.828e-05/1.306, allocations: 36 kB / 0.5915 GB, free: 94.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01439/1.32, allocations: 9.312 MB / 0.6006 GB, free: 85.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/1.32, allocations: 60 kB / 0.6007 GB, free: 85.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.32, allocations: 132 kB / 0.6008 GB, free: 84.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/1.323, allocations: 1.215 MB / 0.602 GB, free: 83.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/1.327, allocations: 1.454 MB / 0.6034 GB, free: 82.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007214/1.334, allocations: 6.775 MB / 0.61 GB, free: 75.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/1.34, allocations: 352.5 kB / 0.6104 GB, free: 75.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.341, allocations: 385 kB / 0.6107 GB, free: 74.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 49 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (772): * Single equations (assignments): 766 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004717/1.346, allocations: 2.234 MB / 0.6129 GB, free: 72.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.347, allocations: 390.8 kB / 0.6133 GB, free: 72.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007357/1.354, allocations: 4.05 MB / 0.6172 GB, free: 67.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/1.354, allocations: 26.72 kB / 0.6173 GB, free: 67.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/1.354, allocations: 4 kB / 0.6173 GB, free: 67.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.354, allocations: 11.97 kB / 0.6173 GB, free: 67.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.373, allocations: 9.612 MB / 0.6267 GB, free: 58.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/1.373, allocations: 8.094 kB / 0.6267 GB, free: 58.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.374, allocations: 319.5 kB / 0.627 GB, free: 57.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.376, allocations: 1.027 MB / 0.628 GB, free: 56.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/1.377, allocations: 39.94 kB / 0.628 GB, free: 56.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007237/1.384, allocations: 6.346 MB / 0.6342 GB, free: 50.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.384, allocations: 11.94 kB / 0.6342 GB, free: 50.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/1.399, allocations: 7.028 MB / 0.6411 GB, free: 43.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/1.402, allocations: 471.8 kB / 0.6415 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001883/1.404, allocations: 47.42 kB / 0.6416 GB, free: 42.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/1.407, allocations: 117.1 kB / 0.6417 GB, free: 42.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005778/1.407, allocations: 133.4 kB / 0.6418 GB, free: 42.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/1.408, allocations: 59.98 kB / 0.6419 GB, free: 42.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007908/1.416, allocations: 2.929 MB / 0.6447 GB, free: 39.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.416, allocations: 0 / 0.6447 GB, free: 39.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01185/1.428, allocations: 1.089 MB / 0.6458 GB, free: 38.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/1.429, allocations: 180.2 kB / 0.646 GB, free: 38.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01399/1.443, allocations: 5.766 MB / 0.6516 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.443, allocations: 0 / 0.6516 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004957/1.448, allocations: 2.048 MB / 0.6536 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/1.454, allocations: 493.4 kB / 0.6541 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/1.486, allocations: 12.46 MB / 0.6663 GB, free: 17.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006727/1.493, allocations: 3.437 MB / 0.6696 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/1.495, allocations: 323.4 kB / 0.6699 GB, free: 13.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/1.495, allocations: 3.938 kB / 0.6699 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Templates: time 0.3996/1.895, allocations: 81.47 MB / 0.7495 GB, free: 156.2 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o] Error 1