Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 94.86 kB / 16.96 MB, free: 6.02 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.001161/0.001161, allocations: 181.1 kB / 17.85 MB, free: 5.676 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.2 MB / 241.8 MB, free: 240 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.000353, allocations: 11.94 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3771/0.5242, allocations: 59.48 MB / 411.4 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03836/0.5626, allocations: 12.34 MB / 423.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01751/0.5802, allocations: 279.4 kB / 424 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.5925, allocations: 3.106 MB / 427.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03141/0.624, allocations: 9.047 MB / 436.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00503/0.629, allocations: 0.6163 MB / 436.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00889/0.6379, allocations: 4.975 MB / 441.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.6498, allocations: 5.755 MB / 447.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.6549, allocations: 1.413 MB / 448.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.6599, allocations: 2.184 MB / 451.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.6614, allocations: 160 kB / 451.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.6646, allocations: 0.823 MB / 452 MB, free: 260 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00347/0.6681, allocations: 1.893 MB / 453.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00265/0.6707, allocations: 0.9595 MB / 454.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.6808, allocations: 6.344 MB / 461.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6809, allocations: 0 / 461.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6809, allocations: 3.938 kB / 461.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003996/0.6813, allocations: 0 / 461.2 MB, free: 7.023 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02129/0.7026, allocations: 5.186 MB / 466.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.7027, allocations: 12.03 kB / 466.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008277/0.711, allocations: 2.013 MB / 468.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/0.7193, allocations: 2.589 MB / 471 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/0.7198, allocations: 295.5 kB / 471.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.7222, allocations: 399.6 kB / 471.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03138/0.7536, allocations: 12.36 MB / 484.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/0.754, allocations: 47.59 kB / 484.1 MB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/0.7559, allocations: 179.8 kB / 484.3 MB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004586/0.7605, allocations: 2.256 MB / 486.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/0.787, allocations: 11.27 MB / 497.8 MB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08393/0.871, allocations: 46.96 MB / 0.532 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2631/1.134, allocations: 5.353 MB / 0.5373 GB, free: 151.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00589/1.14, allocations: 3.312 MB / 0.5405 GB, free: 150.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/1.141, allocations: 376.5 kB / 0.5408 GB, free: 150 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.141, allocations: 51.84 kB / 0.5409 GB, free: 150 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 8.046e-06/1.141, allocations: 0 / 0.5409 GB, free: 150 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06344/1.204, allocations: 26.82 MB / 0.5671 GB, free: 138 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/1.205, allocations: 154.2 kB / 0.5672 GB, free: 137.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.21, allocations: 4.475 MB / 0.5716 GB, free: 133.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004202/1.21, allocations: 58.48 kB / 0.5717 GB, free: 133.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.212, allocations: 3.47 MB / 0.575 GB, free: 129.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/1.213, allocations: 0.8772 MB / 0.5759 GB, free: 128.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/1.213, allocations: 137.4 kB / 0.576 GB, free: 128.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000277/1.213, allocations: 0.591 MB / 0.5766 GB, free: 128.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.217, allocations: 3.271 MB / 0.5798 GB, free: 124.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/1.223, allocations: 7.225 MB / 0.5869 GB, free: 115.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005591/1.228, allocations: 4.733 MB / 0.5915 GB, free: 111.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.324e-05/1.228, allocations: 40 kB / 0.5915 GB, free: 111.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01682/1.245, allocations: 11.39 MB / 0.6026 GB, free: 99.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.926e-05/1.245, allocations: 64 kB / 0.6027 GB, free: 99.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.246, allocations: 140 kB / 0.6028 GB, free: 99.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/1.248, allocations: 1.144 MB / 0.604 GB, free: 98.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005852/1.254, allocations: 1.731 MB / 0.6056 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/1.26, allocations: 6.003 MB / 0.6115 GB, free: 90.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006164/1.266, allocations: 403.6 kB / 0.6119 GB, free: 90.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.267, allocations: 456.6 kB / 0.6123 GB, free: 89.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (837): * Single equations (assignments): 833 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004538/1.272, allocations: 2.357 MB / 0.6146 GB, free: 87.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/1.273, allocations: 401.6 kB / 0.615 GB, free: 86.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008558/1.281, allocations: 6.121 MB / 0.621 GB, free: 80.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/1.281, allocations: 24 kB / 0.621 GB, free: 80.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.282, allocations: 4 kB / 0.621 GB, free: 80.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.282, allocations: 11.95 kB / 0.621 GB, free: 80.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.3, allocations: 12.93 MB / 0.6337 GB, free: 67.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.3, allocations: 3.953 kB / 0.6337 GB, free: 67.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.302, allocations: 0.5346 MB / 0.6342 GB, free: 67.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/1.305, allocations: 0.9519 MB / 0.6351 GB, free: 66.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/1.305, allocations: 87.83 kB / 0.6352 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006028/1.311, allocations: 5.714 MB / 0.6408 GB, free: 60.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.311, allocations: 7.953 kB / 0.6408 GB, free: 60.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.324, allocations: 10.34 MB / 0.6509 GB, free: 49.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003145/1.327, allocations: 0.89 MB / 0.6517 GB, free: 48.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.329, allocations: 43.98 kB / 0.6518 GB, free: 48.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.331, allocations: 164.9 kB / 0.6519 GB, free: 48.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004342/1.331, allocations: 185.6 kB / 0.6521 GB, free: 48.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.332, allocations: 100.8 kB / 0.6522 GB, free: 48.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004445/1.336, allocations: 2.803 MB / 0.655 GB, free: 45.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.336, allocations: 0 / 0.655 GB, free: 45.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006536/1.343, allocations: 1.207 MB / 0.6561 GB, free: 44.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005566/1.343, allocations: 189.7 kB / 0.6563 GB, free: 44.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.354, allocations: 7.711 MB / 0.6638 GB, free: 36.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.354, allocations: 0 / 0.6638 GB, free: 36.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.358, allocations: 2.974 MB / 0.6668 GB, free: 33.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.361, allocations: 492.8 kB / 0.6672 GB, free: 33.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.382, allocations: 14.45 MB / 0.6813 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/1.386, allocations: 3.658 MB / 0.6849 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.388, allocations: 475 kB / 0.6854 GB, free: 14.47 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/1.388, allocations: 0 / 0.6854 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Templates: time 0.4187/1.806, allocations: 93.46 MB / 0.7766 GB, free: 72.24 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.o] Error 1