Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001091, allocations: 93.5 kB / 17.96 MB, free: 5.418 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.001227/0.001227, allocations: 176.3 kB / 18.86 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 225 MB, free: 12.92 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.0006306/0.0006312, allocations: 12.64 kB / 282 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1402, allocations: 47.59 MB / 329.6 MB, free: 3.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.3737/0.514, allocations: 56.49 MB / 386.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03721/0.5513, allocations: 11.7 MB / 397.8 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0182/0.5695, allocations: 243.7 kB / 398 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.5722, allocations: 480.9 kB / 398.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008318/0.5806, allocations: 1.951 MB / 400.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.5834, allocations: 0.6567 MB / 401.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.5959, allocations: 6.714 MB / 407.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.6066, allocations: 5.842 MB / 413.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.6108, allocations: 1.285 MB / 415 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.6155, allocations: 2.172 MB / 417.1 MB, free: 112 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.6171, allocations: 162 kB / 417.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.6215, allocations: 1.128 MB / 418.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003925/0.6255, allocations: 1.989 MB / 420.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005686/0.6312, allocations: 2.273 MB / 422.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.6423, allocations: 6.334 MB / 429 MB, free: 5.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.6423, allocations: 0 / 429 MB, free: 5.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.6423, allocations: 0 / 429 MB, free: 5.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004601/0.6428, allocations: 0 / 429 MB, free: 5.473 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01678/0.6596, allocations: 4.521 MB / 433.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.6597, allocations: 8.031 kB / 433.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.6717, allocations: 2.294 MB / 435.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009354/0.6812, allocations: 2.953 MB / 438.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/0.6816, allocations: 270.5 kB / 439.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.6837, allocations: 347.5 kB / 439.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/0.7168, allocations: 11.66 MB / 451.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003143/0.7171, allocations: 43.58 kB / 451.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001745/0.7189, allocations: 171.7 kB / 451.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004952/0.7239, allocations: 2.335 MB / 453.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.7504, allocations: 9.998 MB / 463.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07931/0.8298, allocations: 44.52 MB / 0.4962 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.8434, allocations: 5.352 MB / 0.5014 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/0.8476, allocations: 2.824 MB / 0.5042 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/0.863, allocations: 8.114 MB / 0.5121 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.071e-05/0.8631, allocations: 55.88 kB / 0.5122 GB, free: 4.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=216): time 5.31e-06/0.8631, allocations: 0 / 0.5122 GB, free: 4.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=237): time 0.3486/1.212, allocations: 20.78 MB / 0.5325 GB, free: 165.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.212, allocations: 184.8 kB / 0.5326 GB, free: 165 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.223, allocations: 4.766 MB / 0.5373 GB, free: 164.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00079/1.224, allocations: 59.09 kB / 0.5373 GB, free: 164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003362/1.227, allocations: 3.395 MB / 0.5407 GB, free: 162 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.229, allocations: 0.8906 MB / 0.5415 GB, free: 161.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/1.23, allocations: 0.5835 MB / 0.5421 GB, free: 161.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/1.23, allocations: 305.6 kB / 0.5424 GB, free: 160.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005549/1.236, allocations: 2.706 MB / 0.545 GB, free: 159.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007334/1.243, allocations: 6.617 MB / 0.5515 GB, free: 153.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.254, allocations: 10.08 MB / 0.5613 GB, free: 145.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/1.255, allocations: 39.28 kB / 0.5614 GB, free: 145.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02013/1.275, allocations: 10.18 MB / 0.5713 GB, free: 141.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.275, allocations: 64 kB / 0.5714 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.275, allocations: 139.9 kB / 0.5715 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/1.278, allocations: 1.2 MB / 0.5727 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005576/1.284, allocations: 1.606 MB / 0.5743 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00776/1.291, allocations: 6.799 MB / 0.5809 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007343/1.299, allocations: 390 kB / 0.5813 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/1.3, allocations: 408.7 kB / 0.5817 GB, free: 130.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006047/1.307, allocations: 2.368 MB / 0.584 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/1.308, allocations: 410.7 kB / 0.5844 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009582/1.318, allocations: 4.782 MB / 0.589 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.286e-05/1.318, allocations: 28.55 kB / 0.5891 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.103e-05/1.318, allocations: 8 kB / 0.5891 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/1.318, allocations: 11.95 kB / 0.5891 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/1.344, allocations: 10.89 MB / 0.5997 GB, free: 112.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/1.344, allocations: 4 kB / 0.5997 GB, free: 112.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.346, allocations: 431.4 kB / 0.6001 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/1.349, allocations: 1.027 MB / 0.6011 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004019/1.349, allocations: 40 kB / 0.6012 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007864/1.357, allocations: 6.374 MB / 0.6074 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.357, allocations: 8 kB / 0.6074 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.37, allocations: 8.158 MB / 0.6154 GB, free: 96.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/1.373, allocations: 0.8431 MB / 0.6162 GB, free: 95.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/1.374, allocations: 51.92 kB / 0.6162 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.377, allocations: 143.8 kB / 0.6164 GB, free: 95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005121/1.378, allocations: 153.6 kB / 0.6165 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.378, allocations: 63.98 kB / 0.6166 GB, free: 94.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006177/1.384, allocations: 3.05 MB / 0.6196 GB, free: 91.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.384, allocations: 0 / 0.6196 GB, free: 91.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007485/1.392, allocations: 1.193 MB / 0.6207 GB, free: 90.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006417/1.392, allocations: 183.6 kB / 0.6209 GB, free: 90.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009672/1.402, allocations: 6.504 MB / 0.6273 GB, free: 83.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/1.402, allocations: 0.8438 kB / 0.6273 GB, free: 83.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003547/1.406, allocations: 2.404 MB / 0.6296 GB, free: 81.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008764/1.415, allocations: 0.5032 MB / 0.6301 GB, free: 80.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02889/1.444, allocations: 14.13 MB / 0.6439 GB, free: 66.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.448, allocations: 3.669 MB / 0.6475 GB, free: 63.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.45, allocations: 339.4 kB / 0.6478 GB, free: 62.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/1.45, allocations: 4 kB / 0.6478 GB, free: 62.68 MB / 446.1 MB Notification: Performance of Templates: time 0.3942/1.844, allocations: 88.19 MB / 0.7339 GB, free: 123.1 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.Elementary.ForceAndTorqueCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o] Error 1