Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.00162, allocations: 91.97 kB / 16.95 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.001532/0.001532, allocations: 176.5 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.52/1.52, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 8 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.3651/0.4952, allocations: 44.94 MB / 396.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03527/0.5306, allocations: 9.716 MB / 406.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01499/0.5457, allocations: 208.9 kB / 406.7 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.5577, allocations: 2.326 MB / 409.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03021/0.588, allocations: 6.913 MB / 416 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.5926, allocations: 0.5032 MB / 416.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008894/0.6015, allocations: 4.177 MB / 420.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00961/0.6112, allocations: 4.249 MB / 424.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.6152, allocations: 1.171 MB / 426.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.6193, allocations: 1.83 MB / 427.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.6204, allocations: 132 kB / 428 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.6233, allocations: 0.7801 MB / 428.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.6262, allocations: 1.589 MB / 430.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.6283, allocations: 0.7921 MB / 431.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008541/0.6368, allocations: 5.226 MB / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.6369, allocations: 0 / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.6369, allocations: 0 / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003799/0.6373, allocations: 3.938 kB / 436.4 MB, free: 15.96 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.01906/0.6564, allocations: 4.267 MB / 440.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.6565, allocations: 8.031 kB / 440.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007679/0.6642, allocations: 1.901 MB / 442.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.6701, allocations: 2.19 MB / 444.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.6704, allocations: 225.8 kB / 445 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.672, allocations: 307.8 kB / 445.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/0.6972, allocations: 10.21 MB / 455.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002642/0.6976, allocations: 43.58 kB / 455.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/0.6989, allocations: 143.9 kB / 455.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003624/0.7026, allocations: 1.864 MB / 457.6 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/0.7246, allocations: 9.11 MB / 466.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05994/0.7846, allocations: 38.26 MB / 0.4931 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.7969, allocations: 3.579 MB / 0.4966 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/0.7996, allocations: 1.68 MB / 0.4982 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.8004, allocations: 347.8 kB / 0.4986 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.8005, allocations: 43.12 kB / 0.4986 GB, free: 3.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 5.951e-06/0.8005, allocations: 0 / 0.4986 GB, free: 3.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.04347/0.844, allocations: 12.73 MB / 0.511 GB, free: 6.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.8441, allocations: 145.1 kB / 0.5112 GB, free: 6.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009204/0.8534, allocations: 4.045 MB / 0.5151 GB, free: 2.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004501/0.8538, allocations: 41.89 kB / 0.5152 GB, free: 2.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.8571, allocations: 3.059 MB / 0.5182 GB, free: 15.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.8582, allocations: 0.5441 MB / 0.5187 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000675/0.8589, allocations: 112 kB / 0.5188 GB, free: 14.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0006516/0.8595, allocations: 0.5418 MB / 0.5193 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/0.8636, allocations: 1.955 MB / 0.5212 GB, free: 12.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007367/0.871, allocations: 5.653 MB / 0.5267 GB, free: 4.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005996/0.877, allocations: 3.255 MB / 0.5299 GB, free: 1.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/0.8772, allocations: 40 kB / 0.53 GB, free: 1.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.3333/1.211, allocations: 8.058 MB / 0.5378 GB, free: 106.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.211, allocations: 62 kB / 0.5379 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003075/1.211, allocations: 132.5 kB / 0.538 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/1.214, allocations: 0.9269 MB / 0.5389 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/1.219, allocations: 1.327 MB / 0.5402 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007157/1.226, allocations: 4.851 MB / 0.545 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006384/1.232, allocations: 315.1 kB / 0.5453 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.233, allocations: 370.6 kB / 0.5456 GB, free: 105.5 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.004008/1.238, allocations: 2.009 MB / 0.5476 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/1.238, allocations: 336.6 kB / 0.5479 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/1.243, allocations: 2.777 MB / 0.5506 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.243, allocations: 15.25 kB / 0.5506 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.243, allocations: 3.812 kB / 0.5506 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.243, allocations: 7.266 kB / 0.5506 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.256, allocations: 7.136 MB / 0.5576 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.256, allocations: 0 / 0.5576 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/1.257, allocations: 227 kB / 0.5578 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/1.259, allocations: 0.7108 MB / 0.5585 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.259, allocations: 34.25 kB / 0.5585 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/1.264, allocations: 4.414 MB / 0.5629 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.264, allocations: 4.031 kB / 0.5629 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006897/1.271, allocations: 5.085 MB / 0.5678 GB, free: 99.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.272, allocations: 402.5 kB / 0.5682 GB, free: 99.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008493/1.273, allocations: 20.75 kB / 0.5682 GB, free: 99.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.275, allocations: 79.98 kB / 0.5683 GB, free: 99.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.275, allocations: 88.58 kB / 0.5684 GB, free: 99.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.275, allocations: 45.7 kB / 0.5684 GB, free: 99.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004678/1.28, allocations: 2.521 MB / 0.5709 GB, free: 97.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.28, allocations: 0 / 0.5709 GB, free: 97.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006268/1.286, allocations: 0.9128 MB / 0.5718 GB, free: 96.66 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.000525/1.286, allocations: 150.8 kB / 0.5719 GB, free: 96.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00737/1.294, allocations: 4.664 MB / 0.5765 GB, free: 93.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.294, allocations: 4.062 kB / 0.5765 GB, free: 93.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.296, allocations: 1.353 MB / 0.5778 GB, free: 92.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.299, allocations: 411.3 kB / 0.5782 GB, free: 91.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.317, allocations: 10.44 MB / 0.5884 GB, free: 81.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00424/1.321, allocations: 3.107 MB / 0.5914 GB, free: 78.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009962/1.322, allocations: 301.1 kB / 0.5917 GB, free: 78.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.046e-06/1.322, allocations: 0 / 0.5917 GB, free: 78.03 MB / 446.1 MB Notification: Performance of Templates: time 0.1066/1.429, allocations: 71.16 MB / 0.6612 GB, free: 6.984 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o] Error 1