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.001223/0.001223, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001033/0.001033, allocations: 194 kB / 18.72 MB, free: 4.762 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.686/1.686, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001269/0.001269, allocations: 44.41 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 46.63 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.398/0.5295, allocations: 66.4 MB / 393.7 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04649/0.5761, allocations: 13.43 MB / 407.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02457/0.6008, allocations: 281.4 kB / 407.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009605/0.6104, allocations: 4.09 MB / 411.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.6216, allocations: 1.942 MB / 413.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.6258, allocations: 0.7343 MB / 414.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01296/0.6388, allocations: 6.792 MB / 420.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.6515, allocations: 5.065 MB / 426 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005466/0.6571, allocations: 1.726 MB / 427.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006188/0.6633, allocations: 2.873 MB / 430.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.6654, allocations: 328 kB / 430.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.6699, allocations: 1.27 MB / 432.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004812/0.6748, allocations: 2.254 MB / 434.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008121/0.6829, allocations: 2.623 MB / 437 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.6947, allocations: 6.946 MB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6948, allocations: 0 / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.6948, allocations: 0 / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004735/0.6953, allocations: 0 / 444 MB, free: 10.49 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.03702/0.7323, allocations: 6.966 MB / 451 MB, free: 3.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.327e-05/0.7324, allocations: 12.03 kB / 451 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/0.7495, allocations: 2.529 MB / 453.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.7598, allocations: 3.13 MB / 456.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004492/0.7603, allocations: 305.1 kB / 456.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/0.7631, allocations: 406.9 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/0.8009, allocations: 13.27 MB / 470.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003578/0.8013, allocations: 55.44 kB / 470.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/0.8035, allocations: 184.3 kB / 470.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0048/0.8084, allocations: 2.203 MB / 473 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/0.8404, allocations: 12.7 MB / 485.7 MB, free: 212 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08572/0.9262, allocations: 49.41 MB / 0.5226 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/0.9508, allocations: 6.453 MB / 0.5289 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00537/0.9562, allocations: 3.923 MB / 0.5327 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009689/0.9572, allocations: 427.2 kB / 0.5331 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.9572, allocations: 63.86 kB / 0.5332 GB, free: 2.777 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.49e-06/0.9573, allocations: 0 / 0.5332 GB, free: 2.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=255): time 0.3723/1.33, allocations: 36.14 MB / 0.5685 GB, free: 152.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.33, allocations: 209.9 kB / 0.5687 GB, free: 152.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006069/1.336, allocations: 4.435 MB / 0.573 GB, free: 148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008666/1.337, allocations: 61.7 kB / 0.5731 GB, free: 147.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/1.338, allocations: 3.45 MB / 0.5765 GB, free: 144.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.34, allocations: 0.9622 MB / 0.5774 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/1.342, allocations: 1.599 MB / 0.579 GB, free: 141.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/1.342, allocations: 304 kB / 0.5792 GB, free: 141.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004716/1.346, allocations: 4.327 MB / 0.5835 GB, free: 137.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006909/1.353, allocations: 8.239 MB / 0.5915 GB, free: 127.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.367, allocations: 13.39 MB / 0.6046 GB, free: 111.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/1.368, allocations: 40 kB / 0.6046 GB, free: 111.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02488/1.392, allocations: 14.77 MB / 0.6191 GB, free: 97.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000217/1.393, allocations: 67.44 kB / 0.6191 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000349/1.393, allocations: 136.5 kB / 0.6193 GB, free: 96.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006305/1.399, allocations: 2.449 MB / 0.6216 GB, free: 94.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006956/1.406, allocations: 1.786 MB / 0.6234 GB, free: 92.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/1.425, allocations: 15.87 MB / 0.6389 GB, free: 76.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008244/1.434, allocations: 473.9 kB / 0.6393 GB, free: 75.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002038/1.436, allocations: 0.4958 MB / 0.6398 GB, free: 75.38 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.006778/1.442, allocations: 2.385 MB / 0.6422 GB, free: 72.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002057/1.445, allocations: 398.8 kB / 0.6425 GB, free: 72.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/1.462, allocations: 9.661 MB / 0.652 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.277e-05/1.462, allocations: 28 kB / 0.652 GB, free: 62.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-05/1.462, allocations: 8 kB / 0.652 GB, free: 62.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-05/1.462, allocations: 15.95 kB / 0.652 GB, free: 62.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03487/1.497, allocations: 18.15 MB / 0.6697 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.497, allocations: 8 kB / 0.6698 GB, free: 44.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/1.501, allocations: 0.5888 MB / 0.6703 GB, free: 44.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006202/1.507, allocations: 2.243 MB / 0.6725 GB, free: 41.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009563/1.508, allocations: 119.8 kB / 0.6726 GB, free: 41.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.526, allocations: 14.59 MB / 0.6869 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.526, allocations: 7.938 kB / 0.6869 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02498/1.551, allocations: 15.16 MB / 0.7017 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004107/1.555, allocations: 1.054 MB / 0.7027 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/1.557, allocations: 44 kB / 0.7028 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2962/1.853, allocations: 219.1 kB / 0.703 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001672/1.855, allocations: 241.7 kB / 0.7032 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005068/1.855, allocations: 151 kB / 0.7033 GB, free: 150 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007387/1.863, allocations: 2.793 MB / 0.7061 GB, free: 149.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.82e-07/1.863, allocations: 0 / 0.7061 GB, free: 149.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01079/1.874, allocations: 1.432 MB / 0.7075 GB, free: 149.8 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.001275/1.875, allocations: 185.2 kB / 0.7076 GB, free: 149.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0204/1.895, allocations: 10.39 MB / 0.7178 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.895, allocations: 8.672 kB / 0.7178 GB, free: 147.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006456/1.902, allocations: 4.623 MB / 0.7223 GB, free: 145.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.906, allocations: 479.8 kB / 0.7228 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.929, allocations: 16.2 MB / 0.7386 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/1.932, allocations: 3.746 MB / 0.7422 GB, free: 133.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/1.935, allocations: 0.5755 MB / 0.7428 GB, free: 133.2 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/1.935, allocations: 0 / 0.7428 GB, free: 133.2 MB / 446.1 MB Notification: Performance of Templates: time 0.4393/2.375, allocations: 146.7 MB / 0.8861 GB, free: 139.1 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