Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008093/0.0008092, allocations: 84.77 kB / 17.58 MB, free: 5.758 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.0009137/0.0009136, allocations: 183.1 kB / 18.48 MB, free: 5.207 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.666/1.666, 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.0005022/0.0005022, allocations: 12 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.3176/0.44, allocations: 63.66 MB / 392.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03647/0.4766, allocations: 13.41 MB / 406 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01989/0.4965, allocations: 304.3 kB / 406.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.5093, allocations: 3.307 MB / 409.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03049/0.5398, allocations: 9.743 MB / 419.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.5451, allocations: 0.8024 MB / 420.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04407/0.5891, allocations: 34.99 MB / 455.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.6007, allocations: 6.623 MB / 461.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.6047, allocations: 1.72 MB / 463.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005985/0.6107, allocations: 2.648 MB / 466.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.6128, allocations: 192 kB / 466.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.6163, allocations: 0.9753 MB / 467.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003561/0.6199, allocations: 2.264 MB / 469.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.6223, allocations: 1.084 MB / 470.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00854/0.6308, allocations: 7.423 MB / 478.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6308, allocations: 0 / 478.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6309, allocations: 0 / 478.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001995/0.6311, allocations: 0 / 478.1 MB, free: 1.352 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01107/0.6421, allocations: 5.27 MB / 483.4 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6422, allocations: 8.031 kB / 483.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.653, allocations: 2.672 MB / 486.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/0.6617, allocations: 3.895 MB / 490 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.662, allocations: 316.1 kB / 490.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.6632, allocations: 439.6 kB / 490.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.6841, allocations: 12.23 MB / 0.4911 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.6843, allocations: 55.42 kB / 0.4912 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004888/0.6848, allocations: 195.8 kB / 0.4914 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003342/0.6882, allocations: 2.21 MB / 0.4935 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.7083, allocations: 10.51 MB / 0.5038 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3085/1.017, allocations: 47.56 MB / 0.5502 GB, free: 137.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.029, allocations: 4.591 MB / 0.5547 GB, free: 136.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/1.033, allocations: 2.634 MB / 0.5573 GB, free: 136.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/1.049, allocations: 10.43 MB / 0.5675 GB, free: 132.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/1.049, allocations: 59 kB / 0.5675 GB, free: 132.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 5.701e-06/1.049, allocations: 0 / 0.5675 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.04684/1.096, allocations: 20.99 MB / 0.588 GB, free: 120.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/1.096, allocations: 201.2 kB / 0.5882 GB, free: 120.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/1.102, allocations: 4.796 MB / 0.5929 GB, free: 115.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/1.102, allocations: 57.7 kB / 0.593 GB, free: 115.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.104, allocations: 3.731 MB / 0.5966 GB, free: 111.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/1.105, allocations: 0.8342 MB / 0.5974 GB, free: 111 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/1.105, allocations: 138.5 kB / 0.5976 GB, free: 110.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002676/1.106, allocations: 0.5914 MB / 0.5981 GB, free: 110.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/1.109, allocations: 2.562 MB / 0.6006 GB, free: 107.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/1.114, allocations: 6.539 MB / 0.607 GB, free: 99.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004506/1.118, allocations: 4 MB / 0.6109 GB, free: 95.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/1.118, allocations: 40 kB / 0.611 GB, free: 95.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0149/1.133, allocations: 10.21 MB / 0.6209 GB, free: 85.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/1.133, allocations: 64 kB / 0.621 GB, free: 85.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/1.133, allocations: 136 kB / 0.6211 GB, free: 85.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/1.137, allocations: 1.635 MB / 0.6227 GB, free: 83.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/1.143, allocations: 1.57 MB / 0.6243 GB, free: 82.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.153, allocations: 9.543 MB / 0.6336 GB, free: 72.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/1.159, allocations: 395.4 kB / 0.634 GB, free: 71.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009829/1.16, allocations: 405.4 kB / 0.6343 GB, free: 71.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 829 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004306/1.164, allocations: 2.567 MB / 0.6368 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008616/1.165, allocations: 426.5 kB / 0.6373 GB, free: 68.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/1.172, allocations: 4.629 MB / 0.6418 GB, free: 63.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.172, allocations: 29.41 kB / 0.6418 GB, free: 63.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.172, allocations: 4 kB / 0.6418 GB, free: 63.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.172, allocations: 12.16 kB / 0.6418 GB, free: 63.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/1.189, allocations: 10.49 MB / 0.6521 GB, free: 53.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.189, allocations: 0 / 0.6521 GB, free: 53.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.19, allocations: 355.5 kB / 0.6524 GB, free: 52.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/1.194, allocations: 1.358 MB / 0.6537 GB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/1.194, allocations: 42.61 kB / 0.6538 GB, free: 51.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008785/1.203, allocations: 8.743 MB / 0.6623 GB, free: 42.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.203, allocations: 0 / 0.6623 GB, free: 42.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.213, allocations: 7.554 MB / 0.6697 GB, free: 34.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/1.215, allocations: 0.7884 MB / 0.6704 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005276/1.216, allocations: 32 kB / 0.6705 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.217, allocations: 132.5 kB / 0.6706 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/1.218, allocations: 137.7 kB / 0.6707 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.218, allocations: 60.94 kB / 0.6708 GB, free: 33.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004013/1.222, allocations: 3.017 MB / 0.6737 GB, free: 30.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.222, allocations: 0 / 0.6737 GB, free: 30.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005277/1.227, allocations: 1.264 MB / 0.675 GB, free: 29.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (169): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003987/1.228, allocations: 172.2 kB / 0.6751 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00828/1.236, allocations: 6.358 MB / 0.6813 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/1.236, allocations: 0 / 0.6813 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/1.239, allocations: 2.2 MB / 0.6835 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/1.242, allocations: 0.5397 MB / 0.684 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.261, allocations: 14.35 MB / 0.698 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003531/1.265, allocations: 3.967 MB / 0.7019 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.266, allocations: 335.4 kB / 0.7022 GB, free: 1.496 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/1.266, allocations: 0 / 0.7022 GB, free: 1.496 MB / 446.1 MB Notification: Performance of Templates: time 0.3843/1.65, allocations: 117.5 MB / 0.817 GB, free: 79.93 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.GearConstraintCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintCalcHelperMain.o] Error 1