Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009448/0.0009445, allocations: 89.59 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1686, allocations: 63.47 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03846/0.2071, allocations: 34.12 MB / 0.5041 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4182/0.6254, allocations: 7.24 MB / 0.5112 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009959/0.6355, allocations: 154.5 kB / 0.5114 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005948/0.6414, allocations: 1.506 MB / 0.5128 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01594/0.6574, allocations: 4.401 MB / 0.5171 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.6592, allocations: 249.1 kB / 0.5174 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.6647, allocations: 2.692 MB / 0.52 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005872/0.6706, allocations: 2.977 MB / 0.5229 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.6723, allocations: 0.6866 MB / 0.5236 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.6739, allocations: 1.027 MB / 0.5246 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.6742, allocations: 88.64 kB / 0.5247 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.6754, allocations: 0.5339 MB / 0.5252 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.6765, allocations: 0.9918 MB / 0.5262 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.677, allocations: 0.5213 MB / 0.5267 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.6808, allocations: 3.418 MB / 0.53 GB, free: 5.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6808, allocations: 0 / 0.53 GB, free: 5.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6808, allocations: 0 / 0.53 GB, free: 5.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-05/0.6809, allocations: 1.375 kB / 0.53 GB, free: 5.816 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.004322/0.6852, allocations: 2.455 MB / 0.5324 GB, free: 4.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6852, allocations: 9.5 kB / 0.5324 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.6899, allocations: 1.626 MB / 0.534 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.6921, allocations: 1.322 MB / 0.5353 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6922, allocations: 148.1 kB / 0.5354 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.6925, allocations: 188.5 kB / 0.5356 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.7026, allocations: 6.42 MB / 0.5419 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.7027, allocations: 15.69 kB / 0.5419 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.7029, allocations: 93.02 kB / 0.542 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.705, allocations: 1.405 MB / 0.5434 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.715, allocations: 5.46 MB / 0.5487 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02921/0.7443, allocations: 20.6 MB / 0.5688 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.7484, allocations: 1.999 MB / 0.5708 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009355/0.7493, allocations: 0.6875 MB / 0.5714 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006766/0.7561, allocations: 3.636 MB / 0.575 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.7562, allocations: 35 kB / 0.575 GB, free: 3.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 7.023e-06/0.7562, allocations: 3.938 kB / 0.575 GB, free: 3.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005406/0.7616, allocations: 1.99 MB / 0.577 GB, free: 1.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.7617, allocations: 59.84 kB / 0.577 GB, free: 1.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.766, allocations: 1.948 MB / 0.5789 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.7661, allocations: 33.7 kB / 0.5789 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.7679, allocations: 1.885 MB / 0.5808 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.7683, allocations: 313.2 kB / 0.5811 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.7685, allocations: 56 kB / 0.5811 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003254/0.7688, allocations: 0.4915 MB / 0.5816 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.7702, allocations: 0.8764 MB / 0.5825 GB, free: 11.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.7728, allocations: 2.758 MB / 0.5852 GB, free: 7.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.775, allocations: 1.56 MB / 0.5867 GB, free: 6.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/0.775, allocations: 20 kB / 0.5867 GB, free: 6.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00566/0.7807, allocations: 3.529 MB / 0.5902 GB, free: 2.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.7807, allocations: 33 kB / 0.5902 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.76e-05/0.7808, allocations: 68 kB / 0.5903 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.7809, allocations: 100 kB / 0.5904 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.7827, allocations: 0.6667 MB / 0.591 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001085/0.7829, allocations: 127.5 kB / 0.5911 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.7851, allocations: 421.1 kB / 0.5915 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/0.7854, allocations: 194.6 kB / 0.5917 GB, free: 1.223 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.00319/0.7886, allocations: 1.366 MB / 0.593 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.789, allocations: 161.7 kB / 0.5932 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.7894, allocations: 197.2 kB / 0.5934 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.7894, allocations: 8 kB / 0.5934 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.7894, allocations: 3.953 kB / 0.5934 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7895, allocations: 3.984 kB / 0.5934 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/0.7964, allocations: 4.085 MB / 0.5974 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7964, allocations: 9.531 kB / 0.5974 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.7968, allocations: 103.8 kB / 0.5975 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.7969, allocations: 12 kB / 0.5975 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.7969, allocations: 23.89 kB / 0.5975 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/0.797, allocations: 19.92 kB / 0.5976 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.797, allocations: 11.94 kB / 0.5976 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.7986, allocations: 1.259 MB / 0.5988 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.7991, allocations: 258.6 kB / 0.599 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7993, allocations: 20 kB / 0.5991 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.7997, allocations: 27.94 kB / 0.5991 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7998, allocations: 55.83 kB / 0.5991 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.7999, allocations: 34.42 kB / 0.5992 GB, free: 9.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001962/0.8018, allocations: 1.271 MB / 0.6004 GB, free: 8.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.8018, allocations: 0 / 0.6004 GB, free: 8.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002987/0.8048, allocations: 0.7075 MB / 0.6011 GB, free: 7.344 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.0004447/0.8053, allocations: 150 kB / 0.6012 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00314/0.8084, allocations: 2.018 MB / 0.6032 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8085, allocations: 0 / 0.6032 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.809, allocations: 468.7 kB / 0.6037 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.8102, allocations: 244.9 kB / 0.6039 GB, free: 4.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.8217, allocations: 6.613 MB / 0.6104 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002679/0.8244, allocations: 2.312 MB / 0.6126 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.8249, allocations: 151.4 kB / 0.6128 GB, free: 11.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.983e-06/0.8249, allocations: 0 / 0.6128 GB, free: 11.28 MB / 462.1 MB Notification: Performance of Templates: time 0.05978/0.8847, allocations: 30.12 MB / 0.6422 GB, free: 13.2 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3CalcHelperMain.o] Error 1