Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009683/0.000968, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 51.48 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3595/0.4974, allocations: 59.49 MB / 418.3 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04791/0.5454, allocations: 12.37 MB / 430.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02027/0.5657, allocations: 279.3 kB / 430.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01712/0.5829, allocations: 3.099 MB / 434 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03408/0.617, allocations: 9.04 MB / 443.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006535/0.6236, allocations: 0.6124 MB / 443.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.6343, allocations: 5.042 MB / 448.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.6452, allocations: 5.746 MB / 454.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.6495, allocations: 1.417 MB / 455.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005038/0.6546, allocations: 2.184 MB / 458.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.6562, allocations: 164 kB / 458.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.6593, allocations: 0.7957 MB / 459 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.6627, allocations: 1.897 MB / 460.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.6653, allocations: 0.9634 MB / 461.9 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.6762, allocations: 6.344 MB / 468.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.6762, allocations: 0 / 468.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.311e-06/0.6763, allocations: 0 / 468.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005826/0.6769, allocations: 0 / 468.2 MB, free: 14.3 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02197/0.6988, allocations: 5.228 MB / 473.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.6989, allocations: 8.031 kB / 473.5 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008961/0.7079, allocations: 2.056 MB / 475.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008669/0.7166, allocations: 2.57 MB / 478.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006287/0.7174, allocations: 295.5 kB / 478.4 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/0.7209, allocations: 399.7 kB / 478.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/0.7581, allocations: 12.34 MB / 491.1 MB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002857/0.7584, allocations: 55.52 kB / 491.2 MB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.7598, allocations: 183.8 kB / 491.3 MB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004845/0.7647, allocations: 2.249 MB / 493.6 MB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02921/0.794, allocations: 11.28 MB / 0.493 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.468/1.262, allocations: 46.96 MB / 0.5389 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.282, allocations: 5.341 MB / 0.5441 GB, free: 117.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007237/1.29, allocations: 3.312 MB / 0.5473 GB, free: 117.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007478/1.29, allocations: 381 kB / 0.5477 GB, free: 117.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.896e-05/1.291, allocations: 53.48 kB / 0.5478 GB, free: 117.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 6.573e-06/1.291, allocations: 1.094 kB / 0.5478 GB, free: 117.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07462/1.365, allocations: 26.82 MB / 0.574 GB, free: 106.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.365, allocations: 158.2 kB / 0.5741 GB, free: 106.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007949/1.373, allocations: 4.482 MB / 0.5785 GB, free: 101.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009969/1.374, allocations: 57.7 kB / 0.5785 GB, free: 101.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002875/1.377, allocations: 3.462 MB / 0.5819 GB, free: 98.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/1.379, allocations: 0.878 MB / 0.5828 GB, free: 97.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/1.379, allocations: 136 kB / 0.5829 GB, free: 97.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003324/1.38, allocations: 0.5872 MB / 0.5835 GB, free: 96.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004416/1.384, allocations: 3.273 MB / 0.5867 GB, free: 93.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00717/1.391, allocations: 7.217 MB / 0.5937 GB, free: 84.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007714/1.399, allocations: 4.74 MB / 0.5983 GB, free: 79.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/1.399, allocations: 36 kB / 0.5984 GB, free: 79.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02562/1.425, allocations: 11.4 MB / 0.6095 GB, free: 68.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.425, allocations: 65.22 kB / 0.6096 GB, free: 68.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003199/1.426, allocations: 140 kB / 0.6097 GB, free: 68.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/1.429, allocations: 1.145 MB / 0.6108 GB, free: 67.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007148/1.436, allocations: 1.735 MB / 0.6125 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007637/1.443, allocations: 5.997 MB / 0.6184 GB, free: 59.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007581/1.451, allocations: 408.1 kB / 0.6188 GB, free: 59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002226/1.453, allocations: 456.9 kB / 0.6192 GB, free: 58.55 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.006236/1.46, allocations: 2.358 MB / 0.6215 GB, free: 56.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.461, allocations: 398.8 kB / 0.6219 GB, free: 55.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009587/1.47, allocations: 6.117 MB / 0.6279 GB, free: 49.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.034e-05/1.471, allocations: 28.97 kB / 0.6279 GB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/1.471, allocations: 4 kB / 0.6279 GB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.471, allocations: 11.95 kB / 0.6279 GB, free: 49.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02374/1.494, allocations: 12.92 MB / 0.6405 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.494, allocations: 3.938 kB / 0.6405 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.497, allocations: 0.5343 MB / 0.641 GB, free: 36.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/1.499, allocations: 0.9414 MB / 0.642 GB, free: 35.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005953/1.5, allocations: 87.89 kB / 0.642 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/1.507, allocations: 5.723 MB / 0.6476 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.507, allocations: 0 / 0.6476 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.521, allocations: 10.34 MB / 0.6577 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/1.524, allocations: 0.89 MB / 0.6586 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.525, allocations: 43.98 kB / 0.6586 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002499/1.528, allocations: 162.5 kB / 0.6588 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/1.528, allocations: 185.6 kB / 0.659 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.529, allocations: 99.89 kB / 0.6591 GB, free: 17.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004784/1.533, allocations: 2.803 MB / 0.6618 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.533, allocations: 0 / 0.6618 GB, free: 14.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007881/1.541, allocations: 1.207 MB / 0.663 GB, free: 13.39 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.0007902/1.542, allocations: 194.5 kB / 0.6632 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01195/1.554, allocations: 7.713 MB / 0.6707 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.554, allocations: 0 / 0.6707 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00427/1.558, allocations: 2.97 MB / 0.6736 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/1.563, allocations: 493.9 kB / 0.6741 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.593, allocations: 14.45 MB / 0.6882 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007057/1.6, allocations: 3.659 MB / 0.6918 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/1.603, allocations: 467.1 kB / 0.6922 GB, free: 15.39 MB / 478.1 MB Notification: Performance of SimCode: time 2.756e-06/1.603, allocations: 0 / 0.6922 GB, free: 15.39 MB / 478.1 MB Notification: Performance of Templates: time 0.4081/2.011, allocations: 93.48 MB / 0.7835 GB, free: 102.9 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.o] Error 1