Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008485/0.0008484, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009733/0.0009733, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004321, allocations: 12 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 63.46 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0359/0.2192, allocations: 34.12 MB / 0.5041 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3946/0.6139, allocations: 7.244 MB / 0.5112 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008398/0.6223, allocations: 153.2 kB / 0.5114 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006069/0.6284, allocations: 1.507 MB / 0.5128 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.6462, allocations: 4.409 MB / 0.5171 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.6485, allocations: 241.6 kB / 0.5174 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005852/0.6544, allocations: 2.697 MB / 0.52 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005836/0.6602, allocations: 2.973 MB / 0.5229 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.662, allocations: 0.6876 MB / 0.5236 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.6641, allocations: 1.03 MB / 0.5246 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.6646, allocations: 87.34 kB / 0.5247 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.6659, allocations: 0.5288 MB / 0.5252 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.6671, allocations: 0.9864 MB / 0.5262 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.6677, allocations: 0.5242 MB / 0.5267 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.6718, allocations: 3.419 MB / 0.53 GB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6718, allocations: 2.875 kB / 0.53 GB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6718, allocations: 0 / 0.53 GB, free: 5.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000166/0.672, allocations: 1.594 kB / 0.53 GB, free: 5.797 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005708/0.6777, allocations: 2.454 MB / 0.5324 GB, free: 4.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6778, allocations: 13.27 kB / 0.5324 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/0.6826, allocations: 1.625 MB / 0.534 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.6854, allocations: 1.332 MB / 0.5353 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.6855, allocations: 146.5 kB / 0.5354 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.6859, allocations: 189.1 kB / 0.5356 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.698, allocations: 6.416 MB / 0.5419 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/0.6981, allocations: 13 kB / 0.5419 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.6984, allocations: 90.72 kB / 0.542 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.7005, allocations: 1.405 MB / 0.5434 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.7109, allocations: 5.459 MB / 0.5487 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.7393, allocations: 20.59 MB / 0.5688 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.7435, allocations: 1.999 MB / 0.5708 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009846/0.7445, allocations: 0.6992 MB / 0.5714 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006911/0.7515, allocations: 3.634 MB / 0.575 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.7515, allocations: 35 kB / 0.575 GB, free: 3.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.44e-06/0.7516, allocations: 4 kB / 0.575 GB, free: 3.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005542/0.7571, allocations: 1.976 MB / 0.577 GB, free: 1.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.7572, allocations: 63.78 kB / 0.577 GB, free: 1.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.7612, allocations: 1.954 MB / 0.5789 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.7613, allocations: 29.7 kB / 0.579 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.7629, allocations: 1.884 MB / 0.5808 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.7633, allocations: 324 kB / 0.5811 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.7635, allocations: 56 kB / 0.5812 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003728/0.7639, allocations: 493.3 kB / 0.5816 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.7655, allocations: 0.8725 MB / 0.5825 GB, free: 11.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.7684, allocations: 2.766 MB / 0.5852 GB, free: 7.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.771, allocations: 1.564 MB / 0.5867 GB, free: 6.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.415e-05/0.771, allocations: 20 kB / 0.5867 GB, free: 6.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006148/0.7772, allocations: 3.522 MB / 0.5902 GB, free: 2.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.7773, allocations: 32 kB / 0.5902 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/0.7774, allocations: 68 kB / 0.5903 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.7775, allocations: 96 kB / 0.5903 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.7794, allocations: 0.6667 MB / 0.591 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/0.7795, allocations: 131.4 kB / 0.5911 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.7817, allocations: 429.1 kB / 0.5915 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.782, allocations: 186.8 kB / 0.5917 GB, free: 1.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002642/0.7846, allocations: 1.365 MB / 0.593 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.7849, allocations: 163.4 kB / 0.5932 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.7854, allocations: 197.2 kB / 0.5934 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.7854, allocations: 8 kB / 0.5934 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.7854, allocations: 3.953 kB / 0.5934 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.7854, allocations: 7.984 kB / 0.5934 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.7924, allocations: 4.086 MB / 0.5974 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.7925, allocations: 8 kB / 0.5974 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.793, allocations: 104.7 kB / 0.5975 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.47e-05/0.7931, allocations: 15.98 kB / 0.5975 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.7932, allocations: 22.61 kB / 0.5975 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-05/0.7932, allocations: 15.94 kB / 0.5976 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/0.7932, allocations: 11.94 kB / 0.5976 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.795, allocations: 1.251 MB / 0.5988 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.7955, allocations: 262.6 kB / 0.599 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.7957, allocations: 19.98 kB / 0.5991 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.7961, allocations: 31.94 kB / 0.5991 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.7962, allocations: 57.31 kB / 0.5991 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.7963, allocations: 38.72 kB / 0.5992 GB, free: 9.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.7983, allocations: 1.264 MB / 0.6004 GB, free: 8.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7983, allocations: 0 / 0.6004 GB, free: 8.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002998/0.8013, allocations: 0.7096 MB / 0.6011 GB, free: 7.348 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003514/0.8017, allocations: 154.9 kB / 0.6013 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.805, allocations: 2.021 MB / 0.6032 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8051, allocations: 0 / 0.6032 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.8056, allocations: 463.5 kB / 0.6037 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.8069, allocations: 229.5 kB / 0.6039 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.8172, allocations: 6.617 MB / 0.6104 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/0.8196, allocations: 2.32 MB / 0.6126 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.8201, allocations: 143.4 kB / 0.6128 GB, free: 11.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8201, allocations: 0 / 0.6128 GB, free: 11.28 MB / 462.1 MB Notification: Performance of Templates: time 0.05282/0.8729, allocations: 30.13 MB / 0.6422 GB, free: 13.2 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2CalcHelperMain.o] Error 1