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.0008289/0.0008289, allocations: 90.14 kB / 17.58 MB, free: 5.801 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.0008653/0.0008653, allocations: 181.9 kB / 18.48 MB, free: 5.254 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.655/1.655, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004474/0.0004474, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 47.59 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.3089/0.4184, allocations: 52.54 MB / 381.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03427/0.4528, allocations: 11.18 MB / 392.7 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/0.4683, allocations: 244 kB / 393 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.4807, allocations: 2.724 MB / 395.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03096/0.5118, allocations: 8.119 MB / 403.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.5168, allocations: 0.6273 MB / 404.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02861/0.5454, allocations: 19.43 MB / 423.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008959/0.5544, allocations: 5.112 MB / 429 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.5579, allocations: 1.399 MB / 430.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.5624, allocations: 2.155 MB / 432.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009469/0.5634, allocations: 168 kB / 432.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.5664, allocations: 0.9488 MB / 433.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002592/0.5691, allocations: 1.935 MB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.5707, allocations: 0.9434 MB / 436.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009125/0.5798, allocations: 6.326 MB / 442.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.5799, allocations: 0 / 442.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5799, allocations: 0 / 442.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003409/0.5802, allocations: 8 kB / 442.8 MB, free: 12.87 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01201/0.5923, allocations: 4.578 MB / 447.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.5923, allocations: 8.031 kB / 447.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009076/0.6014, allocations: 2.29 MB / 449.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.6077, allocations: 2.9 MB / 452.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.6079, allocations: 267.6 kB / 452.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/0.6085, allocations: 352.6 kB / 453.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.631, allocations: 11.64 MB / 464.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.6312, allocations: 43.59 kB / 464.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004631/0.6317, allocations: 170.3 kB / 465.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003938/0.6356, allocations: 2.334 MB / 467.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/0.6582, allocations: 9.939 MB / 477.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0716/0.7298, allocations: 44.48 MB / 0.5096 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.7432, allocations: 5.35 MB / 0.5148 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.7474, allocations: 2.813 MB / 0.5176 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/0.7607, allocations: 8.126 MB / 0.5255 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.7608, allocations: 55.83 kB / 0.5256 GB, free: 15.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 5.961e-06/0.7608, allocations: 0 / 0.5256 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.286/1.047, allocations: 20.75 MB / 0.5458 GB, free: 163.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.047, allocations: 184.6 kB / 0.546 GB, free: 163.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008525/1.055, allocations: 4.743 MB / 0.5506 GB, free: 162.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.056, allocations: 58.11 kB / 0.5507 GB, free: 162.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002392/1.058, allocations: 3.392 MB / 0.554 GB, free: 159.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.06, allocations: 0.8878 MB / 0.5549 GB, free: 159 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/1.06, allocations: 135.8 kB / 0.555 GB, free: 158.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004285/1.06, allocations: 0.5955 MB / 0.5556 GB, free: 158.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004493/1.065, allocations: 2.681 MB / 0.5582 GB, free: 157.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005905/1.071, allocations: 6.59 MB / 0.5646 GB, free: 151.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/1.076, allocations: 4.113 MB / 0.5686 GB, free: 149.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/1.076, allocations: 37.75 kB / 0.5687 GB, free: 149.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01363/1.089, allocations: 10.13 MB / 0.5786 GB, free: 145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/1.089, allocations: 64 kB / 0.5786 GB, free: 144.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.416e-05/1.089, allocations: 136 kB / 0.5788 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/1.092, allocations: 1.238 MB / 0.58 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/1.096, allocations: 1.606 MB / 0.5815 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/1.104, allocations: 6.78 MB / 0.5882 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006215/1.11, allocations: 383.5 kB / 0.5885 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/1.111, allocations: 406.2 kB / 0.5889 GB, free: 134.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005993/1.117, allocations: 2.382 MB / 0.5912 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.119, allocations: 421.8 kB / 0.5916 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009258/1.128, allocations: 4.754 MB / 0.5963 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/1.128, allocations: 24 kB / 0.5963 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/1.128, allocations: 8 kB / 0.5963 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/1.128, allocations: 11.95 kB / 0.5963 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.152, allocations: 10.89 MB / 0.607 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/1.152, allocations: 4 kB / 0.607 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.154, allocations: 423.3 kB / 0.6074 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/1.156, allocations: 1.019 MB / 0.6084 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/1.157, allocations: 53.42 kB / 0.6084 GB, free: 114.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/1.164, allocations: 6.367 MB / 0.6146 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.164, allocations: 4 kB / 0.6146 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.176, allocations: 8.125 MB / 0.6226 GB, free: 99.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/1.179, allocations: 0.8585 MB / 0.6234 GB, free: 98.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.18, allocations: 45.55 kB / 0.6235 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.182, allocations: 148.4 kB / 0.6236 GB, free: 98.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004493/1.183, allocations: 153.6 kB / 0.6237 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.183, allocations: 60.94 kB / 0.6238 GB, free: 98.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006259/1.189, allocations: 3.026 MB / 0.6268 GB, free: 95.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.189, allocations: 0 / 0.6268 GB, free: 95.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007898/1.197, allocations: 1.187 MB / 0.6279 GB, free: 94.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008069/1.198, allocations: 187.2 kB / 0.6281 GB, free: 93.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/1.208, allocations: 6.492 MB / 0.6344 GB, free: 87.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.208, allocations: 256 / 0.6344 GB, free: 87.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003646/1.212, allocations: 2.411 MB / 0.6368 GB, free: 85.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005284/1.217, allocations: 0.496 MB / 0.6373 GB, free: 84.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/1.243, allocations: 13.61 MB / 0.6506 GB, free: 70.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005799/1.249, allocations: 3.657 MB / 0.6541 GB, free: 67.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.251, allocations: 343.4 kB / 0.6545 GB, free: 66.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/1.251, allocations: 0 / 0.6545 GB, free: 66.84 MB / 446.1 MB Notification: Performance of Templates: time 0.3762/1.627, allocations: 88.47 MB / 0.7409 GB, free: 137 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++ 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.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