Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.0009162/0.0009163, allocations: 93.05 kB / 17.95 MB, free: 5.629 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.001155/0.001156, allocations: 180.6 kB / 18.86 MB, free: 4.773 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.834/1.834, 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.0005681/0.0005684, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.3675/0.4951, allocations: 64.78 MB / 394.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04296/0.5382, allocations: 13.36 MB / 407.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02398/0.5622, allocations: 282.4 kB / 408 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.5652, allocations: 0.4959 MB / 408.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008431/0.5736, allocations: 1.947 MB / 410.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.5764, allocations: 0.7309 MB / 411.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.5866, allocations: 6.789 MB / 418 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.5976, allocations: 7.186 MB / 425.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.6013, allocations: 1.356 MB / 426.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.6054, allocations: 2.416 MB / 429 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000643/0.6061, allocations: 176 kB / 429.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.6088, allocations: 1.115 MB / 430.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.611, allocations: 2.022 MB / 432.3 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.6138, allocations: 2.363 MB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.6215, allocations: 6.785 MB / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6216, allocations: 0 / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.575e-06/0.6216, allocations: 0 / 441.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002359/0.6218, allocations: 3.938 kB / 441.4 MB, free: 13.99 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: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.02776/0.6496, allocations: 5.761 MB / 447.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.6496, allocations: 8.031 kB / 447.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/0.6676, allocations: 2.591 MB / 449.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.6779, allocations: 3.132 MB / 452.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/0.6784, allocations: 306.2 kB / 453.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002441/0.6809, allocations: 404.9 kB / 453.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03489/0.7158, allocations: 13.3 MB / 466.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003171/0.7162, allocations: 59.45 kB / 467 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/0.7183, allocations: 192.4 kB / 467.1 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004921/0.7232, allocations: 2.19 MB / 469.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/0.7555, allocations: 12.72 MB / 482.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08749/0.843, allocations: 49.4 MB / 0.519 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0257/0.8688, allocations: 6.489 MB / 0.5253 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006271/0.8751, allocations: 3.93 MB / 0.5292 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.8766, allocations: 424.1 kB / 0.5296 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.8767, allocations: 59.81 kB / 0.5296 GB, free: 7.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 1.149e-05/0.8768, allocations: 0 / 0.5296 GB, free: 7.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=255): time 0.3898/1.267, allocations: 36.2 MB / 0.565 GB, free: 156.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.267, allocations: 209.9 kB / 0.5652 GB, free: 156.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/1.273, allocations: 4.435 MB / 0.5695 GB, free: 151.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008812/1.274, allocations: 61.7 kB / 0.5696 GB, free: 151.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/1.275, allocations: 3.456 MB / 0.573 GB, free: 148.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.277, allocations: 0.9489 MB / 0.5739 GB, free: 147.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007151/1.277, allocations: 0.5844 MB / 0.5745 GB, free: 146.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/1.277, allocations: 309.1 kB / 0.5747 GB, free: 146.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004857/1.282, allocations: 4.343 MB / 0.579 GB, free: 142.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/1.289, allocations: 8.235 MB / 0.587 GB, free: 132.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/1.304, allocations: 13.41 MB / 0.6001 GB, free: 116.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001621/1.304, allocations: 39.94 kB / 0.6002 GB, free: 116.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02893/1.333, allocations: 14.8 MB / 0.6146 GB, free: 101.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/1.333, allocations: 64.78 kB / 0.6147 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/1.334, allocations: 136 kB / 0.6148 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006515/1.34, allocations: 2.456 MB / 0.6172 GB, free: 99.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006934/1.347, allocations: 1.793 MB / 0.619 GB, free: 97.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/1.366, allocations: 15.87 MB / 0.6345 GB, free: 81.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008222/1.374, allocations: 479.3 kB / 0.6349 GB, free: 80.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/1.376, allocations: 0.4902 MB / 0.6354 GB, free: 80.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (830): * Single equations (assignments): 824 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007479/1.384, allocations: 2.386 MB / 0.6377 GB, free: 77.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/1.386, allocations: 403.8 kB / 0.6381 GB, free: 77.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.404, allocations: 9.669 MB / 0.6475 GB, free: 67.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-05/1.404, allocations: 36.88 kB / 0.6476 GB, free: 67.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-05/1.404, allocations: 8 kB / 0.6476 GB, free: 67.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.195e-05/1.404, allocations: 15.95 kB / 0.6476 GB, free: 67.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03427/1.439, allocations: 18.18 MB / 0.6654 GB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.439, allocations: 0 / 0.6654 GB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/1.442, allocations: 0.5928 MB / 0.6659 GB, free: 48.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006078/1.448, allocations: 2.23 MB / 0.6681 GB, free: 46.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007541/1.449, allocations: 133.5 kB / 0.6682 GB, free: 46.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01616/1.465, allocations: 14.56 MB / 0.6825 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.465, allocations: 0 / 0.6825 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/1.487, allocations: 15.2 MB / 0.6973 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/1.491, allocations: 1.062 MB / 0.6983 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/1.493, allocations: 41.41 kB / 0.6984 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/1.496, allocations: 231.7 kB / 0.6986 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.498, allocations: 241.5 kB / 0.6988 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006445/1.498, allocations: 140.4 kB / 0.699 GB, free: 14.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006294/1.505, allocations: 2.795 MB / 0.7017 GB, free: 11.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.505, allocations: 0 / 0.7017 GB, free: 11.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008672/1.513, allocations: 1.44 MB / 0.7031 GB, free: 10.33 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 (198): * Single equations (assignments): 192 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2864/1.8, allocations: 180.4 kB / 0.7033 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.021/1.821, allocations: 10.4 MB / 0.7134 GB, free: 148.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.821, allocations: 1.25 kB / 0.7134 GB, free: 148.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007118/1.828, allocations: 4.635 MB / 0.718 GB, free: 146.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/1.832, allocations: 476.4 kB / 0.7184 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/1.855, allocations: 16.33 MB / 0.7344 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003782/1.858, allocations: 3.741 MB / 0.738 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.861, allocations: 0.5894 MB / 0.7386 GB, free: 137.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/1.861, allocations: 0 / 0.7386 GB, free: 137.1 MB / 446.1 MB Notification: Performance of Templates: time 0.4437/2.305, allocations: 145.7 MB / 0.8809 GB, free: 143 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.BevelGear1DCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.o] Error 1