Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008051/0.0008049, allocations: 91.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 206.6 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.71/1.71, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.3781/0.5249, allocations: 51.59 MB / 410.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04/0.5649, allocations: 11.11 MB / 421.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01727/0.5823, allocations: 243.4 kB / 421.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.5941, allocations: 2.698 MB / 424.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03058/0.6248, allocations: 7.993 MB / 432.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.63, allocations: 0.6163 MB / 433 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04808/0.6781, allocations: 32.78 MB / 465.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00852/0.6866, allocations: 5.001 MB / 470.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.6895, allocations: 1.308 MB / 472.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/0.6928, allocations: 1.951 MB / 474.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000575/0.6934, allocations: 144 kB / 474.2 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.6955, allocations: 0.9401 MB / 475.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.6975, allocations: 1.792 MB / 477 MB, free: 5.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.6986, allocations: 0.8816 MB / 477.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.7055, allocations: 5.849 MB / 483.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.7055, allocations: 0 / 483.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7055, allocations: 0 / 483.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002342/0.7058, allocations: 3.938 kB / 483.7 MB, free: 14.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01083/0.7166, allocations: 4.344 MB / 488 MB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7167, allocations: 12.03 kB / 488 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008722/0.7254, allocations: 2.228 MB / 490.3 MB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007181/0.7326, allocations: 2.721 MB / 493 MB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.7329, allocations: 246.3 kB / 493.2 MB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.7339, allocations: 323.8 kB / 493.5 MB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.7551, allocations: 10.81 MB / 0.4925 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.7552, allocations: 47.58 kB / 0.4926 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003991/0.7556, allocations: 155.8 kB / 0.4927 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.7592, allocations: 2.15 MB / 0.4948 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.778, allocations: 9.195 MB / 0.5038 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3542/1.132, allocations: 41.82 MB / 0.5446 GB, free: 123 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/1.145, allocations: 4.493 MB / 0.549 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/1.149, allocations: 2.494 MB / 0.5515 GB, free: 122.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/1.162, allocations: 7.379 MB / 0.5587 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/1.162, allocations: 57.78 kB / 0.5587 GB, free: 118.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.979e-06/1.162, allocations: 0 / 0.5587 GB, free: 118.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04457/1.207, allocations: 18.74 MB / 0.577 GB, free: 110.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/1.207, allocations: 171.5 kB / 0.5772 GB, free: 109.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006081/1.213, allocations: 4.58 MB / 0.5817 GB, free: 105.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000454/1.213, allocations: 59.11 kB / 0.5817 GB, free: 105.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/1.215, allocations: 3.205 MB / 0.5849 GB, free: 102.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008322/1.216, allocations: 0.7642 MB / 0.5856 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/1.217, allocations: 124 kB / 0.5857 GB, free: 101.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002989/1.217, allocations: 0.5781 MB / 0.5863 GB, free: 100.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/1.22, allocations: 2.363 MB / 0.5886 GB, free: 98.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004944/1.225, allocations: 6.099 MB / 0.5945 GB, free: 90.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/1.23, allocations: 3.727 MB / 0.5982 GB, free: 86.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/1.23, allocations: 40 kB / 0.5982 GB, free: 86.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=827) (initialization): time 0.01508/1.245, allocations: 9.282 MB / 0.6073 GB, free: 77.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.245, allocations: 64 kB / 0.6074 GB, free: 77.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.245, allocations: 128 kB / 0.6075 GB, free: 77.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/1.248, allocations: 1.22 MB / 0.6087 GB, free: 76.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/1.252, allocations: 1.446 MB / 0.6101 GB, free: 74.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/1.259, allocations: 6.759 MB / 0.6167 GB, free: 67.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.265, allocations: 357.3 kB / 0.617 GB, free: 67.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007276/1.265, allocations: 381.8 kB / 0.6174 GB, free: 67.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (769): * Single equations (assignments): 763 * 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.004038/1.269, allocations: 2.228 MB / 0.6196 GB, free: 64.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009055/1.27, allocations: 386.9 kB / 0.6199 GB, free: 64.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/1.277, allocations: 4.054 MB / 0.6239 GB, free: 60.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.449e-05/1.277, allocations: 23.94 kB / 0.6239 GB, free: 60.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.277, allocations: 12 kB / 0.6239 GB, free: 60.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.278, allocations: 11.91 kB / 0.6239 GB, free: 60.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/1.298, allocations: 9.629 MB / 0.6333 GB, free: 50.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/1.298, allocations: 8 kB / 0.6333 GB, free: 50.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.3, allocations: 320.2 kB / 0.6336 GB, free: 50.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/1.303, allocations: 1.025 MB / 0.6346 GB, free: 49.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/1.303, allocations: 36 kB / 0.6347 GB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/1.311, allocations: 6.351 MB / 0.6409 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/1.311, allocations: 12.72 kB / 0.6409 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.321, allocations: 7.016 MB / 0.6477 GB, free: 35.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.323, allocations: 475.4 kB / 0.6482 GB, free: 35.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.324, allocations: 44.7 kB / 0.6482 GB, free: 35.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.327, allocations: 123.7 kB / 0.6484 GB, free: 34.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/1.327, allocations: 126.6 kB / 0.6485 GB, free: 34.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.327, allocations: 60 kB / 0.6485 GB, free: 34.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00561/1.333, allocations: 2.925 MB / 0.6514 GB, free: 31.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.333, allocations: 0 / 0.6514 GB, free: 31.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007551/1.34, allocations: 1.078 MB / 0.6525 GB, free: 30.79 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 (157): * Single equations (assignments): 153 * 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.0009597/1.341, allocations: 182.5 kB / 0.6526 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009301/1.351, allocations: 5.753 MB / 0.6582 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.351, allocations: 0 / 0.6582 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003463/1.354, allocations: 2.06 MB / 0.6603 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/1.359, allocations: 495.3 kB / 0.6607 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/1.386, allocations: 12.45 MB / 0.6729 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003971/1.39, allocations: 3.449 MB / 0.6763 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.391, allocations: 311.4 kB / 0.6765 GB, free: 5.992 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/1.391, allocations: 4 kB / 0.6766 GB, free: 5.988 MB / 446.1 MB Notification: Performance of Templates: time 0.4228/1.814, allocations: 81.41 MB / 0.7561 GB, free: 136.7 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorqueCalcHelperMain.o] Error 1