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.001444/0.001444, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.0015/0.001501, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.79/1.79, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001181/0.001181, allocations: 43.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1209, allocations: 46.63 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3397/0.4607, allocations: 66.2 MB / 393.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03722/0.498, allocations: 13.05 MB / 406.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02045/0.5185, allocations: 285 kB / 406.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007626/0.5262, allocations: 3.747 MB / 410.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.5334, allocations: 1.967 MB / 412.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.5356, allocations: 0.6256 MB / 413.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008807/0.5444, allocations: 6.502 MB / 419.6 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007014/0.5514, allocations: 4.795 MB / 424.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004091/0.5556, allocations: 1.704 MB / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005205/0.5608, allocations: 2.755 MB / 428.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.5621, allocations: 312 kB / 429.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.5655, allocations: 1.095 MB / 430.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003059/0.5686, allocations: 2.239 MB / 432.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00421/0.5728, allocations: 2.646 MB / 435.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009431/0.5823, allocations: 6.78 MB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.5823, allocations: 12 kB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5824, allocations: 0 / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003665/0.5827, allocations: 0 / 442 MB, free: 12.24 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.02409/0.6068, allocations: 6.413 MB / 448.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6069, allocations: 8.031 kB / 448.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007146/0.614, allocations: 1.989 MB / 450.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/0.6208, allocations: 2.772 MB / 453.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.6212, allocations: 308.5 kB / 453.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/0.6228, allocations: 404.6 kB / 453.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/0.6535, allocations: 12.87 MB / 466.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/0.6539, allocations: 51.52 kB / 466.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002003/0.6559, allocations: 195.4 kB / 466.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005064/0.661, allocations: 2.373 MB / 469.3 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02974/0.6908, allocations: 11.74 MB / 481.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08623/0.7771, allocations: 48.63 MB / 0.5173 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02113/0.7982, allocations: 5.564 MB / 0.5227 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006171/0.8045, allocations: 3.492 MB / 0.5261 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000972/0.8055, allocations: 387.9 kB / 0.5265 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/0.8056, allocations: 55.88 kB / 0.5265 GB, free: 9.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 8.376e-06/0.8056, allocations: 0 / 0.5265 GB, free: 9.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.4199/1.226, allocations: 27.92 MB / 0.5538 GB, free: 106.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.226, allocations: 157.6 kB / 0.554 GB, free: 106.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007098/1.233, allocations: 4.608 MB / 0.5585 GB, free: 105.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005719/1.233, allocations: 68.61 kB / 0.5585 GB, free: 105.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003026/1.236, allocations: 3.577 MB / 0.562 GB, free: 102.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.238, allocations: 0.9573 MB / 0.5629 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002338/1.24, allocations: 1.502 MB / 0.5644 GB, free: 101.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/1.24, allocations: 310.9 kB / 0.5647 GB, free: 101.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005752/1.246, allocations: 3.452 MB / 0.5681 GB, free: 100.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007502/1.254, allocations: 7.525 MB / 0.5754 GB, free: 93.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/1.266, allocations: 11.81 MB / 0.587 GB, free: 82.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.267, allocations: 40 kB / 0.587 GB, free: 82.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02214/1.289, allocations: 11.89 MB / 0.5986 GB, free: 71.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002756/1.289, allocations: 70.81 kB / 0.5987 GB, free: 71.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003547/1.29, allocations: 144 kB / 0.5988 GB, free: 71.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/1.292, allocations: 1.132 MB / 0.5999 GB, free: 69.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007066/1.299, allocations: 1.8 MB / 0.6017 GB, free: 68.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007453/1.307, allocations: 6.016 MB / 0.6076 GB, free: 62.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007728/1.315, allocations: 424.2 kB / 0.608 GB, free: 61.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/1.317, allocations: 473.9 kB / 0.6084 GB, free: 61.29 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.006825/1.323, allocations: 2.441 MB / 0.6108 GB, free: 58.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/1.325, allocations: 423.4 kB / 0.6112 GB, free: 58.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.337, allocations: 6.478 MB / 0.6175 GB, free: 52.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/1.338, allocations: 27.94 kB / 0.6175 GB, free: 52.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.338, allocations: 7.938 kB / 0.6176 GB, free: 52.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/1.338, allocations: 16.66 kB / 0.6176 GB, free: 52.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.365, allocations: 13.61 MB / 0.6309 GB, free: 38.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/1.365, allocations: 6.719 kB / 0.6309 GB, free: 38.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/1.368, allocations: 0.5784 MB / 0.6314 GB, free: 37.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/1.371, allocations: 0.9499 MB / 0.6324 GB, free: 36.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005433/1.371, allocations: 91.89 kB / 0.6324 GB, free: 36.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006646/1.378, allocations: 5.73 MB / 0.638 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.378, allocations: 8.031 kB / 0.6381 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/1.396, allocations: 10.92 MB / 0.6487 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/1.399, allocations: 0.9251 MB / 0.6496 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/1.401, allocations: 49.31 kB / 0.6497 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/1.405, allocations: 173 kB / 0.6498 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008269/1.405, allocations: 192.2 kB / 0.65 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004795/1.406, allocations: 107.9 kB / 0.6501 GB, free: 18.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006377/1.412, allocations: 2.899 MB / 0.6529 GB, free: 15.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.412, allocations: 4 kB / 0.653 GB, free: 15.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009506/1.422, allocations: 1.268 MB / 0.6542 GB, free: 14.32 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.001027/1.423, allocations: 183.1 kB / 0.6544 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0141/1.437, allocations: 8.128 MB / 0.6623 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.437, allocations: 4.188 kB / 0.6623 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005145/1.442, allocations: 3.155 MB / 0.6654 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0068/1.449, allocations: 492.8 kB / 0.6659 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/1.487, allocations: 15.56 MB / 0.6811 GB, free: 3.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006755/1.494, allocations: 3.796 MB / 0.6848 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/1.496, allocations: 487 kB / 0.6852 GB, free: 14.95 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/1.496, allocations: 1.531 kB / 0.6852 GB, free: 14.95 MB / 478.1 MB Notification: Performance of Templates: time 0.4329/1.929, allocations: 98.35 MB / 0.7813 GB, free: 144.2 MB / 494.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