Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009394, allocations: 91.55 kB / 17.63 MB, free: 6.137 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.001104/0.001105, allocations: 185.2 kB / 18.52 MB, free: 5.297 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.507/1.507, allocations: 223.2 MB / 242.5 MB, free: 320 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.2408/0.2408, allocations: 44.23 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 9 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4502/0.6046, allocations: 79.48 MB / 0.5387 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05027/0.655, allocations: 16.3 MB / 0.5547 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0272/0.6822, allocations: 383.1 kB / 0.555 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01935/0.7016, allocations: 4.224 MB / 0.5591 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04592/0.7476, allocations: 12.19 MB / 0.571 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007609/0.7552, allocations: 0.9253 MB / 0.572 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0918/0.847, allocations: 62.45 MB / 0.6329 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.859, allocations: 7.024 MB / 0.6398 GB, free: 8.852 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.8637, allocations: 1.751 MB / 0.6415 GB, free: 7.094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00529/0.869, allocations: 2.687 MB / 0.6441 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.8702, allocations: 204 kB / 0.6443 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.8735, allocations: 1.104 MB / 0.6454 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.8771, allocations: 2.408 MB / 0.6478 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.8799, allocations: 1.166 MB / 0.6489 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.893, allocations: 7.852 MB / 0.6566 GB, free: 7.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.893, allocations: 0 / 0.6566 GB, free: 7.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.893, allocations: 0 / 0.6566 GB, free: 7.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004163/0.8935, allocations: 0 / 0.6566 GB, free: 7.633 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01532/0.9088, allocations: 5.738 MB / 0.6622 GB, free: 1.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.9088, allocations: 8.031 kB / 0.6622 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.9208, allocations: 2.733 MB / 0.6648 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.9316, allocations: 3.89 MB / 0.6686 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/0.932, allocations: 348.9 kB / 0.669 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.934, allocations: 459.7 kB / 0.6694 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03207/0.9661, allocations: 14.73 MB / 0.6838 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001697/0.9663, allocations: 63.36 kB / 0.6839 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000548/0.9669, allocations: 223.8 kB / 0.6841 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004842/0.9717, allocations: 2.782 MB / 0.6868 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02933/1.001, allocations: 12.73 MB / 0.6992 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4/1.401, allocations: 53.64 MB / 0.7516 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/1.416, allocations: 6.249 MB / 0.7577 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005072/1.421, allocations: 3.855 MB / 0.7615 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/1.441, allocations: 13.28 MB / 0.7744 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/1.441, allocations: 64.41 kB / 0.7745 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 5.821e-06/1.441, allocations: 0 / 0.7745 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.07481/1.516, allocations: 29.6 MB / 0.8034 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.516, allocations: 208 kB / 0.8036 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006988/1.523, allocations: 5.005 MB / 0.8085 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008768/1.524, allocations: 69.7 kB / 0.8086 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.526, allocations: 3.977 MB / 0.8124 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.528, allocations: 1.014 MB / 0.8134 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/1.528, allocations: 144.9 kB / 0.8136 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003579/1.529, allocations: 0.624 MB / 0.8142 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/1.533, allocations: 3.274 MB / 0.8174 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006504/1.54, allocations: 7.409 MB / 0.8246 GB, free: 91.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/1.546, allocations: 4.81 MB / 0.8293 GB, free: 86.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.09e-05/1.547, allocations: 40 kB / 0.8293 GB, free: 86.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.02305/1.57, allocations: 12.53 MB / 0.8416 GB, free: 73.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.57, allocations: 73.83 kB / 0.8417 GB, free: 73.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.57, allocations: 140 kB / 0.8418 GB, free: 73.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005103/1.575, allocations: 2.265 MB / 0.844 GB, free: 71.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006608/1.582, allocations: 1.715 MB / 0.8457 GB, free: 69.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/1.597, allocations: 13.48 MB / 0.8588 GB, free: 55.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00762/1.605, allocations: 454.4 kB / 0.8593 GB, free: 55.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.607, allocations: 435.9 kB / 0.8597 GB, free: 54.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (900): * Single equations (assignments): 895 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00742/1.614, allocations: 2.8 MB / 0.8624 GB, free: 52.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.616, allocations: 458.1 kB / 0.8629 GB, free: 51.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.627, allocations: 6.997 MB / 0.8697 GB, free: 44.58 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/1.628, allocations: 28 kB / 0.8697 GB, free: 44.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.628, allocations: 12 kB / 0.8697 GB, free: 44.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-05/1.628, allocations: 15.95 kB / 0.8697 GB, free: 44.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.652, allocations: 14.53 MB / 0.8839 GB, free: 29.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/1.652, allocations: 4 kB / 0.8839 GB, free: 29.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/1.654, allocations: 447.3 kB / 0.8844 GB, free: 29.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00522/1.66, allocations: 2.032 MB / 0.8863 GB, free: 27.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006614/1.66, allocations: 44 kB / 0.8864 GB, free: 27.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/1.678, allocations: 12.71 MB / 0.8988 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.678, allocations: 0 / 0.8988 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.697, allocations: 10.97 MB / 0.9095 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.699, allocations: 0.5107 MB / 0.91 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/1.701, allocations: 44 kB / 0.9101 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.704, allocations: 219.6 kB / 0.9103 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006987/1.705, allocations: 153.8 kB / 0.9104 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003958/1.705, allocations: 68 kB / 0.9105 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.3723/2.077, allocations: 3.126 MB / 0.9135 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.072e-06/2.077, allocations: 0 / 0.9135 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0106/2.088, allocations: 1.481 MB / 0.915 GB, free: 179.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (212): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009154/2.089, allocations: 184.6 kB / 0.9152 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01932/2.108, allocations: 8.05 MB / 0.923 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/2.108, allocations: 1 kB / 0.923 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0088/2.117, allocations: 3.412 MB / 0.9263 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/2.123, allocations: 0.6187 MB / 0.927 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02786/2.151, allocations: 16.83 MB / 0.9434 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005641/2.156, allocations: 4.349 MB / 0.9476 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/2.158, allocations: 373.5 kB / 0.948 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/2.158, allocations: 3.969 kB / 0.948 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1655/2.324, allocations: 131.8 MB / 1.077 GB, free: 37.18 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.o] Error 1