Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 95.62 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 201 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002613, allocations: 4 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.3517/0.4878, allocations: 44.95 MB / 403.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03606/0.5239, allocations: 9.76 MB / 413.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01584/0.5398, allocations: 209 kB / 413.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009904/0.5497, allocations: 2.321 MB / 416 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02625/0.576, allocations: 6.892 MB / 422.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.58, allocations: 0.5109 MB / 423.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007073/0.5871, allocations: 4.233 MB / 427.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008103/0.5952, allocations: 4.246 MB / 431.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.5986, allocations: 1.171 MB / 433.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.6023, allocations: 1.83 MB / 434.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.6035, allocations: 132 kB / 435 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.6063, allocations: 0.7723 MB / 435.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00294/0.6093, allocations: 1.578 MB / 437.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.6114, allocations: 0.796 MB / 438.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007769/0.6192, allocations: 5.218 MB / 443.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.6192, allocations: 4 kB / 443.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.6192, allocations: 0 / 443.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003165/0.6195, allocations: 0 / 443.4 MB, free: 7.188 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01809/0.6377, allocations: 4.287 MB / 447.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.6377, allocations: 8.031 kB / 447.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007868/0.6456, allocations: 1.94 MB / 449.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006496/0.6521, allocations: 2.167 MB / 451.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.6525, allocations: 225.8 kB / 452 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.6542, allocations: 299.8 kB / 452.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02806/0.6822, allocations: 10.22 MB / 462.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003126/0.6826, allocations: 39.59 kB / 462.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/0.6844, allocations: 143.9 kB / 462.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004021/0.6884, allocations: 1.864 MB / 464.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.7103, allocations: 9.104 MB / 473.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05642/0.7668, allocations: 38.25 MB / 0.4999 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.7787, allocations: 3.586 MB / 0.5034 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002582/0.7813, allocations: 1.676 MB / 0.5051 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/0.782, allocations: 359.6 kB / 0.5054 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.7821, allocations: 47.06 kB / 0.5055 GB, free: 10.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.5e-06/0.7821, allocations: 4 kB / 0.5055 GB, free: 10.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04511/0.8273, allocations: 12.72 MB / 0.5179 GB, free: 13.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.8274, allocations: 149.2 kB / 0.518 GB, free: 13.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007597/0.835, allocations: 4.041 MB / 0.522 GB, free: 9.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004355/0.8355, allocations: 45.69 kB / 0.522 GB, free: 9.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002793/0.8383, allocations: 3.047 MB / 0.525 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.8394, allocations: 0.5442 MB / 0.5255 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/0.8399, allocations: 112 kB / 0.5256 GB, free: 5.941 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004706/0.8404, allocations: 0.5497 MB / 0.5262 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/0.8445, allocations: 1.955 MB / 0.5281 GB, free: 3.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3302/1.175, allocations: 5.66 MB / 0.5336 GB, free: 140.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00908/1.184, allocations: 3.246 MB / 0.5368 GB, free: 140.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002461/1.184, allocations: 37.38 kB / 0.5368 GB, free: 140.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.02111/1.205, allocations: 8.065 MB / 0.5447 GB, free: 137.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000188/1.206, allocations: 62.5 kB / 0.5448 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002959/1.206, allocations: 132.8 kB / 0.5449 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/1.209, allocations: 0.9268 MB / 0.5458 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/1.214, allocations: 1.329 MB / 0.5471 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006843/1.221, allocations: 4.85 MB / 0.5518 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/1.226, allocations: 315.4 kB / 0.5521 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.228, allocations: 367.7 kB / 0.5525 GB, free: 134.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (702): * Single equations (assignments): 698 * 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.004441/1.232, allocations: 2.012 MB / 0.5544 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/1.233, allocations: 340 kB / 0.5548 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/1.237, allocations: 2.769 MB / 0.5575 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/1.237, allocations: 19.16 kB / 0.5575 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.238, allocations: 3.812 kB / 0.5575 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.238, allocations: 3.75 kB / 0.5575 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.25, allocations: 7.133 MB / 0.5645 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.25, allocations: 3.625 kB / 0.5645 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009932/1.251, allocations: 210.7 kB / 0.5647 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/1.253, allocations: 0.7132 MB / 0.5654 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.253, allocations: 44.47 kB / 0.5654 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/1.258, allocations: 4.404 MB / 0.5697 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.258, allocations: 7.969 kB / 0.5697 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006554/1.264, allocations: 5.102 MB / 0.5747 GB, free: 120.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.265, allocations: 396.6 kB / 0.5751 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.266, allocations: 27.16 kB / 0.5751 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.267, allocations: 78.31 kB / 0.5752 GB, free: 119.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/1.267, allocations: 84.52 kB / 0.5752 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.267, allocations: 48.91 kB / 0.5753 GB, free: 119.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003838/1.271, allocations: 2.518 MB / 0.5778 GB, free: 117.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.271, allocations: 0 / 0.5778 GB, free: 117.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005411/1.276, allocations: 0.9086 MB / 0.5786 GB, free: 116.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003572/1.277, allocations: 155.5 kB / 0.5788 GB, free: 116 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006495/1.283, allocations: 4.668 MB / 0.5833 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.283, allocations: 0 / 0.5833 GB, free: 111.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.285, allocations: 1.352 MB / 0.5847 GB, free: 110 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.287, allocations: 416.1 kB / 0.5851 GB, free: 109.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.302, allocations: 10.44 MB / 0.5953 GB, free: 99.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.305, allocations: 3.1 MB / 0.5983 GB, free: 96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.306, allocations: 299.3 kB / 0.5986 GB, free: 95.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/1.306, allocations: 0.5469 kB / 0.5986 GB, free: 95.71 MB / 446.1 MB Notification: Performance of Templates: time 0.09279/1.399, allocations: 71.16 MB / 0.6681 GB, free: 24.55 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o] Error 1