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.001173/0.001173, allocations: 98.47 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.001628/0.001628, allocations: 178.3 kB / 18.86 MB, free: 4.906 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.934/1.934, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005381/0.0005385, allocations: 15.98 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.05231/0.1774, allocations: 48.91 MB / 378.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3236/0.5011, allocations: 10.27 MB / 388.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01392/0.5151, allocations: 209.9 kB / 389 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.5172, allocations: 425.4 kB / 389.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.5235, allocations: 1.778 MB / 391.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5253, allocations: 0.5193 MB / 391.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009178/0.5345, allocations: 5.507 MB / 397.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007054/0.5415, allocations: 5.016 MB / 402.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.5439, allocations: 1.113 MB / 403.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.5463, allocations: 1.977 MB / 405.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.5467, allocations: 141.1 kB / 405.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.5485, allocations: 0.93 MB / 406.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.55, allocations: 1.705 MB / 408.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.552, allocations: 2.008 MB / 410.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.5578, allocations: 5.521 MB / 415.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5578, allocations: 0 / 415.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5578, allocations: 0 / 415.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002226/0.5581, allocations: 4 kB / 415.6 MB, free: 14.83 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01834/0.5764, allocations: 4.376 MB / 420 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5765, allocations: 12.03 kB / 420 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007753/0.5842, allocations: 1.936 MB / 422 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.5894, allocations: 2.339 MB / 424.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.5896, allocations: 241.3 kB / 424.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007626/0.5904, allocations: 320.5 kB / 424.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.611, allocations: 10.72 MB / 435.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.6112, allocations: 59.52 kB / 435.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.6116, allocations: 149.8 kB / 435.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003436/0.615, allocations: 1.979 MB / 437.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.6351, allocations: 9.598 MB / 447.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05279/0.6879, allocations: 39.9 MB / 487.2 MB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.7019, allocations: 3.856 MB / 491.1 MB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002797/0.7048, allocations: 1.856 MB / 493 MB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/0.7054, allocations: 355.7 kB / 493.3 MB, free: 80 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.7054, allocations: 55.56 kB / 493.4 MB, free: 12 kB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 4.258e-06/0.7055, allocations: 0 / 493.4 MB, free: 12 kB / 398.1 MB Notification: Performance of matching and sorting (n=154): time 0.04792/0.7534, allocations: 13.78 MB / 0.4952 GB, free: 2.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.7536, allocations: 145.5 kB / 0.4954 GB, free: 1.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00746/0.7611, allocations: 4.159 MB / 0.4994 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004219/0.7615, allocations: 49.7 kB / 0.4995 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002819/0.7643, allocations: 3.169 MB / 0.5026 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009344/0.7653, allocations: 0.6135 MB / 0.5032 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006787/0.766, allocations: 0.5062 MB / 0.5037 GB, free: 9.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7661, allocations: 305.1 kB / 0.504 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/0.7696, allocations: 2.135 MB / 0.5061 GB, free: 6.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006313/0.7759, allocations: 5.968 MB / 0.5119 GB, free: 15.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/0.7875, allocations: 8.782 MB / 0.5205 GB, free: 4.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/0.7877, allocations: 40 kB / 0.5205 GB, free: 4.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.0184/0.8061, allocations: 8.589 MB / 0.5289 GB, free: 11.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.8063, allocations: 64.22 kB / 0.529 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002515/0.8066, allocations: 144 kB / 0.5291 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.8092, allocations: 0.9174 MB / 0.53 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005248/0.8145, allocations: 1.396 MB / 0.5313 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008037/0.8226, allocations: 4.878 MB / 0.5361 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/0.8289, allocations: 323.6 kB / 0.5364 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/0.8304, allocations: 384 kB / 0.5368 GB, free: 3.535 MB / 462.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 (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.005606/0.836, allocations: 2.103 MB / 0.5388 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.8371, allocations: 351.3 kB / 0.5392 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2772/1.114, allocations: 3.148 MB / 0.5422 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/1.114, allocations: 18.7 kB / 0.5423 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.114, allocations: 3.219 kB / 0.5423 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.114, allocations: 8.531 kB / 0.5423 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.133, allocations: 7.835 MB / 0.5499 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.133, allocations: 8.016 kB / 0.5499 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.134, allocations: 260.1 kB / 0.5502 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/1.136, allocations: 0.7147 MB / 0.5509 GB, free: 173 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.136, allocations: 45.98 kB / 0.5509 GB, free: 173 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/1.142, allocations: 4.421 MB / 0.5552 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.142, allocations: 3.969 kB / 0.5552 GB, free: 170.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008275/1.15, allocations: 5.694 MB / 0.5608 GB, free: 168.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.152, allocations: 0.6288 MB / 0.5614 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/1.152, allocations: 23.94 kB / 0.5614 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.153, allocations: 90.22 kB / 0.5615 GB, free: 168.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/1.154, allocations: 106.4 kB / 0.5616 GB, free: 168.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.154, allocations: 52.39 kB / 0.5617 GB, free: 168.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003766/1.158, allocations: 2.604 MB / 0.5642 GB, free: 167.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.158, allocations: 0 / 0.5642 GB, free: 167.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004751/1.162, allocations: 0.9689 MB / 0.5652 GB, free: 167.3 MB / 462.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 (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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003889/1.163, allocations: 148.4 kB / 0.5653 GB, free: 167.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007132/1.17, allocations: 5.1 MB / 0.5703 GB, free: 165.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.17, allocations: 0 / 0.5703 GB, free: 165.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.172, allocations: 1.54 MB / 0.5718 GB, free: 164.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/1.175, allocations: 415.8 kB / 0.5722 GB, free: 164.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.193, allocations: 11.57 MB / 0.5835 GB, free: 153.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/1.196, allocations: 3.24 MB / 0.5867 GB, free: 150 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.198, allocations: 319.3 kB / 0.587 GB, free: 149.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.144e-06/1.198, allocations: 0 / 0.587 GB, free: 149.7 MB / 462.1 MB Notification: Performance of Templates: time 0.1062/1.304, allocations: 75.1 MB / 0.6603 GB, free: 74.5 MB / 462.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++ -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.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