Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 106.2 kB / 16.52 MB, free: 6.723 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.00169/0.00169, allocations: 191.7 kB / 17.44 MB, free: 6.055 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.943/1.943, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.247/0.247, allocations: 43.52 MB / 314.2 MB, free: 0.7539 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.001552/0.001552, allocations: 66.19 kB / 382.7 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1515, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.086/0.2376, allocations: 90.52 MB / 0.5186 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.451/0.6887, allocations: 17.24 MB / 0.5354 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02813/0.7169, allocations: 390.1 kB / 0.5358 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.729, allocations: 5.071 MB / 0.5407 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.7407, allocations: 2.553 MB / 0.5432 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.7451, allocations: 1.008 MB / 0.5442 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02127/0.7664, allocations: 10.04 MB / 0.554 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01423/0.7807, allocations: 5.885 MB / 0.5597 GB, free: 0 / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00924/0.7899, allocations: 2.365 MB / 0.5621 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.8001, allocations: 3.76 MB / 0.5657 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003796/0.8039, allocations: 396.3 kB / 0.5661 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/0.8108, allocations: 1.336 MB / 0.5674 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007918/0.8188, allocations: 3.121 MB / 0.5705 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01187/0.8307, allocations: 3.525 MB / 0.5739 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.8468, allocations: 8.977 MB / 0.5827 GB, free: 4.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.8468, allocations: 6.547 kB / 0.5827 GB, free: 4.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8468, allocations: 0 / 0.5827 GB, free: 4.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007682/0.8476, allocations: 0 / 0.5827 GB, free: 4.621 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.03389/0.8815, allocations: 7.91 MB / 0.5904 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.8816, allocations: 16.03 kB / 0.5904 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/0.8966, allocations: 2.826 MB / 0.5932 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.91, allocations: 4.522 MB / 0.5976 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005068/0.9106, allocations: 386.5 kB / 0.598 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/0.9136, allocations: 0.502 MB / 0.5984 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03847/0.9521, allocations: 15.64 MB / 0.6137 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005644/0.9527, allocations: 79.42 kB / 0.6138 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002787/0.9555, allocations: 239.5 kB / 0.614 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006125/0.9616, allocations: 3.062 MB / 0.617 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0317/0.9934, allocations: 13.25 MB / 0.6299 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.124/1.117, allocations: 61.59 MB / 0.6901 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.136, allocations: 6.658 MB / 0.6966 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007098/1.144, allocations: 4.023 MB / 0.7005 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02451/1.168, allocations: 9.471 MB / 0.7098 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/1.168, allocations: 75.19 kB / 0.7098 GB, free: 1.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=269): time 1.289e-05/1.168, allocations: 0 / 0.7098 GB, free: 1.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=311): time 0.1063/1.275, allocations: 32.57 MB / 0.7417 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/1.275, allocations: 239.9 kB / 0.7419 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3817/1.657, allocations: 6.988 MB / 0.7487 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/1.658, allocations: 69.95 kB / 0.7488 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005148/1.663, allocations: 4.771 MB / 0.7534 GB, free: 244.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002575/1.665, allocations: 1.185 MB / 0.7546 GB, free: 243.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005015/1.671, allocations: 1.917 MB / 0.7565 GB, free: 242.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/1.671, allocations: 307.1 kB / 0.7568 GB, free: 242.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007706/1.678, allocations: 3.922 MB / 0.7606 GB, free: 241 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009854/1.688, allocations: 9.245 MB / 0.7696 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/1.704, allocations: 14.12 MB / 0.7834 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002725/1.705, allocations: 52.81 kB / 0.7835 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03524/1.74, allocations: 14.99 MB / 0.7981 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003501/1.74, allocations: 92.5 kB / 0.7982 GB, free: 213.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004532/1.741, allocations: 184 kB / 0.7983 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006266/1.747, allocations: 2.297 MB / 0.8006 GB, free: 210.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008542/1.755, allocations: 2.176 MB / 0.8027 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/1.772, allocations: 13.47 MB / 0.8159 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/1.783, allocations: 0.5539 MB / 0.8164 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003107/1.786, allocations: 0.5429 MB / 0.8169 GB, free: 193.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01175/1.798, allocations: 3.223 MB / 0.8201 GB, free: 190.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002602/1.801, allocations: 0.5822 MB / 0.8207 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.816, allocations: 7.714 MB / 0.8282 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/1.816, allocations: 39.53 kB / 0.8282 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.728e-05/1.816, allocations: 12 kB / 0.8282 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.677e-05/1.816, allocations: 19.94 kB / 0.8283 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03456/1.851, allocations: 16.25 MB / 0.8441 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.851, allocations: 4 kB / 0.8441 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.854, allocations: 0.5188 MB / 0.8446 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/1.858, allocations: 2.036 MB / 0.8466 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006069/1.859, allocations: 63.92 kB / 0.8467 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/1.874, allocations: 12.66 MB / 0.8591 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.874, allocations: 4 kB / 0.8591 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.894, allocations: 12.23 MB / 0.871 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004114/1.899, allocations: 1.192 MB / 0.8722 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/1.901, allocations: 63.5 kB / 0.8722 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/1.905, allocations: 215.7 kB / 0.8724 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008904/1.906, allocations: 193.9 kB / 0.8726 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004111/1.907, allocations: 84 kB / 0.8727 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009313/1.916, allocations: 4.479 MB / 0.8771 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/1.916, allocations: 0 / 0.8771 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01194/1.928, allocations: 1.73 MB / 0.8788 GB, free: 130.2 MB / 0.5762 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 (254): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/1.929, allocations: 197.8 kB / 0.8789 GB, free: 130 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01686/1.946, allocations: 9.444 MB / 0.8882 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/1.946, allocations: 0 / 0.8882 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007213/1.954, allocations: 3.721 MB / 0.8918 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008903/1.962, allocations: 0.7204 MB / 0.8925 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/2.003, allocations: 19.93 MB / 0.912 GB, free: 96.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009152/2.012, allocations: 4.87 MB / 0.9167 GB, free: 91.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003155/2.015, allocations: 479.3 kB / 0.9172 GB, free: 90.72 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/2.015, allocations: 0 / 0.9172 GB, free: 90.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.5998/2.615, allocations: 155.3 MB / 1.069 GB, free: 158.3 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o] Error 1