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.001605/0.001605, allocations: 103.9 kB / 16.52 MB, free: 6.262 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.00178/0.00178, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.892/1.892, 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.2914/0.2914, allocations: 43.52 MB / 314.1 MB, free: 0.7461 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.001531/0.001532, allocations: 69.72 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1612, allocations: 57.79 MB / 440.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.1083/0.2696, allocations: 97.55 MB / 0.5254 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4564/0.7261, allocations: 18.64 MB / 0.5436 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0319/0.7581, allocations: 417.3 kB / 0.544 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.7692, allocations: 4.84 MB / 0.5487 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.7798, allocations: 2.604 MB / 0.5513 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.785, allocations: 1.062 MB / 0.5523 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01857/0.8036, allocations: 10.22 MB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.8169, allocations: 5.982 MB / 0.5682 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007278/0.8242, allocations: 2.31 MB / 0.5704 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009388/0.8336, allocations: 3.786 MB / 0.5741 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003552/0.8372, allocations: 416.6 kB / 0.5745 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006331/0.8436, allocations: 1.508 MB / 0.576 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00734/0.851, allocations: 3.182 MB / 0.5791 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01183/0.8628, allocations: 3.618 MB / 0.5826 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01857/0.8815, allocations: 9.417 MB / 0.5918 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8815, allocations: 0 / 0.5918 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.8815, allocations: 3.938 kB / 0.5918 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007135/0.8823, allocations: 3.938 kB / 0.5918 GB, free: 12.07 MB / 446.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.03035/0.9126, allocations: 8.069 MB / 0.5997 GB, free: 4.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.9127, allocations: 12.03 kB / 0.5997 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.9277, allocations: 2.86 MB / 0.6025 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.9419, allocations: 4.561 MB / 0.607 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/0.9426, allocations: 404.3 kB / 0.6073 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003225/0.9459, allocations: 0.5149 MB / 0.6078 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04284/0.9887, allocations: 16.91 MB / 0.6244 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000469/0.9892, allocations: 67.41 kB / 0.6244 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002587/0.9918, allocations: 248 kB / 0.6247 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006849/0.9987, allocations: 3.256 MB / 0.6278 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03722/1.036, allocations: 14.51 MB / 0.642 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/1.146, allocations: 62.75 MB / 0.7033 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.166, allocations: 6.895 MB / 0.71 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007188/1.173, allocations: 4.248 MB / 0.7142 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/1.195, allocations: 9.665 MB / 0.7236 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.569e-05/1.195, allocations: 68.81 kB / 0.7237 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=297): time 5.711e-06/1.195, allocations: 0 / 0.7237 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.6643/1.859, allocations: 34.77 MB / 0.7576 GB, free: 241.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/1.859, allocations: 240.8 kB / 0.7579 GB, free: 241 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.873, allocations: 6.749 MB / 0.7645 GB, free: 238.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001365/1.874, allocations: 74.52 kB / 0.7645 GB, free: 238.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003533/1.878, allocations: 4.757 MB / 0.7692 GB, free: 235 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/1.88, allocations: 1.268 MB / 0.7704 GB, free: 234 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/1.883, allocations: 1.881 MB / 0.7723 GB, free: 233.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/1.883, allocations: 301.1 kB / 0.7725 GB, free: 232.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00554/1.889, allocations: 4.072 MB / 0.7765 GB, free: 231.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008994/1.898, allocations: 9.141 MB / 0.7854 GB, free: 223.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/1.914, allocations: 14.17 MB / 0.7993 GB, free: 210.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/1.914, allocations: 52 kB / 0.7993 GB, free: 210.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02924/1.943, allocations: 15.12 MB / 0.8141 GB, free: 195.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.943, allocations: 82.97 kB / 0.8142 GB, free: 195.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002172/1.944, allocations: 176.9 kB / 0.8143 GB, free: 195 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005239/1.949, allocations: 2.285 MB / 0.8166 GB, free: 192.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008167/1.957, allocations: 2.156 MB / 0.8187 GB, free: 190.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/1.974, allocations: 13.52 MB / 0.8319 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.984, allocations: 0.542 MB / 0.8324 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002573/1.987, allocations: 0.5312 MB / 0.8329 GB, free: 175.7 MB / 0.5763 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.008965/1.996, allocations: 3.288 MB / 0.8361 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002659/1.999, allocations: 0.5823 MB / 0.8367 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/2.015, allocations: 8.459 MB / 0.845 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.032e-05/2.015, allocations: 36 kB / 0.845 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.621e-05/2.015, allocations: 10.77 kB / 0.845 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-05/2.015, allocations: 19.94 kB / 0.845 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03352/2.049, allocations: 17.1 MB / 0.8617 GB, free: 146.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/2.049, allocations: 4.469 kB / 0.8617 GB, free: 146.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/2.051, allocations: 0.5851 MB / 0.8623 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00466/2.056, allocations: 2.043 MB / 0.8643 GB, free: 143.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/2.057, allocations: 59.98 kB / 0.8644 GB, free: 143.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/2.07, allocations: 12.73 MB / 0.8768 GB, free: 130.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/2.07, allocations: 7.984 kB / 0.8768 GB, free: 130.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/2.089, allocations: 13.09 MB / 0.8896 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003863/2.093, allocations: 1.239 MB / 0.8908 GB, free: 116 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002242/2.095, allocations: 56 kB / 0.8908 GB, free: 115.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004403/2.099, allocations: 245.9 kB / 0.8911 GB, free: 115.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008504/2.1, allocations: 205.9 kB / 0.8913 GB, free: 115.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000407/2.101, allocations: 91.66 kB / 0.8914 GB, free: 115.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009427/2.11, allocations: 4.35 MB / 0.8956 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.71e-07/2.11, allocations: 0 / 0.8956 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01422/2.124, allocations: 1.772 MB / 0.8973 GB, free: 109.3 MB / 0.5763 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.001316/2.126, allocations: 209.4 kB / 0.8975 GB, free: 109.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01868/2.144, allocations: 9.806 MB / 0.9071 GB, free: 99.27 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/2.144, allocations: 0 / 0.9071 GB, free: 99.27 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007722/2.152, allocations: 3.986 MB / 0.911 GB, free: 95.26 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/2.163, allocations: 0.7384 MB / 0.9117 GB, free: 94.54 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04045/2.204, allocations: 20.65 MB / 0.9319 GB, free: 73.81 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006938/2.211, allocations: 5.004 MB / 0.9368 GB, free: 68.78 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/2.214, allocations: 487.3 kB / 0.9372 GB, free: 68.3 MB / 0.5763 GB Notification: Performance of SimCode: time 1.273e-06/2.214, allocations: 0 / 0.9372 GB, free: 68.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.5859/2.8, allocations: 160.4 MB / 1.094 GB, free: 137.2 MB / 0.5763 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