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.0009725/0.0009721, allocations: 96.09 kB / 17.96 MB, free: 5.77 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.001331/0.001332, allocations: 182.9 kB / 18.86 MB, free: 4.902 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.867/1.867, allocations: 205.4 MB / 225.1 MB, free: 13.06 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.0004823/0.0004821, allocations: 16.27 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3623/0.4882, allocations: 64.58 MB / 394.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03731/0.5256, allocations: 13 MB / 407.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01675/0.5424, allocations: 278 kB / 407.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.545, allocations: 0.4979 MB / 408 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007975/0.553, allocations: 1.987 MB / 409.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.555, allocations: 0.6201 MB / 410.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008104/0.5631, allocations: 6.504 MB / 417.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008561/0.5717, allocations: 6.556 MB / 423.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.5746, allocations: 1.365 MB / 425 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.5786, allocations: 2.342 MB / 427.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005892/0.5792, allocations: 172 kB / 427.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.5815, allocations: 0.9466 MB / 428.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.5839, allocations: 2.045 MB / 430.5 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.5865, allocations: 2.417 MB / 432.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.5939, allocations: 6.628 MB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5939, allocations: 0 / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.594, allocations: 0 / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002249/0.5942, allocations: 0 / 439.5 MB, free: 15.58 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01872/0.6129, allocations: 5.3 MB / 444.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.613, allocations: 8.031 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00797/0.6209, allocations: 2.033 MB / 446.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.6272, allocations: 2.773 MB / 449.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.6275, allocations: 298.1 kB / 449.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.6288, allocations: 406.9 kB / 450.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/0.654, allocations: 12.9 MB / 463.2 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/0.6542, allocations: 55.52 kB / 463.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005364/0.6547, allocations: 184.9 kB / 463.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.6591, allocations: 2.368 MB / 465.8 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02542/0.6845, allocations: 11.77 MB / 477.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07785/0.7624, allocations: 48.63 MB / 0.5139 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.7818, allocations: 5.579 MB / 0.5194 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005431/0.7873, allocations: 3.496 MB / 0.5228 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/0.7882, allocations: 379.2 kB / 0.5231 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.7882, allocations: 51.88 kB / 0.5232 GB, free: 13.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 5.149e-06/0.7883, allocations: 8 kB / 0.5232 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.3623/1.151, allocations: 27.96 MB / 0.5505 GB, free: 160 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/1.151, allocations: 161.9 kB / 0.5507 GB, free: 159.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006914/1.158, allocations: 4.607 MB / 0.5552 GB, free: 158.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007983/1.158, allocations: 61.64 kB / 0.5552 GB, free: 158.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.161, allocations: 3.587 MB / 0.5587 GB, free: 155.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001358/1.162, allocations: 0.9444 MB / 0.5596 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007782/1.163, allocations: 0.5874 MB / 0.5602 GB, free: 154.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/1.163, allocations: 304.8 kB / 0.5605 GB, free: 154.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/1.167, allocations: 3.466 MB / 0.5639 GB, free: 153 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006565/1.174, allocations: 7.53 MB / 0.5712 GB, free: 146.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.187, allocations: 11.83 MB / 0.5828 GB, free: 134.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.187, allocations: 40 kB / 0.5828 GB, free: 134.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02226/1.21, allocations: 11.92 MB / 0.5945 GB, free: 122.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/1.21, allocations: 68 kB / 0.5945 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002674/1.21, allocations: 140 kB / 0.5947 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/1.213, allocations: 1.131 MB / 0.5958 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/1.219, allocations: 1.805 MB / 0.5975 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/1.227, allocations: 6.019 MB / 0.6034 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007905/1.234, allocations: 432.5 kB / 0.6038 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/1.236, allocations: 467.8 kB / 0.6043 GB, free: 112.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006528/1.243, allocations: 2.438 MB / 0.6067 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.244, allocations: 422.5 kB / 0.6071 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.255, allocations: 6.493 MB / 0.6134 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/1.255, allocations: 31.94 kB / 0.6134 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.255, allocations: 7.938 kB / 0.6134 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.714e-05/1.256, allocations: 15.28 kB / 0.6135 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02574/1.281, allocations: 13.63 MB / 0.6268 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.281, allocations: 7.438 kB / 0.6268 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/1.284, allocations: 0.5892 MB / 0.6273 GB, free: 88.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002378/1.287, allocations: 0.9411 MB / 0.6283 GB, free: 87.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/1.287, allocations: 92.53 kB / 0.6284 GB, free: 87.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/1.293, allocations: 5.72 MB / 0.6339 GB, free: 81.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.293, allocations: 11.88 kB / 0.6339 GB, free: 81.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/1.309, allocations: 10.94 MB / 0.6446 GB, free: 70.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/1.312, allocations: 0.9445 MB / 0.6456 GB, free: 69.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/1.313, allocations: 44 kB / 0.6456 GB, free: 69.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/1.317, allocations: 179.8 kB / 0.6458 GB, free: 69.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/1.318, allocations: 189.6 kB / 0.6459 GB, free: 69.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/1.318, allocations: 118.2 kB / 0.6461 GB, free: 69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006462/1.325, allocations: 2.895 MB / 0.6489 GB, free: 66.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.325, allocations: 4 kB / 0.6489 GB, free: 66.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008817/1.333, allocations: 1.26 MB / 0.6501 GB, free: 64.85 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/1.335, allocations: 191 kB / 0.6503 GB, free: 64.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01377/1.348, allocations: 8.142 MB / 0.6583 GB, free: 56.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.348, allocations: 3.938 kB / 0.6583 GB, free: 56.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004746/1.353, allocations: 3.174 MB / 0.6614 GB, free: 53.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007748/1.361, allocations: 493.5 kB / 0.6618 GB, free: 52.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/1.39, allocations: 15.7 MB / 0.6772 GB, free: 37.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004679/1.395, allocations: 3.802 MB / 0.6809 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/1.397, allocations: 487.1 kB / 0.6813 GB, free: 32.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/1.397, allocations: 0 / 0.6813 GB, free: 32.78 MB / 446.1 MB Notification: Performance of Templates: time 0.4237/1.821, allocations: 97.36 MB / 0.7764 GB, free: 86.84 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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