Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 92.59 kB / 16.95 MB, free: 5.953 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.0017/0.0017, allocations: 179.7 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 8 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 50.41 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.3468/0.4821, allocations: 59.66 MB / 411.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03945/0.5216, allocations: 12.69 MB / 424.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01854/0.5402, allocations: 279.3 kB / 424.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.5526, allocations: 2.939 MB / 427.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0321/0.5847, allocations: 8.586 MB / 436 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.5909, allocations: 0.6949 MB / 436.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.04561/0.6365, allocations: 33.06 MB / 469.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.6488, allocations: 6.354 MB / 476.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.6528, allocations: 1.444 MB / 477.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004866/0.6577, allocations: 2.368 MB / 479.9 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00092/0.6587, allocations: 172 kB / 480.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.6612, allocations: 0.9714 MB / 481.1 MB, free: 3.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.6634, allocations: 1.975 MB / 483 MB, free: 1.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.6648, allocations: 0.979 MB / 484 MB, free: 228 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007958/0.6728, allocations: 6.765 MB / 490.8 MB, free: 9.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.6728, allocations: 4 kB / 490.8 MB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6728, allocations: 0 / 490.8 MB, free: 9.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002978/0.6731, allocations: 0 / 490.8 MB, free: 9.438 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02534/0.6985, allocations: 5.787 MB / 496.6 MB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.6986, allocations: 8.031 kB / 496.6 MB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.7138, allocations: 2.587 MB / 499.2 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009958/0.7239, allocations: 3.024 MB / 0.4904 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.7244, allocations: 299.8 kB / 0.4907 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003217/0.7276, allocations: 403.7 kB / 0.4911 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03484/0.7625, allocations: 13.25 MB / 0.504 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003569/0.7629, allocations: 47.59 kB / 0.5041 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002183/0.7651, allocations: 187.8 kB / 0.5043 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004903/0.77, allocations: 2.198 MB / 0.5064 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/0.8005, allocations: 12.65 MB / 0.5188 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3948/1.195, allocations: 49.21 MB / 0.5668 GB, free: 121.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/1.217, allocations: 6.424 MB / 0.5731 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005269/1.222, allocations: 3.911 MB / 0.5769 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009478/1.223, allocations: 427.5 kB / 0.5773 GB, free: 117.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.855e-05/1.223, allocations: 54.78 kB / 0.5774 GB, free: 117.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 7.373e-06/1.223, allocations: 1.219 kB / 0.5774 GB, free: 117.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09776/1.321, allocations: 36.08 MB / 0.6126 GB, free: 87.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.321, allocations: 209.9 kB / 0.6128 GB, free: 87.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/1.327, allocations: 4.387 MB / 0.6171 GB, free: 83.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.329, allocations: 61.7 kB / 0.6172 GB, free: 83.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.331, allocations: 3.448 MB / 0.6205 GB, free: 79.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.332, allocations: 0.9458 MB / 0.6214 GB, free: 78.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/1.333, allocations: 136 kB / 0.6216 GB, free: 78.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003219/1.333, allocations: 0.5954 MB / 0.6222 GB, free: 78.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005359/1.339, allocations: 4.308 MB / 0.6264 GB, free: 73.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007767/1.346, allocations: 8.195 MB / 0.6344 GB, free: 63.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008538/1.355, allocations: 5.816 MB / 0.64 GB, free: 57.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.352e-05/1.355, allocations: 36 kB / 0.6401 GB, free: 57.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02641/1.382, allocations: 14.71 MB / 0.6545 GB, free: 43.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/1.382, allocations: 64 kB / 0.6545 GB, free: 43.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003361/1.382, allocations: 144.1 kB / 0.6546 GB, free: 42.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006374/1.389, allocations: 2.468 MB / 0.6571 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/1.396, allocations: 1.786 MB / 0.6588 GB, free: 38.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/1.414, allocations: 15.83 MB / 0.6743 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008031/1.422, allocations: 478.2 kB / 0.6747 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/1.425, allocations: 0.4928 MB / 0.6752 GB, free: 21.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (826): * Single equations (assignments): 820 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007552/1.432, allocations: 2.38 MB / 0.6775 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002067/1.434, allocations: 394.8 kB / 0.6779 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0182/1.453, allocations: 9.645 MB / 0.6873 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.566e-05/1.453, allocations: 28 kB / 0.6873 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-05/1.453, allocations: 15.94 kB / 0.6874 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/1.453, allocations: 11.95 kB / 0.6874 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3607/1.814, allocations: 18.1 MB / 0.7051 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/1.814, allocations: 1.188 kB / 0.7051 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003322/1.817, allocations: 0.5879 MB / 0.7056 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006158/1.823, allocations: 2.228 MB / 0.7078 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006558/1.824, allocations: 134.2 kB / 0.7079 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/1.841, allocations: 14.54 MB / 0.7221 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.841, allocations: 3.938 kB / 0.7221 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02196/1.863, allocations: 15.12 MB / 0.7369 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.865, allocations: 472 kB / 0.7373 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.866, allocations: 39.98 kB / 0.7374 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/1.869, allocations: 223.7 kB / 0.7376 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000792/1.87, allocations: 249.6 kB / 0.7378 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004839/1.871, allocations: 143.8 kB / 0.738 GB, free: 120.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005125/1.876, allocations: 2.753 MB / 0.7407 GB, free: 117.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.876, allocations: 0 / 0.7407 GB, free: 117.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007427/1.883, allocations: 1.429 MB / 0.7421 GB, free: 116.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008025/1.884, allocations: 192.9 kB / 0.7422 GB, free: 115.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01309/1.897, allocations: 10.35 MB / 0.7523 GB, free: 105.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.897, allocations: 7.766 kB / 0.7524 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005701/1.903, allocations: 4.608 MB / 0.7569 GB, free: 101 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/1.907, allocations: 476.6 kB / 0.7573 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/1.933, allocations: 15.75 MB / 0.7727 GB, free: 84.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.936, allocations: 3.735 MB / 0.7763 GB, free: 81.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/1.938, allocations: 0.5808 MB / 0.7769 GB, free: 80.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/1.938, allocations: 0 / 0.7769 GB, free: 80.6 MB / 446.1 MB Notification: Performance of Templates: time 0.4201/2.358, allocations: 145.5 MB / 0.919 GB, free: 111 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.o] Error 1