Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.Forces.FrameForcesAndTorques,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 92.41 kB / 16.33 MB, free: 6.398 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.0008503/0.0008503, allocations: 184.2 kB / 17.22 MB, free: 6.289 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.587/1.587, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.23/0.23, allocations: 43.56 MB / 315.2 MB, free: 0.543 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.0005169/0.0005169, allocations: 20.88 kB / 384.5 MB, free: 57.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 58.85 MB / 443.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3976/0.5164, allocations: 88.58 MB / 0.5195 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04821/0.5646, allocations: 17.85 MB / 0.5369 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02495/0.5896, allocations: 414.9 kB / 0.5373 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01802/0.6077, allocations: 4.669 MB / 0.5419 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04421/0.6519, allocations: 13.56 MB / 0.5551 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.6589, allocations: 0.9286 MB / 0.556 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0524/0.7113, allocations: 36.34 MB / 0.5915 GB, free: 4.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.7247, allocations: 7.415 MB / 0.5988 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.7302, allocations: 2.069 MB / 0.6008 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006325/0.7366, allocations: 3.24 MB / 0.604 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001877/0.7385, allocations: 244 kB / 0.6042 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.7425, allocations: 1.139 MB / 0.6053 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005107/0.7476, allocations: 2.876 MB / 0.6081 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.7506, allocations: 1.377 MB / 0.6095 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.7631, allocations: 9.189 MB / 0.6184 GB, free: 14.15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7631, allocations: 0 / 0.6184 GB, free: 14.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.7632, allocations: 0 / 0.6184 GB, free: 14.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004448/0.7636, allocations: 0 / 0.6184 GB, free: 14.15 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01677/0.7804, allocations: 6.693 MB / 0.625 GB, free: 7.984 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.7804, allocations: 8.031 kB / 0.625 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.7932, allocations: 2.925 MB / 0.6278 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009917/0.8032, allocations: 4.47 MB / 0.6322 GB, free: 1.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.8035, allocations: 399.2 kB / 0.6326 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/0.8046, allocations: 0.5158 MB / 0.6331 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02856/0.8332, allocations: 16.9 MB / 0.6496 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.8334, allocations: 71.3 kB / 0.6497 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006116/0.834, allocations: 247.1 kB / 0.6499 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005452/0.8395, allocations: 3.255 MB / 0.6531 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02997/0.8695, allocations: 14.46 MB / 0.6672 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5696/1.439, allocations: 62.74 MB / 0.7285 GB, free: 164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/1.456, allocations: 6.904 MB / 0.7352 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006702/1.463, allocations: 4.238 MB / 0.7394 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/1.477, allocations: 9.67 MB / 0.7488 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/1.477, allocations: 61.56 kB / 0.7489 GB, free: 160 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=297): time 7.334e-06/1.477, allocations: 5.219 kB / 0.7489 GB, free: 160 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339): time 0.08239/1.56, allocations: 34.73 MB / 0.7828 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.56, allocations: 243.7 kB / 0.783 GB, free: 134 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009948/1.57, allocations: 6.712 MB / 0.7896 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009931/1.571, allocations: 77.53 kB / 0.7896 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/1.573, allocations: 4.746 MB / 0.7943 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.575, allocations: 1.271 MB / 0.7955 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/1.576, allocations: 180.8 kB / 0.7957 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000379/1.576, allocations: 0.6985 MB / 0.7964 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/1.581, allocations: 4.031 MB / 0.8003 GB, free: 116.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007589/1.589, allocations: 9.108 MB / 0.8092 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00807/1.597, allocations: 5.924 MB / 0.815 GB, free: 99.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.933e-05/1.597, allocations: 52 kB / 0.815 GB, free: 99.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0257/1.623, allocations: 15.03 MB / 0.8297 GB, free: 84.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/1.623, allocations: 80 kB / 0.8298 GB, free: 84.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.623, allocations: 179.5 kB / 0.83 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/1.628, allocations: 2.317 MB / 0.8322 GB, free: 81.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006943/1.635, allocations: 2.148 MB / 0.8343 GB, free: 79.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/1.649, allocations: 13.52 MB / 0.8475 GB, free: 65.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008398/1.657, allocations: 0.5423 MB / 0.8481 GB, free: 65.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001679/1.659, allocations: 0.5358 MB / 0.8486 GB, free: 64.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1125): * Single equations (assignments): 1118 * 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: 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.005614/1.665, allocations: 3.286 MB / 0.8518 GB, free: 61.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.666, allocations: 0.5823 MB / 0.8524 GB, free: 60.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.679, allocations: 8.439 MB / 0.8606 GB, free: 52.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/1.679, allocations: 37.33 kB / 0.8606 GB, free: 52.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/1.679, allocations: 8 kB / 0.8606 GB, free: 52.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.554e-05/1.679, allocations: 23.88 kB / 0.8607 GB, free: 52.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.707, allocations: 17.08 MB / 0.8773 GB, free: 35.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/1.707, allocations: 8.469 kB / 0.8773 GB, free: 35.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.71, allocations: 0.585 MB / 0.8779 GB, free: 34.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004303/1.714, allocations: 2.034 MB / 0.8799 GB, free: 32.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004173/1.714, allocations: 66.72 kB / 0.88 GB, free: 32.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.729, allocations: 12.72 MB / 0.8924 GB, free: 19.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.729, allocations: 8.031 kB / 0.8924 GB, free: 19.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/1.746, allocations: 13.06 MB / 0.9052 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003252/1.749, allocations: 1.255 MB / 0.9064 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/1.75, allocations: 60.66 kB / 0.9064 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.752, allocations: 243.6 kB / 0.9067 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/1.752, allocations: 214.6 kB / 0.9069 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/1.753, allocations: 88.69 kB / 0.907 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00584/1.758, allocations: 4.299 MB / 0.9112 GB, free: 52 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.613e-06/1.758, allocations: 0 / 0.9112 GB, free: 52 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008893/1.767, allocations: 1.776 MB / 0.9129 GB, free: 14.28 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.0006268/1.768, allocations: 211.7 kB / 0.9131 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01861/1.787, allocations: 9.744 MB / 0.9226 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/1.787, allocations: 4 kB / 0.9226 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008485/1.795, allocations: 3.976 MB / 0.9265 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2865/2.082, allocations: 0.732 MB / 0.9272 GB, free: 201.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0349/2.117, allocations: 20.05 MB / 0.9468 GB, free: 194.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005266/2.122, allocations: 5.009 MB / 0.9517 GB, free: 193.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/2.125, allocations: 487.4 kB / 0.9521 GB, free: 193.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.833e-06/2.125, allocations: 0 / 0.9521 GB, free: 193.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1937/2.318, allocations: 159.4 MB / 1.108 GB, free: 45.21 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.Forces.FrameForcesAndTorquesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorquesCalcHelperMain.o] Error 1