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.0009837/0.0009838, allocations: 89.94 kB / 16.33 MB, free: 5.938 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.001123/0.001124, allocations: 180 kB / 17.22 MB, free: 5.863 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.61/1.61, allocations: 205.4 MB / 223.4 MB, free: 5.199 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4348/0.4348, allocations: 43.55 MB / 315.2 MB, free: 9.016 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.0005074/0.0005076, allocations: 14.66 kB / 384.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3386/0.4701, allocations: 81.35 MB / 0.5125 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04985/0.52, allocations: 16.61 MB / 0.5287 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02384/0.5439, allocations: 379.3 kB / 0.529 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01905/0.563, allocations: 4.282 MB / 0.5332 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04639/0.6094, allocations: 12.42 MB / 0.5454 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006915/0.6164, allocations: 0.9263 MB / 0.5463 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04994/0.6663, allocations: 35.9 MB / 0.5813 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.6781, allocations: 7.266 MB / 0.5884 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.6827, allocations: 1.957 MB / 0.5903 GB, free: 9.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005407/0.6881, allocations: 3.069 MB / 0.5933 GB, free: 6.512 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.6894, allocations: 236 kB / 0.5935 GB, free: 6.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.6924, allocations: 1.124 MB / 0.5946 GB, free: 5.156 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002949/0.6954, allocations: 2.676 MB / 0.5973 GB, free: 2.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.6973, allocations: 1.306 MB / 0.5985 GB, free: 1.156 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.7075, allocations: 8.799 MB / 0.6071 GB, free: 8.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7076, allocations: 0 / 0.6071 GB, free: 8.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7076, allocations: 0 / 0.6071 GB, free: 8.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003851/0.708, allocations: 0 / 0.6071 GB, free: 8.34 MB / 478.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.01512/0.7231, allocations: 6.261 MB / 0.6132 GB, free: 2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7232, allocations: 15.97 kB / 0.6133 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.7361, allocations: 2.842 MB / 0.616 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009719/0.7458, allocations: 4.193 MB / 0.6201 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.7463, allocations: 393.7 kB / 0.6205 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.7485, allocations: 0.4958 MB / 0.621 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3127/1.061, allocations: 16.4 MB / 0.637 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/1.061, allocations: 66.11 kB / 0.6371 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006015/1.062, allocations: 236.9 kB / 0.6373 GB, free: 139 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004709/1.067, allocations: 3.149 MB / 0.6404 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/1.094, allocations: 14.23 MB / 0.6542 GB, free: 135.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08347/1.178, allocations: 59.13 MB / 0.712 GB, free: 94.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/1.193, allocations: 7.16 MB / 0.719 GB, free: 88.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/1.198, allocations: 4.494 MB / 0.7234 GB, free: 83.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/1.217, allocations: 15.43 MB / 0.7384 GB, free: 68.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/1.217, allocations: 68.5 kB / 0.7385 GB, free: 68.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.652e-06/1.217, allocations: 3.984 kB / 0.7385 GB, free: 68.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.06942/1.287, allocations: 32.75 MB / 0.7705 GB, free: 35.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.287, allocations: 222.2 kB / 0.7707 GB, free: 35.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007937/1.295, allocations: 5.325 MB / 0.7759 GB, free: 29.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.296, allocations: 77.7 kB / 0.776 GB, free: 29.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/1.299, allocations: 4.331 MB / 0.7802 GB, free: 25.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.302, allocations: 1.28 MB / 0.7815 GB, free: 24.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004719/1.302, allocations: 177.2 kB / 0.7816 GB, free: 23.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003518/1.302, allocations: 0.6616 MB / 0.7823 GB, free: 23.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005124/1.307, allocations: 3.89 MB / 0.7861 GB, free: 19.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007356/1.315, allocations: 8.385 MB / 0.7943 GB, free: 8.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/1.323, allocations: 5.582 MB / 0.7997 GB, free: 3.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-05/1.323, allocations: 48 kB / 0.7998 GB, free: 3.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.0309/1.354, allocations: 14.19 MB / 0.8136 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.354, allocations: 75.94 kB / 0.8137 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/1.355, allocations: 156.9 kB / 0.8138 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/1.36, allocations: 2.276 MB / 0.8161 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007872/1.368, allocations: 1.997 MB / 0.818 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.302/1.67, allocations: 13.48 MB / 0.8312 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007869/1.678, allocations: 0.5018 MB / 0.8317 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/1.68, allocations: 485.8 kB / 0.8321 GB, free: 135.7 MB / 0.4981 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 (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.006535/1.687, allocations: 3.099 MB / 0.8352 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.688, allocations: 0.4912 MB / 0.8356 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.702, allocations: 8.384 MB / 0.8438 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.991e-05/1.702, allocations: 36.34 kB / 0.8439 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-05/1.702, allocations: 8.781 kB / 0.8439 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.931e-05/1.702, allocations: 20.77 kB / 0.8439 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03748/1.74, allocations: 17.14 MB / 0.8606 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/1.74, allocations: 3.938 kB / 0.8606 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/1.743, allocations: 0.614 MB / 0.8612 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005766/1.749, allocations: 2.031 MB / 0.8632 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007332/1.75, allocations: 59.7 kB / 0.8633 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/1.766, allocations: 12.71 MB / 0.8757 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.767, allocations: 3.812 kB / 0.8757 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/1.786, allocations: 13.12 MB / 0.8885 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003032/1.789, allocations: 1.146 MB / 0.8896 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.79, allocations: 55.75 kB / 0.8897 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.792, allocations: 270.3 kB / 0.8899 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005601/1.793, allocations: 197 kB / 0.8901 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/1.793, allocations: 87.98 kB / 0.8902 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004791/1.798, allocations: 3.339 MB / 0.8935 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.798, allocations: 0 / 0.8935 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008337/1.806, allocations: 1.693 MB / 0.8951 GB, free: 106.9 MB / 0.4981 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 (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.000906/1.807, allocations: 197 kB / 0.8953 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01496/1.822, allocations: 9.499 MB / 0.9046 GB, free: 97.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.822, allocations: 0 / 0.9046 GB, free: 97.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007022/1.829, allocations: 4.091 MB / 0.9086 GB, free: 93.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007155/1.836, allocations: 0.6437 MB / 0.9092 GB, free: 92.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/1.873, allocations: 19.1 MB / 0.9279 GB, free: 73.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005358/1.878, allocations: 4.775 MB / 0.9325 GB, free: 68.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/1.88, allocations: 435.3 kB / 0.9329 GB, free: 68.31 MB / 0.4981 GB Notification: Performance of SimCode: time 1.001e-06/1.88, allocations: 0 / 0.9329 GB, free: 68.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.4767/2.357, allocations: 148.9 MB / 1.078 GB, free: 120.1 MB / 0.5137 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++ 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.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