Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 88.47 kB / 17.63 MB, free: 6.293 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.001205/0.001205, allocations: 180.8 kB / 18.52 MB, free: 5.445 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.567/1.567, allocations: 223.2 MB / 242.5 MB, free: 336 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.2482/0.2482, allocations: 44.22 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 12 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4629/0.6273, allocations: 111.9 MB / 0.5704 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06494/0.6923, allocations: 22.2 MB / 0.5921 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0354/0.7277, allocations: 0.5222 MB / 0.5926 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02292/0.7507, allocations: 5.976 MB / 0.5985 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0604/0.8111, allocations: 17.16 MB / 0.6152 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009446/0.8206, allocations: 1.237 MB / 0.6164 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.6193/1.44, allocations: 121.3 MB / 0.7349 GB, free: 96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0165/1.456, allocations: 9.803 MB / 0.7445 GB, free: 95.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006922/1.463, allocations: 2.441 MB / 0.7468 GB, free: 95.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007946/1.471, allocations: 3.862 MB / 0.7506 GB, free: 94.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002538/1.474, allocations: 268 kB / 0.7509 GB, free: 93.99 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005004/1.479, allocations: 1.166 MB / 0.752 GB, free: 93.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.006262/1.485, allocations: 3.402 MB / 0.7553 GB, free: 91.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004769/1.49, allocations: 1.543 MB / 0.7568 GB, free: 90.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01353/1.504, allocations: 10.45 MB / 0.767 GB, free: 81.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.504, allocations: 1.375 kB / 0.767 GB, free: 81.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.056e-06/1.504, allocations: 0 / 0.767 GB, free: 81.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005956/1.504, allocations: 0 / 0.767 GB, free: 81.86 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02165/1.526, allocations: 7.695 MB / 0.7746 GB, free: 74.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.526, allocations: 13.62 kB / 0.7746 GB, free: 74.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/1.543, allocations: 3.664 MB / 0.7782 GB, free: 71.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.56, allocations: 5.997 MB / 0.784 GB, free: 66.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006706/1.561, allocations: 453.2 kB / 0.7844 GB, free: 66.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004746/1.566, allocations: 0.5996 MB / 0.785 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04325/1.609, allocations: 17.87 MB / 0.8025 GB, free: 52.28 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008733/1.61, allocations: 82.27 kB / 0.8026 GB, free: 52.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004359/1.614, allocations: 291 kB / 0.8028 GB, free: 52.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005516/1.62, allocations: 3.136 MB / 0.8059 GB, free: 49.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03313/1.653, allocations: 14.95 MB / 0.8205 GB, free: 39.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/1.759, allocations: 66.43 MB / 0.8854 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.779, allocations: 6.637 MB / 0.8919 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006512/1.785, allocations: 3.876 MB / 0.8956 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.786, allocations: 0.6498 MB / 0.8963 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.229e-05/1.786, allocations: 56.22 kB / 0.8963 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=231): time 6.362e-06/1.786, allocations: 0 / 0.8963 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=255): time 0.09892/1.885, allocations: 31.52 MB / 0.9271 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/1.886, allocations: 291 kB / 0.9274 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02095/1.907, allocations: 7.377 MB / 0.9346 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00142/1.908, allocations: 61.7 kB / 0.9346 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0077/1.916, allocations: 5.254 MB / 0.9398 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002319/1.918, allocations: 1.009 MB / 0.9408 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/1.92, allocations: 184 kB / 0.9409 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.001346/1.921, allocations: 0.6824 MB / 0.9416 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.594/2.515, allocations: 3.401 MB / 0.9449 GB, free: 255.1 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/2.53, allocations: 8.676 MB / 0.9534 GB, free: 248.3 MB / 0.6076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/2.542, allocations: 5.277 MB / 0.9586 GB, free: 247 MB / 0.6076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003084/2.542, allocations: 53.41 kB / 0.9586 GB, free: 247 MB / 0.6076 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03358/2.576, allocations: 13.86 MB / 0.9721 GB, free: 242.5 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/2.576, allocations: 86.97 kB / 0.9722 GB, free: 242.5 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002683/2.576, allocations: 186.1 kB / 0.9724 GB, free: 242.5 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006011/2.582, allocations: 2.344 MB / 0.9747 GB, free: 242.1 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007615/2.59, allocations: 2.05 MB / 0.9767 GB, free: 241.8 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/2.609, allocations: 15.57 MB / 0.9919 GB, free: 232 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.619, allocations: 0.5072 MB / 0.9924 GB, free: 231.5 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002725/2.622, allocations: 0.5223 MB / 0.9929 GB, free: 231 MB / 0.6076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1098): * Single equations (assignments): 1091 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(2,100.0%) 13,(1,100.0%) 14,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0113/2.634, allocations: 3.523 MB / 0.9963 GB, free: 228 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002532/2.636, allocations: 0.6113 MB / 0.9969 GB, free: 227.8 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/2.65, allocations: 6.447 MB / 1.003 GB, free: 221.6 MB / 0.6076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.34e-05/2.65, allocations: 30.08 kB / 1.003 GB, free: 221.6 MB / 0.6076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-05/2.65, allocations: 8 kB / 1.003 GB, free: 221.6 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.867e-05/2.65, allocations: 16.86 kB / 1.003 GB, free: 221.6 MB / 0.6076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/2.684, allocations: 14.55 MB / 1.017 GB, free: 207 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-05/2.684, allocations: 0 / 1.017 GB, free: 207 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/2.686, allocations: 407.4 kB / 1.018 GB, free: 206.6 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006042/2.693, allocations: 1.997 MB / 1.02 GB, free: 204.6 MB / 0.6076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008598/2.693, allocations: 45.33 kB / 1.02 GB, free: 204.6 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/2.709, allocations: 14.45 MB / 1.034 GB, free: 189.8 MB / 0.6076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/2.71, allocations: 4.031 kB / 1.034 GB, free: 189.7 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/2.727, allocations: 10.11 MB / 1.044 GB, free: 179.6 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00296/2.73, allocations: 0.6922 MB / 1.045 GB, free: 178.9 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002505/2.733, allocations: 43.95 kB / 1.045 GB, free: 178.9 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004163/2.737, allocations: 193.5 kB / 1.045 GB, free: 178.7 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/2.738, allocations: 153.7 kB / 1.045 GB, free: 178.5 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004257/2.738, allocations: 64 kB / 1.045 GB, free: 178.5 MB / 0.6076 GB Notification: Performance of sorting global known variables: time 0.01053/2.749, allocations: 4.68 MB / 1.05 GB, free: 173.8 MB / 0.6076 GB Notification: Performance of sort global known variables: time 9.51e-07/2.749, allocations: 0 / 1.05 GB, free: 173.8 MB / 0.6076 GB Notification: Performance of remove unused functions: time 0.01278/2.761, allocations: 1.786 MB / 1.051 GB, free: 172.1 MB / 0.6076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/2.763, allocations: 181.8 kB / 1.051 GB, free: 171.9 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.0156/2.778, allocations: 8.49 MB / 1.06 GB, free: 163.4 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/2.779, allocations: 4 kB / 1.06 GB, free: 163.4 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.004625/2.783, allocations: 2.93 MB / 1.063 GB, free: 160.4 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009437/2.793, allocations: 0.8972 MB / 1.064 GB, free: 159.5 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04548/2.838, allocations: 20.18 MB / 1.083 GB, free: 139.3 MB / 0.6076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00952/2.848, allocations: 5.362 MB / 1.088 GB, free: 133.9 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/2.85, allocations: 455.4 kB / 1.089 GB, free: 133.4 MB / 0.6076 GB Notification: Performance of SimCode: time 1.694e-06/2.85, allocations: 0 / 1.089 GB, free: 133.4 MB / 0.6076 GB Notification: Performance of Templates: time 0.641/3.491, allocations: 230.7 MB / 1.314 GB, free: 156.1 MB / 0.6076 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2CalcHelperMain.o] Error 1