Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_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.001501/0.001501, allocations: 103.3 kB / 16.52 MB, free: 6.672 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.001861/0.001861, allocations: 199.4 kB / 17.44 MB, free: 6.059 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.831/1.831, allocations: 205.1 MB / 223.3 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2593/0.2593, allocations: 43.52 MB / 314.1 MB, free: 0.7422 MB / 254.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.001657/0.001657, allocations: 70.88 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1447, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.1064/0.2511, allocations: 101.9 MB / 0.5297 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4598/0.7109, allocations: 19.25 MB / 0.5485 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03746/0.7484, allocations: 453.9 kB / 0.5489 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01346/0.7619, allocations: 6.132 MB / 0.5549 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.7744, allocations: 3.009 MB / 0.5578 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.7803, allocations: 1.495 MB / 0.5593 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02361/0.8039, allocations: 12.2 MB / 0.5712 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01722/0.8212, allocations: 7.707 MB / 0.5787 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009656/0.8309, allocations: 2.966 MB / 0.5816 GB, free: 5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.8411, allocations: 4.634 MB / 0.5862 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.8448, allocations: 0.4961 MB / 0.5866 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007178/0.852, allocations: 1.386 MB / 0.588 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007628/0.8596, allocations: 3.847 MB / 0.5918 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.8712, allocations: 4.303 MB / 0.596 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01877/0.89, allocations: 10.68 MB / 0.6064 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.8901, allocations: 0 / 0.6064 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8901, allocations: 3.938 kB / 0.6064 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007975/0.8909, allocations: 0 / 0.6064 GB, free: 13.43 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03773/0.9287, allocations: 9.532 MB / 0.6157 GB, free: 4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.637e-05/0.9288, allocations: 8.031 kB / 0.6157 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/0.9436, allocations: 2.71 MB / 0.6184 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.9588, allocations: 5.04 MB / 0.6233 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000801/0.9597, allocations: 489 kB / 0.6237 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/0.9637, allocations: 0.614 MB / 0.6243 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05446/1.018, allocations: 19.48 MB / 0.6434 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000682/1.019, allocations: 75.34 kB / 0.6434 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004533/1.024, allocations: 300.3 kB / 0.6437 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01017/1.034, allocations: 3.647 MB / 0.6473 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05357/1.087, allocations: 15.17 MB / 0.6621 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1443/1.232, allocations: 73.12 MB / 0.7335 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/1.252, allocations: 6.1 MB / 0.7395 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00566/1.258, allocations: 2.551 MB / 0.742 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.655/1.913, allocations: 11.15 MB / 0.7528 GB, free: 242 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/1.913, allocations: 58.31 kB / 0.7529 GB, free: 242 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=250): time 7.554e-06/1.913, allocations: 7.234 kB / 0.7529 GB, free: 242 MB / 0.5763 GB Notification: Performance of matching and sorting (n=274): time 0.04765/1.961, allocations: 16.34 MB / 0.7689 GB, free: 235.4 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.961, allocations: 154 kB / 0.769 GB, free: 235.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.973, allocations: 6.784 MB / 0.7756 GB, free: 232.8 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006953/1.973, allocations: 65.42 kB / 0.7757 GB, free: 232.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004228/1.978, allocations: 5.732 MB / 0.7813 GB, free: 228.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.979, allocations: 1.056 MB / 0.7823 GB, free: 227.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002533/1.982, allocations: 1.896 MB / 0.7842 GB, free: 226.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/1.982, allocations: 301.1 kB / 0.7845 GB, free: 226.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004372/1.986, allocations: 2.769 MB / 0.7872 GB, free: 225.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006824/1.993, allocations: 8.671 MB / 0.7956 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/2.008, allocations: 12.43 MB / 0.8078 GB, free: 199 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003084/2.008, allocations: 60 kB / 0.8078 GB, free: 198.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02477/2.033, allocations: 11.11 MB / 0.8187 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003377/2.033, allocations: 92.19 kB / 0.8188 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004424/2.034, allocations: 212 kB / 0.819 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/2.034, allocations: 277.3 kB / 0.8192 GB, free: 187.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008144/2.042, allocations: 2.211 MB / 0.8214 GB, free: 185 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006078/2.043, allocations: 410.4 kB / 0.8218 GB, free: 184.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/2.054, allocations: 467.5 kB / 0.8222 GB, free: 184.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002962/2.057, allocations: 0.5739 MB / 0.8228 GB, free: 183.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01224/2.07, allocations: 3.762 MB / 0.8265 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/2.072, allocations: 0.5876 MB / 0.827 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/2.079, allocations: 2.988 MB / 0.83 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/2.079, allocations: 28 kB / 0.83 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/2.079, allocations: 3.938 kB / 0.83 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/2.079, allocations: 15.95 kB / 0.83 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04321/2.123, allocations: 25.13 MB / 0.8546 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000252/2.123, allocations: 64 kB / 0.8546 GB, free: 150.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/2.125, allocations: 0.6133 MB / 0.8552 GB, free: 149.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/2.125, allocations: 87.94 kB / 0.8553 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005381/2.126, allocations: 132 kB / 0.8554 GB, free: 149.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.371e-05/2.126, allocations: 128.1 kB / 0.8555 GB, free: 149.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.986e-05/2.126, allocations: 103.6 kB / 0.8556 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00882/2.135, allocations: 5.869 MB / 0.8614 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/2.138, allocations: 0.7273 MB / 0.8621 GB, free: 141.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002596/2.141, allocations: 147.4 kB / 0.8622 GB, free: 141.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004755/2.145, allocations: 147.9 kB / 0.8624 GB, free: 141.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007734/2.146, allocations: 430.1 kB / 0.8628 GB, free: 140.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004155/2.147, allocations: 174.4 kB / 0.8629 GB, free: 140.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01049/2.157, allocations: 4.231 MB / 0.8671 GB, free: 136.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9.62e-07/2.157, allocations: 0 / 0.8671 GB, free: 136.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0125/2.17, allocations: 1.572 MB / 0.8686 GB, free: 134.7 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/2.171, allocations: 338.4 kB / 0.8689 GB, free: 134.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01249/2.184, allocations: 6.433 MB / 0.8752 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.96e-05/2.184, allocations: 8 kB / 0.8752 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/2.187, allocations: 1.647 MB / 0.8768 GB, free: 126.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/2.198, allocations: 0.9518 MB / 0.8778 GB, free: 125.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0457/2.244, allocations: 23.03 MB / 0.9003 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/2.258, allocations: 5.787 MB / 0.9059 GB, free: 95.64 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/2.26, allocations: 499.4 kB / 0.9064 GB, free: 95.15 MB / 0.5763 GB Notification: Performance of SimCode: time 1.382e-06/2.26, allocations: 0 / 0.9064 GB, free: 95.15 MB / 0.5763 GB Notification: Performance of Templates: time 0.5484/2.809, allocations: 97.83 MB / 1.002 GB, free: 187.1 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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 OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorqueCalcHelperMain.o] Error 1