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.001088/0.001088, allocations: 89.77 kB / 16.66 MB, free: 6.105 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.00133/0.00133, allocations: 174.8 kB / 17.57 MB, free: 5.824 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.996/1.996, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2728/0.2728, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.0005995/0.0005999, allocations: 13.81 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1511, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.1094/0.2606, allocations: 95.31 MB / 0.5268 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5165/0.7771, allocations: 18.58 MB / 0.5449 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02745/0.8046, allocations: 413.3 kB / 0.5453 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.8085, allocations: 0.6506 MB / 0.5459 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.8197, allocations: 2.614 MB / 0.5485 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.8245, allocations: 0.9385 MB / 0.5494 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02291/0.8474, allocations: 10.22 MB / 0.5594 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01802/0.8655, allocations: 8.231 MB / 0.5674 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007168/0.8727, allocations: 1.908 MB / 0.5693 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008126/0.8809, allocations: 3.277 MB / 0.5725 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.8835, allocations: 243.6 kB / 0.5727 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005984/0.8895, allocations: 1.343 MB / 0.574 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006014/0.8955, allocations: 2.944 MB / 0.5769 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009964/0.9055, allocations: 3.34 MB / 0.5802 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.9231, allocations: 9.186 MB / 0.5891 GB, free: 1.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.9232, allocations: 3.984 kB / 0.5891 GB, free: 1.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.9232, allocations: 4 kB / 0.5891 GB, free: 1.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000836/0.924, allocations: 0 / 0.5891 GB, free: 1.352 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02647/0.9505, allocations: 6.594 MB / 0.5956 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.476e-05/0.9506, allocations: 12.03 kB / 0.5956 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/0.9686, allocations: 2.92 MB / 0.5984 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.9836, allocations: 4.562 MB / 0.6029 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005891/0.9843, allocations: 401.2 kB / 0.6033 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/0.9873, allocations: 0.5173 MB / 0.6038 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04954/1.037, allocations: 16.94 MB / 0.6203 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008322/1.038, allocations: 59.47 kB / 0.6204 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003933/1.042, allocations: 252.3 kB / 0.6206 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007956/1.05, allocations: 3.251 MB / 0.6238 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0405/1.09, allocations: 14.54 MB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1218/1.212, allocations: 62.8 MB / 0.6993 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.233, allocations: 6.905 MB / 0.7061 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007524/1.24, allocations: 4.256 MB / 0.7102 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02398/1.264, allocations: 9.664 MB / 0.7197 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/1.265, allocations: 64.88 kB / 0.7197 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=297): time 9.528e-06/1.265, allocations: 0 / 0.7197 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.4766/1.741, allocations: 34.78 MB / 0.7537 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.741, allocations: 243.3 kB / 0.7539 GB, free: 241 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01639/1.758, allocations: 6.741 MB / 0.7605 GB, free: 239.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.759, allocations: 77.41 kB / 0.7606 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004295/1.763, allocations: 4.754 MB / 0.7652 GB, free: 235.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.766, allocations: 1.275 MB / 0.7665 GB, free: 234.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/1.767, allocations: 0.7984 MB / 0.7672 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/1.767, allocations: 301.1 kB / 0.7675 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006208/1.773, allocations: 4.062 MB / 0.7715 GB, free: 232.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008925/1.782, allocations: 9.148 MB / 0.7804 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/1.799, allocations: 14.16 MB / 0.7943 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003333/1.8, allocations: 49.97 kB / 0.7943 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03601/1.836, allocations: 15.12 MB / 0.8091 GB, free: 202.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003599/1.836, allocations: 80 kB / 0.8091 GB, free: 202.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004976/1.836, allocations: 176.1 kB / 0.8093 GB, free: 202.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/1.843, allocations: 2.289 MB / 0.8115 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009054/1.852, allocations: 2.152 MB / 0.8136 GB, free: 197.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01752/1.869, allocations: 13.52 MB / 0.8269 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/1.88, allocations: 0.5415 MB / 0.8274 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002476/1.882, allocations: 0.5348 MB / 0.8279 GB, free: 182.8 MB / 0.5762 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 (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.01065/1.893, allocations: 3.283 MB / 0.8311 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002796/1.896, allocations: 0.5806 MB / 0.8317 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.914, allocations: 8.47 MB / 0.8399 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.171e-05/1.914, allocations: 32.47 kB / 0.84 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.289e-05/1.914, allocations: 12 kB / 0.84 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.601e-05/1.914, allocations: 15.94 kB / 0.84 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04016/1.954, allocations: 17.11 MB / 0.8567 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/1.954, allocations: 4 kB / 0.8567 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/1.957, allocations: 0.5811 MB / 0.8573 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005448/1.963, allocations: 2.047 MB / 0.8593 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.964, allocations: 56 kB / 0.8593 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.98, allocations: 12.74 MB / 0.8718 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.98, allocations: 4.047 kB / 0.8718 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02279/2.002, allocations: 13.11 MB / 0.8846 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004424/2.007, allocations: 1.255 MB / 0.8858 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00386/2.011, allocations: 56 kB / 0.8859 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005213/2.016, allocations: 243.6 kB / 0.8861 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.017, allocations: 205.9 kB / 0.8863 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006178/2.018, allocations: 92.17 kB / 0.8864 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01099/2.029, allocations: 4.354 MB / 0.8906 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.92e-07/2.029, allocations: 0 / 0.8906 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01209/2.041, allocations: 1.779 MB / 0.8924 GB, free: 116.4 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 (279): * Single equations (assignments): 274 * 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.001463/2.043, allocations: 215.7 kB / 0.8926 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01739/2.06, allocations: 9.784 MB / 0.9021 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.06, allocations: 0.875 kB / 0.9021 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007104/2.067, allocations: 3.996 MB / 0.906 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/2.08, allocations: 0.7295 MB / 0.9067 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/2.123, allocations: 20.79 MB / 0.927 GB, free: 80.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007156/2.131, allocations: 5.019 MB / 0.9319 GB, free: 75.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002647/2.133, allocations: 487.3 kB / 0.9324 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.442e-06/2.133, allocations: 0 / 0.9324 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.6291/2.763, allocations: 159 MB / 1.088 GB, free: 141.3 MB / 0.5762 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++ -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.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