Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0009583/0.0009586, allocations: 88.91 kB / 17.58 MB, free: 5.742 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.001119/0.001119, allocations: 182.5 kB / 18.48 MB, free: 5.195 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.636/1.636, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004643/0.0004644, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04292/0.1603, allocations: 45.51 MB / 374.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2691/0.4294, allocations: 9.796 MB / 384.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.4395, allocations: 207.8 kB / 384.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007784/0.4473, allocations: 2.343 MB / 386.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02367/0.471, allocations: 6.975 MB / 393.8 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.4745, allocations: 0.5089 MB / 394.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008182/0.4827, allocations: 4.382 MB / 398.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008887/0.4916, allocations: 4.318 MB / 403 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.4952, allocations: 1.218 MB / 404.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/0.4998, allocations: 1.95 MB / 406.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.5014, allocations: 139.7 kB / 406.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003791/0.5052, allocations: 0.7826 MB / 407.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003388/0.5086, allocations: 1.668 MB / 408.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.511, allocations: 0.8356 MB / 409.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007168/0.5182, allocations: 5.515 MB / 415.1 MB, free: 452 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.5182, allocations: 0 / 415.1 MB, free: 452 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5182, allocations: 0 / 415.1 MB, free: 452 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003375/0.5185, allocations: 0 / 415.1 MB, free: 452 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01778/0.5363, allocations: 4.434 MB / 419.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5364, allocations: 8.031 kB / 419.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007256/0.5437, allocations: 1.934 MB / 421.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/0.5492, allocations: 2.298 MB / 423.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.5495, allocations: 242.1 kB / 424 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.5511, allocations: 323.5 kB / 424.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.572, allocations: 10.7 MB / 435 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.5722, allocations: 50.03 kB / 435.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000421/0.5727, allocations: 146.2 kB / 435.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/0.5758, allocations: 1.989 MB / 437.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/0.5972, allocations: 9.534 MB / 446.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05715/0.6544, allocations: 39.89 MB / 486.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.6667, allocations: 3.842 MB / 490.5 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.6696, allocations: 1.852 MB / 492.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.6702, allocations: 356.3 kB / 492.7 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.6703, allocations: 55.55 kB / 492.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 4.668e-06/0.6703, allocations: 0 / 492.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=154): time 0.03941/0.7097, allocations: 13.75 MB / 0.4946 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.7098, allocations: 153.3 kB / 0.4948 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00663/0.7165, allocations: 4.139 MB / 0.4988 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.717, allocations: 45.7 kB / 0.4989 GB, free: 8.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002562/0.7195, allocations: 3.172 MB / 0.502 GB, free: 5.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009526/0.7205, allocations: 0.6104 MB / 0.5026 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.7208, allocations: 116 kB / 0.5027 GB, free: 4.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003867/0.7212, allocations: 0.5581 MB / 0.5032 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/0.7245, allocations: 2.12 MB / 0.5053 GB, free: 1.844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005647/0.7302, allocations: 5.936 MB / 0.5111 GB, free: 9.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.7355, allocations: 3.476 MB / 0.5145 GB, free: 6.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-05/0.7356, allocations: 40 kB / 0.5145 GB, free: 6.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01595/0.7515, allocations: 8.536 MB / 0.5228 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/0.7517, allocations: 64 kB / 0.5229 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.7518, allocations: 136 kB / 0.523 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.7541, allocations: 0.93 MB / 0.5239 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.7587, allocations: 1.403 MB / 0.5253 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/0.765, allocations: 4.862 MB / 0.5301 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.7698, allocations: 330.5 kB / 0.5304 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008824/0.7707, allocations: 388 kB / 0.5307 GB, free: 5.695 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (740): * Single equations (assignments): 736 * 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.00416/0.7749, allocations: 2.099 MB / 0.5328 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007782/0.7756, allocations: 355.5 kB / 0.5331 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/0.7815, allocations: 3.148 MB / 0.5362 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.7815, allocations: 16 kB / 0.5362 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.7815, allocations: 4 kB / 0.5362 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.7815, allocations: 11.97 kB / 0.5362 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2479/1.029, allocations: 7.819 MB / 0.5439 GB, free: 157.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.03, allocations: 5.438 kB / 0.5439 GB, free: 157.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.031, allocations: 263.5 kB / 0.5441 GB, free: 157.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/1.033, allocations: 0.7127 MB / 0.5448 GB, free: 157.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/1.033, allocations: 36.69 kB / 0.5449 GB, free: 157.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005764/1.039, allocations: 4.421 MB / 0.5492 GB, free: 155 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.039, allocations: 9.031 kB / 0.5492 GB, free: 155 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008373/1.047, allocations: 5.679 MB / 0.5547 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.049, allocations: 0.6291 MB / 0.5553 GB, free: 152.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/1.05, allocations: 34.39 kB / 0.5554 GB, free: 152.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.051, allocations: 89.66 kB / 0.5555 GB, free: 152.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/1.051, allocations: 100.1 kB / 0.5556 GB, free: 152.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.051, allocations: 55.97 kB / 0.5556 GB, free: 152.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004048/1.055, allocations: 2.585 MB / 0.5581 GB, free: 151.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.055, allocations: 0 / 0.5581 GB, free: 151.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004988/1.06, allocations: 0.9609 MB / 0.5591 GB, free: 151.8 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 (123): * Single equations (assignments): 119 * 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.0003986/1.061, allocations: 158.5 kB / 0.5592 GB, free: 151.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007242/1.068, allocations: 5.055 MB / 0.5642 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.068, allocations: 3.812 kB / 0.5642 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.07, allocations: 1.54 MB / 0.5657 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/1.074, allocations: 431 kB / 0.5661 GB, free: 149.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/1.096, allocations: 11.13 MB / 0.577 GB, free: 140 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004577/1.1, allocations: 3.236 MB / 0.5801 GB, free: 136.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.102, allocations: 312.5 kB / 0.5804 GB, free: 136.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/1.102, allocations: 0 / 0.5804 GB, free: 136.4 MB / 446.1 MB Notification: Performance of Templates: time 0.1109/1.212, allocations: 75.31 MB / 0.654 GB, free: 60.95 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDriveCalcHelperMain.o] Error 1