Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001307/0.001307, allocations: 103.3 kB / 16.52 MB, free: 6.664 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.00143/0.00143, allocations: 199.3 kB / 17.44 MB, free: 6.059 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.823/1.823, allocations: 205.1 MB / 223.3 MB, free: 12.5 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.2624/0.2624, allocations: 43.51 MB / 314.1 MB, free: 0.7695 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.001542/0.001542, allocations: 66.08 kB / 382.7 MB, free: 57.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1619, allocations: 57.8 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.09185/0.2539, allocations: 89.6 MB / 0.5177 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4445/0.6984, allocations: 17.37 MB / 0.5346 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02765/0.7261, allocations: 382.2 kB / 0.535 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.7365, allocations: 4.563 MB / 0.5394 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009843/0.7464, allocations: 2.421 MB / 0.5418 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.7501, allocations: 1.075 MB / 0.5429 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01783/0.7679, allocations: 9.678 MB / 0.5523 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.778, allocations: 5.777 MB / 0.5579 GB, free: 248 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006146/0.7842, allocations: 2.22 MB / 0.5601 GB, free: 32 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.795, allocations: 3.654 MB / 0.5637 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004012/0.7991, allocations: 404.1 kB / 0.5641 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006625/0.8057, allocations: 1.479 MB / 0.5655 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007118/0.8129, allocations: 2.984 MB / 0.5684 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.8239, allocations: 3.441 MB / 0.5718 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.8394, allocations: 9.011 MB / 0.5806 GB, free: 5.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.8394, allocations: 3.031 kB / 0.5806 GB, free: 5.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.8395, allocations: 0 / 0.5806 GB, free: 5.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006544/0.8401, allocations: 0 / 0.5806 GB, free: 5.742 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.03187/0.872, allocations: 7.573 MB / 0.588 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.8721, allocations: 8.031 kB / 0.588 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.8874, allocations: 2.802 MB / 0.5907 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/0.9006, allocations: 4.265 MB / 0.5949 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006292/0.9013, allocations: 380.6 kB / 0.5953 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003421/0.9047, allocations: 0.504 MB / 0.5958 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04424/0.949, allocations: 16.42 MB / 0.6118 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005096/0.9496, allocations: 58.34 kB / 0.6118 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002973/0.9526, allocations: 232.7 kB / 0.6121 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00686/0.9595, allocations: 3.157 MB / 0.6151 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03852/0.998, allocations: 14.27 MB / 0.6291 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/1.112, allocations: 59.13 MB / 0.6868 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/1.132, allocations: 7.16 MB / 0.6938 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007316/1.139, allocations: 4.498 MB / 0.6982 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03331/1.173, allocations: 15.44 MB / 0.7133 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.63e-05/1.173, allocations: 59.19 kB / 0.7133 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=306): time 8.757e-06/1.173, allocations: 0 / 0.7133 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=348): time 0.4523/1.625, allocations: 32.83 MB / 0.7454 GB, free: 246.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/1.625, allocations: 218.7 kB / 0.7456 GB, free: 245.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/1.64, allocations: 5.356 MB / 0.7508 GB, free: 245.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001306/1.641, allocations: 76.89 kB / 0.7509 GB, free: 245.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003799/1.645, allocations: 4.336 MB / 0.7551 GB, free: 242.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003342/1.648, allocations: 1.278 MB / 0.7564 GB, free: 241.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004207/1.652, allocations: 1.731 MB / 0.7581 GB, free: 241 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.653, allocations: 302.2 kB / 0.7584 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009462/1.662, allocations: 3.923 MB / 0.7622 GB, free: 239.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/1.675, allocations: 8.415 MB / 0.7704 GB, free: 232.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02094/1.696, allocations: 13.23 MB / 0.7833 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004051/1.696, allocations: 44.97 kB / 0.7834 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03698/1.733, allocations: 14.27 MB / 0.7973 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003706/1.734, allocations: 74.97 kB / 0.7974 GB, free: 215.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004598/1.734, allocations: 156 kB / 0.7975 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/1.74, allocations: 2.266 MB / 0.7997 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008202/1.749, allocations: 1.989 MB / 0.8017 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/1.766, allocations: 13.47 MB / 0.8148 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/1.777, allocations: 0.5039 MB / 0.8153 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002767/1.779, allocations: 491.9 kB / 0.8158 GB, free: 196.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (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 (1032): * Single equations (assignments): 1027 * 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 {(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.01053/1.79, allocations: 3.093 MB / 0.8188 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002894/1.793, allocations: 0.4975 MB / 0.8193 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/1.812, allocations: 8.394 MB / 0.8275 GB, free: 184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/1.812, allocations: 36 kB / 0.8275 GB, free: 184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-05/1.812, allocations: 12 kB / 0.8276 GB, free: 184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-05/1.812, allocations: 15.94 kB / 0.8276 GB, free: 184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04152/1.853, allocations: 17.16 MB / 0.8443 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/1.854, allocations: 0 / 0.8443 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/1.857, allocations: 0.6201 MB / 0.8449 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00526/1.862, allocations: 2.026 MB / 0.8469 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009778/1.863, allocations: 63.98 kB / 0.847 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/1.879, allocations: 12.73 MB / 0.8594 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.879, allocations: 0 / 0.8594 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02585/1.905, allocations: 13.15 MB / 0.8723 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/1.909, allocations: 1.143 MB / 0.8734 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002223/1.911, allocations: 52 kB / 0.8734 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004344/1.915, allocations: 255.6 kB / 0.8737 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.916, allocations: 202 kB / 0.8739 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005513/1.917, allocations: 88.19 kB / 0.8739 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007136/1.924, allocations: 3.37 MB / 0.8772 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/1.924, allocations: 0 / 0.8772 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01172/1.936, allocations: 1.682 MB / 0.8789 GB, free: 131.1 MB / 0.5762 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 (294): * Single equations (assignments): 289 * 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.001284/1.937, allocations: 213 kB / 0.8791 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01595/1.953, allocations: 9.525 MB / 0.8884 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.953, allocations: 3.938 kB / 0.8884 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007148/1.96, allocations: 4.098 MB / 0.8924 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007819/1.968, allocations: 0.6414 MB / 0.893 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/2.005, allocations: 19.66 MB / 0.9122 GB, free: 96.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00874/2.014, allocations: 4.771 MB / 0.9169 GB, free: 92.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00302/2.017, allocations: 439.3 kB / 0.9173 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/2.017, allocations: 0 / 0.9173 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of Templates: time 0.5804/2.598, allocations: 149.9 MB / 1.064 GB, free: 182 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.o] Error 1