Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008538/0.0008539, allocations: 90.27 kB / 17.58 MB, free: 5.805 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.0009704/0.0009705, allocations: 180.5 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 224.6 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.000504, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3483/0.4641, allocations: 60.06 MB / 389 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03685/0.501, allocations: 12.43 MB / 401.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01655/0.5176, allocations: 279.1 kB / 401.7 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.5291, allocations: 3.12 MB / 404.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03495/0.5641, allocations: 9.108 MB / 414 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.569, allocations: 0.6156 MB / 414.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008081/0.5771, allocations: 5.199 MB / 419.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.5883, allocations: 5.851 MB / 425.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.5926, allocations: 1.47 MB / 427.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004924/0.5976, allocations: 2.307 MB / 429.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.5991, allocations: 172 kB / 429.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.6025, allocations: 0.8115 MB / 430.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.6063, allocations: 1.993 MB / 432.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.609, allocations: 1 MB / 433.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.6192, allocations: 6.628 MB / 440 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.6193, allocations: 0 / 440 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.6193, allocations: 1.641 kB / 440 MB, free: 3.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004183/0.6197, allocations: 0 / 440 MB, free: 3.094 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02184/0.6416, allocations: 5.349 MB / 445.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.6416, allocations: 12.03 kB / 445.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008643/0.6503, allocations: 2.047 MB / 447.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008881/0.6592, allocations: 2.708 MB / 450.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005155/0.6598, allocations: 313.5 kB / 450.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/0.6627, allocations: 405.8 kB / 450.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03314/0.6959, allocations: 12.86 MB / 463.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000342/0.6963, allocations: 48.73 kB / 463.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.6983, allocations: 192.2 kB / 463.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004612/0.7029, allocations: 2.372 MB / 466.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02696/0.7299, allocations: 11.71 MB / 478 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07526/0.8053, allocations: 48.6 MB / 0.5143 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/0.822, allocations: 5.571 MB / 0.5197 GB, free: 6.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005059/0.8271, allocations: 3.481 MB / 0.5231 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.8279, allocations: 388.6 kB / 0.5235 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.828, allocations: 55.83 kB / 0.5235 GB, free: 2.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=221): time 8.205e-06/0.828, allocations: 112 / 0.5235 GB, free: 2.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.3133/1.141, allocations: 27.94 MB / 0.5508 GB, free: 160.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.141, allocations: 159.7 kB / 0.551 GB, free: 160.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009319/1.151, allocations: 4.58 MB / 0.5554 GB, free: 158.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008502/1.152, allocations: 61.53 kB / 0.5555 GB, free: 158.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002404/1.154, allocations: 3.587 MB / 0.559 GB, free: 155.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.155, allocations: 0.9438 MB / 0.5599 GB, free: 155.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/1.156, allocations: 139.6 kB / 0.5601 GB, free: 155 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003091/1.156, allocations: 0.6065 MB / 0.5606 GB, free: 154.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/1.161, allocations: 3.439 MB / 0.564 GB, free: 153.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00589/1.167, allocations: 7.502 MB / 0.5713 GB, free: 147 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/1.173, allocations: 4.952 MB / 0.5762 GB, free: 145.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-05/1.173, allocations: 44.58 kB / 0.5762 GB, free: 145.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01955/1.193, allocations: 11.85 MB / 0.5878 GB, free: 136.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.335e-05/1.193, allocations: 64.97 kB / 0.5878 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.193, allocations: 148 kB / 0.588 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/1.195, allocations: 1.145 MB / 0.5891 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006603/1.202, allocations: 1.809 MB / 0.5909 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007298/1.209, allocations: 6.016 MB / 0.5967 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007118/1.216, allocations: 424.9 kB / 0.5972 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.218, allocations: 467.8 kB / 0.5976 GB, free: 125.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (875): * Single equations (assignments): 871 * 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.006364/1.225, allocations: 2.446 MB / 0.6 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.227, allocations: 422.5 kB / 0.6004 GB, free: 123 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.239, allocations: 6.486 MB / 0.6067 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.991e-05/1.239, allocations: 24 kB / 0.6067 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/1.239, allocations: 7.984 kB / 0.6068 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/1.239, allocations: 15.97 kB / 0.6068 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.265, allocations: 13.61 MB / 0.6201 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/1.265, allocations: 4 kB / 0.6201 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.268, allocations: 0.5811 MB / 0.6206 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002282/1.27, allocations: 0.9451 MB / 0.6215 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006184/1.271, allocations: 96.86 kB / 0.6216 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006319/1.277, allocations: 5.723 MB / 0.6272 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.277, allocations: 4.094 kB / 0.6272 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.292, allocations: 10.94 MB / 0.6379 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/1.295, allocations: 0.9367 MB / 0.6388 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/1.296, allocations: 46.69 kB / 0.6389 GB, free: 83.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.299, allocations: 176.5 kB / 0.639 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005652/1.3, allocations: 200.5 kB / 0.6392 GB, free: 82.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004069/1.3, allocations: 108.8 kB / 0.6393 GB, free: 82.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005842/1.306, allocations: 2.868 MB / 0.6421 GB, free: 79.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.306, allocations: 0 / 0.6421 GB, free: 79.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01194/1.318, allocations: 1.275 MB / 0.6434 GB, free: 78.66 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 (225): * Single equations (assignments): 221 * 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.001287/1.319, allocations: 187.8 kB / 0.6436 GB, free: 78.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01281/1.332, allocations: 8.102 MB / 0.6515 GB, free: 70.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.332, allocations: 4.125 kB / 0.6515 GB, free: 70.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004576/1.337, allocations: 3.16 MB / 0.6546 GB, free: 67.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005543/1.342, allocations: 0.4893 MB / 0.655 GB, free: 66.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/1.367, allocations: 15.15 MB / 0.6698 GB, free: 51.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003467/1.371, allocations: 3.795 MB / 0.6735 GB, free: 47.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/1.373, allocations: 483 kB / 0.674 GB, free: 47.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/1.373, allocations: 0 / 0.674 GB, free: 47.2 MB / 446.1 MB Notification: Performance of Templates: time 0.3556/1.728, allocations: 97.61 MB / 0.7693 GB, free: 104.3 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDriveCalcHelperMain.o] Error 1