Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 88.42 kB / 17.63 MB, free: 5.719 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.001347/0.001347, allocations: 183.1 kB / 18.52 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 242.5 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2497/0.2497, allocations: 44.22 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 61.91 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4214/0.5744, allocations: 90.22 MB / 0.5492 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05589/0.6303, allocations: 18.11 MB / 0.5669 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02859/0.659, allocations: 440.8 kB / 0.5673 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01987/0.6789, allocations: 4.856 MB / 0.5721 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04614/0.7251, allocations: 14.16 MB / 0.5859 GB, free: 96 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008233/0.7333, allocations: 1.261 MB / 0.5871 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01493/0.7483, allocations: 8.914 MB / 0.5958 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01699/0.7653, allocations: 9.036 MB / 0.6046 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006832/0.7722, allocations: 2.449 MB / 0.607 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007597/0.7798, allocations: 3.521 MB / 0.6105 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003075/0.7829, allocations: 256 kB / 0.6107 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006328/0.7893, allocations: 0.9714 MB / 0.6117 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0071/0.7964, allocations: 3.144 MB / 0.6147 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00455/0.801, allocations: 1.431 MB / 0.6161 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.816, allocations: 9.278 MB / 0.6252 GB, free: 7.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.816, allocations: 0 / 0.6252 GB, free: 7.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.816, allocations: 0 / 0.6252 GB, free: 7.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005759/0.8166, allocations: 0 / 0.6252 GB, free: 7.68 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01893/0.8355, allocations: 7.288 MB / 0.6323 GB, free: 312 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8356, allocations: 12.03 kB / 0.6323 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.8459, allocations: 2.638 MB / 0.6349 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.8567, allocations: 4.498 MB / 0.6393 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005199/0.8572, allocations: 434.9 kB / 0.6397 GB, free: 8.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/0.8598, allocations: 0.5544 MB / 0.6403 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/0.8992, allocations: 17.44 MB / 0.6573 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.8995, allocations: 71.39 kB / 0.6573 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/0.9006, allocations: 267.8 kB / 0.6576 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004904/0.9055, allocations: 3.178 MB / 0.6607 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03093/0.9365, allocations: 13.39 MB / 0.6738 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7116/1.648, allocations: 65.96 MB / 0.7382 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/1.664, allocations: 5.386 MB / 0.7435 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003272/1.667, allocations: 2.111 MB / 0.7455 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/1.684, allocations: 10.01 MB / 0.7553 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.684, allocations: 57.75 kB / 0.7553 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.949e-06/1.684, allocations: 0 / 0.7553 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.0403/1.724, allocations: 14.21 MB / 0.7692 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.724, allocations: 151.6 kB / 0.7694 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00971/1.734, allocations: 6.341 MB / 0.7756 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004017/1.734, allocations: 57.53 kB / 0.7756 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.737, allocations: 5.243 MB / 0.7807 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009224/1.738, allocations: 0.8212 MB / 0.7815 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.739, allocations: 169.1 kB / 0.7817 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003308/1.739, allocations: 0.6676 MB / 0.7824 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/1.742, allocations: 2.308 MB / 0.7846 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00546/1.748, allocations: 7.742 MB / 0.7922 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/1.753, allocations: 4.083 MB / 0.7962 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.753, allocations: 56 kB / 0.7962 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01784/1.771, allocations: 9.677 MB / 0.8057 GB, free: 92.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/1.772, allocations: 90.19 kB / 0.8057 GB, free: 92.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003286/1.772, allocations: 192 kB / 0.8059 GB, free: 92.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/1.772, allocations: 284.2 kB / 0.8062 GB, free: 92.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005881/1.778, allocations: 1.942 MB / 0.8081 GB, free: 90.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003479/1.778, allocations: 382.5 kB / 0.8085 GB, free: 89.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/1.785, allocations: 417.3 kB / 0.8089 GB, free: 89.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.786, allocations: 0.5173 MB / 0.8094 GB, free: 88.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1055): * Single equations (assignments): 1044 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007896/1.794, allocations: 3.411 MB / 0.8127 GB, free: 85.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00172/1.796, allocations: 0.5321 MB / 0.8132 GB, free: 84.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/1.798, allocations: 0.6287 MB / 0.8138 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/1.798, allocations: 24 kB / 0.8138 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.372e-05/1.798, allocations: 0 / 0.8138 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/1.798, allocations: 7.969 kB / 0.8139 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02385/1.822, allocations: 15.25 MB / 0.8287 GB, free: 68.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/1.822, allocations: 44 kB / 0.8288 GB, free: 68.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.824, allocations: 447.1 kB / 0.8292 GB, free: 67.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-05/1.824, allocations: 68.81 kB / 0.8293 GB, free: 67.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.824, allocations: 104 kB / 0.8294 GB, free: 67.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.453e-05/1.824, allocations: 95.64 kB / 0.8295 GB, free: 67.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.401e-05/1.824, allocations: 75.69 kB / 0.8295 GB, free: 67.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/1.828, allocations: 4.287 MB / 0.8337 GB, free: 62.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.83, allocations: 0.6421 MB / 0.8344 GB, free: 61.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/1.83, allocations: 111.9 kB / 0.8345 GB, free: 61.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.832, allocations: 120.6 kB / 0.8346 GB, free: 61.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.832, allocations: 302.7 kB / 0.8349 GB, free: 61.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.832, allocations: 133.9 kB / 0.835 GB, free: 61.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006032/1.838, allocations: 3.941 MB / 0.8388 GB, free: 57.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.838, allocations: 0 / 0.8388 GB, free: 57.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008685/1.847, allocations: 1.372 MB / 0.8402 GB, free: 55.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * Number of states: 0 () * 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 (238): * Single equations (assignments): 235 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007225/1.848, allocations: 271.2 kB / 0.8404 GB, free: 55.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007764/1.855, allocations: 5.361 MB / 0.8457 GB, free: 50.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.618e-05/1.856, allocations: 12.06 kB / 0.8457 GB, free: 50.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.857, allocations: 1.188 MB / 0.8469 GB, free: 49.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/1.863, allocations: 0.887 MB / 0.8477 GB, free: 48.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/1.891, allocations: 19.21 MB / 0.8665 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/1.898, allocations: 5.243 MB / 0.8716 GB, free: 23.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.899, allocations: 423.4 kB / 0.872 GB, free: 22.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.743e-06/1.899, allocations: 0 / 0.872 GB, free: 22.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.4685/2.367, allocations: 85.78 MB / 0.9558 GB, free: 172.4 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.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 OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o] Error 1