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.001078/0.001078, allocations: 88.5 kB / 17.58 MB, free: 5.789 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.001354/0.001353, allocations: 189 kB / 18.48 MB, free: 5.23 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.734/1.734, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004477/0.0004477, allocations: 19.94 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 47.57 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.2937/0.4065, allocations: 60.23 MB / 389.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03464/0.4412, allocations: 12.79 MB / 402 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01727/0.4585, allocations: 282.9 kB / 402.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.4703, allocations: 2.935 MB / 405.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02877/0.4991, allocations: 8.59 MB / 413.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.5038, allocations: 0.7049 MB / 414.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02628/0.5301, allocations: 19.49 MB / 434 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.5411, allocations: 6.362 MB / 440.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.5447, allocations: 1.447 MB / 441.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004194/0.5489, allocations: 2.387 MB / 444.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007351/0.5497, allocations: 172 kB / 444.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.5521, allocations: 0.9642 MB / 445.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.5541, allocations: 1.981 MB / 447.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.5555, allocations: 0.9802 MB / 448.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007734/0.5632, allocations: 6.786 MB / 455.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.5633, allocations: 0 / 455.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5633, allocations: 0 / 455.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.5636, allocations: 0 / 455.1 MB, free: 6.578 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.024/0.5876, allocations: 5.806 MB / 460.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.5877, allocations: 16.03 kB / 460.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.6022, allocations: 2.594 MB / 463.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008524/0.6108, allocations: 3.077 MB / 466.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.6111, allocations: 307.3 kB / 466.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.6126, allocations: 401.4 kB / 467.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.6405, allocations: 13.27 MB / 480.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.6407, allocations: 43.59 kB / 480.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006157/0.6414, allocations: 182.6 kB / 480.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003894/0.6453, allocations: 2.203 MB / 483 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02795/0.6732, allocations: 12.68 MB / 495.6 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08845/0.7617, allocations: 49.37 MB / 0.5322 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/0.783, allocations: 6.472 MB / 0.5386 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/0.7886, allocations: 3.917 MB / 0.5424 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008342/0.7895, allocations: 437.5 kB / 0.5428 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.7895, allocations: 55.88 kB / 0.5429 GB, free: 40 kB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 6.331e-06/0.7896, allocations: 0 / 0.5429 GB, free: 40 kB / 446.1 MB Notification: Performance of matching and sorting (n=255): time 0.3265/1.116, allocations: 36.16 MB / 0.5782 GB, free: 149.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/1.116, allocations: 209.9 kB / 0.5784 GB, free: 149.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/1.122, allocations: 4.406 MB / 0.5827 GB, free: 144.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008503/1.123, allocations: 63.34 kB / 0.5827 GB, free: 144.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.125, allocations: 3.454 MB / 0.5861 GB, free: 141.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.126, allocations: 0.9611 MB / 0.587 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/1.127, allocations: 136.9 kB / 0.5872 GB, free: 140.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002898/1.127, allocations: 0.5993 MB / 0.5878 GB, free: 139.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.132, allocations: 4.314 MB / 0.592 GB, free: 135.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0066/1.139, allocations: 8.207 MB / 0.6 GB, free: 125.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/1.146, allocations: 5.828 MB / 0.6057 GB, free: 119.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/1.146, allocations: 40 kB / 0.6057 GB, free: 119.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02282/1.169, allocations: 14.73 MB / 0.6201 GB, free: 104.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/1.169, allocations: 67.28 kB / 0.6202 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.169, allocations: 136 kB / 0.6203 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/1.174, allocations: 2.473 MB / 0.6227 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006336/1.181, allocations: 1.793 MB / 0.6245 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/1.197, allocations: 15.83 MB / 0.6399 GB, free: 83.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006924/1.204, allocations: 476.7 kB / 0.6404 GB, free: 83.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.206, allocations: 0.4925 MB / 0.6409 GB, free: 82.98 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 (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.005329/1.211, allocations: 2.387 MB / 0.6432 GB, free: 80.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.213, allocations: 398.8 kB / 0.6436 GB, free: 80.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.226, allocations: 9.665 MB / 0.653 GB, free: 70.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/1.226, allocations: 30.58 kB / 0.653 GB, free: 70.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/1.226, allocations: 12.56 kB / 0.653 GB, free: 70.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/1.226, allocations: 15.47 kB / 0.6531 GB, free: 70.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/1.255, allocations: 18.16 MB / 0.6708 GB, free: 52.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/1.255, allocations: 0 / 0.6708 GB, free: 52.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.258, allocations: 0.5952 MB / 0.6714 GB, free: 51.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005022/1.263, allocations: 2.231 MB / 0.6736 GB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005625/1.264, allocations: 131.8 kB / 0.6737 GB, free: 49.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.278, allocations: 14.55 MB / 0.6879 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.278, allocations: 4 kB / 0.6879 GB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/1.298, allocations: 15.17 MB / 0.7027 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002958/1.301, allocations: 1.066 MB / 0.7037 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.302, allocations: 44 kB / 0.7038 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.305, allocations: 225 kB / 0.704 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000629/1.306, allocations: 242 kB / 0.7042 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/1.306, allocations: 147.8 kB / 0.7044 GB, free: 17.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003935/1.31, allocations: 2.768 MB / 0.7071 GB, free: 14.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.01e-07/1.31, allocations: 0 / 0.7071 GB, free: 14.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007062/1.317, allocations: 1.437 MB / 0.7085 GB, free: 13.18 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 (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.0005961/1.318, allocations: 191.1 kB / 0.7087 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2109/1.528, allocations: 10.35 MB / 0.7188 GB, free: 156.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.528, allocations: 4.875 kB / 0.7188 GB, free: 156.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006843/1.535, allocations: 4.623 MB / 0.7233 GB, free: 154.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.539, allocations: 482.5 kB / 0.7237 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.559, allocations: 15.8 MB / 0.7392 GB, free: 147.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.563, allocations: 3.742 MB / 0.7428 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/1.565, allocations: 0.5869 MB / 0.7434 GB, free: 144.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/1.565, allocations: 0 / 0.7434 GB, free: 144.6 MB / 446.1 MB Notification: Performance of Templates: time 0.3646/1.929, allocations: 146 MB / 0.8859 GB, free: 149.2 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++ 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.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