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.001008/0.001008, allocations: 96.62 kB / 16.33 MB, free: 5.945 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.001046/0.001046, allocations: 189.6 kB / 17.22 MB, free: 5.879 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.628/1.628, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.2432/0.2432, allocations: 43.55 MB / 315.2 MB, free: 0.5547 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.0005589/0.0005593, allocations: 13.66 kB / 384.5 MB, free: 57.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.86 MB / 443.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3846/0.512, allocations: 92.53 MB / 0.5234 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04847/0.5605, allocations: 18.43 MB / 0.5414 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02593/0.5865, allocations: 451.9 kB / 0.5418 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01946/0.606, allocations: 4.925 MB / 0.5466 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04888/0.6549, allocations: 14.44 MB / 0.5607 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008142/0.6631, allocations: 1.259 MB / 0.5619 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01601/0.6791, allocations: 9.71 MB / 0.5714 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01798/0.6972, allocations: 9.281 MB / 0.5805 GB, free: 24 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.7046, allocations: 2.663 MB / 0.5831 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008372/0.713, allocations: 3.989 MB / 0.587 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002894/0.7159, allocations: 296 kB / 0.5873 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/0.7215, allocations: 0.9796 MB / 0.5882 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006869/0.7284, allocations: 3.474 MB / 0.5916 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004267/0.7327, allocations: 1.597 MB / 0.5932 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.7475, allocations: 10.44 MB / 0.6034 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.7475, allocations: 4 kB / 0.6034 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7476, allocations: 1.859 kB / 0.6034 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005976/0.7482, allocations: 0 / 0.6034 GB, free: 12.48 MB / 446.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.02214/0.7703, allocations: 7.914 MB / 0.6111 GB, free: 5.152 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.7704, allocations: 11.97 kB / 0.6111 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.7826, allocations: 2.773 MB / 0.6138 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.7941, allocations: 4.934 MB / 0.6186 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/0.7948, allocations: 485.9 kB / 0.6191 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/0.7979, allocations: 0.6164 MB / 0.6197 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04567/0.8436, allocations: 19.49 MB / 0.6387 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004303/0.8441, allocations: 79.25 kB / 0.6388 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/0.8466, allocations: 292.1 kB / 0.6391 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006143/0.8528, allocations: 3.643 MB / 0.6426 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03579/0.8886, allocations: 15.13 MB / 0.6574 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6194/1.508, allocations: 72.95 MB / 0.7287 GB, free: 195.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.527, allocations: 6.105 MB / 0.7346 GB, free: 194.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005071/1.533, allocations: 2.535 MB / 0.7371 GB, free: 194.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/1.553, allocations: 11.17 MB / 0.748 GB, free: 191.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/1.553, allocations: 70.72 kB / 0.7481 GB, free: 191.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=250): time 6.983e-06/1.553, allocations: 0 / 0.7481 GB, free: 191.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=274): time 0.03822/1.591, allocations: 16.36 MB / 0.7641 GB, free: 186 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.592, allocations: 160.1 kB / 0.7642 GB, free: 185.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008961/1.601, allocations: 6.731 MB / 0.7708 GB, free: 183.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005566/1.601, allocations: 66.72 kB / 0.7708 GB, free: 183.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004344/1.605, allocations: 5.734 MB / 0.7764 GB, free: 178.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.607, allocations: 1.066 MB / 0.7775 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/1.607, allocations: 188 kB / 0.7777 GB, free: 177.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003846/1.608, allocations: 0.7086 MB / 0.7784 GB, free: 177.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/1.612, allocations: 2.733 MB / 0.781 GB, free: 175.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00661/1.618, allocations: 8.629 MB / 0.7895 GB, free: 166.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/1.624, allocations: 4.683 MB / 0.794 GB, free: 164 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.934e-05/1.624, allocations: 60.28 kB / 0.7941 GB, free: 163.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01556/1.64, allocations: 11.05 MB / 0.8049 GB, free: 152.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.64, allocations: 92 kB / 0.805 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/1.64, allocations: 208 kB / 0.8052 GB, free: 152.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/1.641, allocations: 304.8 kB / 0.8055 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006284/1.647, allocations: 2.215 MB / 0.8076 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002423/1.647, allocations: 410.4 kB / 0.808 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007101/1.654, allocations: 464.4 kB / 0.8084 GB, free: 149.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.655, allocations: 0.5796 MB / 0.809 GB, free: 148.7 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007139/1.663, allocations: 3.76 MB / 0.8127 GB, free: 144.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.664, allocations: 0.5862 MB / 0.8133 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/1.669, allocations: 2.972 MB / 0.8162 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/1.669, allocations: 30.84 kB / 0.8162 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.669, allocations: 1.125 kB / 0.8162 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.669, allocations: 15.95 kB / 0.8162 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03031/1.699, allocations: 25.12 MB / 0.8407 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-05/1.699, allocations: 64 kB / 0.8408 GB, free: 115.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.701, allocations: 0.6082 MB / 0.8414 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.788e-05/1.701, allocations: 92 kB / 0.8415 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.701, allocations: 139 kB / 0.8416 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.96e-05/1.701, allocations: 128.7 kB / 0.8417 GB, free: 114.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-05/1.701, allocations: 99.56 kB / 0.8418 GB, free: 114.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/1.707, allocations: 5.86 MB / 0.8475 GB, free: 107.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.709, allocations: 0.7197 MB / 0.8483 GB, free: 106.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/1.709, allocations: 144 kB / 0.8484 GB, free: 106.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.712, allocations: 165.7 kB / 0.8485 GB, free: 106.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.712, allocations: 422.2 kB / 0.849 GB, free: 105.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.712, allocations: 176 kB / 0.8491 GB, free: 105.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007247/1.719, allocations: 4.188 MB / 0.8532 GB, free: 101.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.32e-07/1.719, allocations: 0 / 0.8532 GB, free: 101.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01001/1.729, allocations: 1.569 MB / 0.8547 GB, free: 99.87 MB / 0.545 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 (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.0008274/1.73, allocations: 331.5 kB / 0.8551 GB, free: 99.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009942/1.74, allocations: 6.393 MB / 0.8613 GB, free: 93.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.552e-05/1.74, allocations: 12 kB / 0.8613 GB, free: 93.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/1.743, allocations: 1.633 MB / 0.8629 GB, free: 91.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007106/1.75, allocations: 0.9611 MB / 0.8638 GB, free: 90.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/1.782, allocations: 22.19 MB / 0.8855 GB, free: 67.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006715/1.789, allocations: 5.78 MB / 0.8912 GB, free: 61.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/1.791, allocations: 495.4 kB / 0.8916 GB, free: 61.18 MB / 0.545 GB Notification: Performance of SimCode: time 2.013e-06/1.791, allocations: 0 / 0.8916 GB, free: 61.18 MB / 0.545 GB Notification: Performance of Templates: time 0.4655/2.256, allocations: 96.88 MB / 0.9862 GB, free: 159.5 MB / 0.545 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++ 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_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