Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008498/0.0008502, allocations: 92.22 kB / 17.63 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 197.2 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2604/0.2604, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 63.47 MB / 482.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4396/0.5973, allocations: 80.98 MB / 0.5499 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05826/0.6556, allocations: 16.38 MB / 0.5659 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03071/0.6863, allocations: 391.4 kB / 0.5663 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01864/0.705, allocations: 4.271 MB / 0.5704 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04767/0.7527, allocations: 12.4 MB / 0.5826 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007641/0.7604, allocations: 0.8855 MB / 0.5834 GB, free: 408 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08704/0.8475, allocations: 63.17 MB / 0.6451 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01248/0.86, allocations: 7.308 MB / 0.6522 GB, free: 9.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.8651, allocations: 1.923 MB / 0.6541 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006142/0.8713, allocations: 2.991 MB / 0.657 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.8729, allocations: 215.9 kB / 0.6572 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.8763, allocations: 0.987 MB / 0.6582 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003926/0.8803, allocations: 2.657 MB / 0.6608 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004153/0.8845, allocations: 1.252 MB / 0.662 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.8994, allocations: 8.195 MB / 0.67 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8994, allocations: 0 / 0.67 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.296e-06/0.8995, allocations: 4 kB / 0.67 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005411/0.9, allocations: 4 kB / 0.67 GB, free: 7.477 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02063/0.9206, allocations: 6.31 MB / 0.6762 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.9207, allocations: 8.031 kB / 0.6762 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.9345, allocations: 2.826 MB / 0.679 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.9471, allocations: 4.141 MB / 0.683 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/0.9477, allocations: 373.2 kB / 0.6834 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/0.9505, allocations: 491.5 kB / 0.6838 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04119/0.9917, allocations: 15.04 MB / 0.6985 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004747/0.9922, allocations: 71.33 kB / 0.6986 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/0.9946, allocations: 231.8 kB / 0.6988 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005938/1.001, allocations: 2.867 MB / 0.7016 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3823/1.383, allocations: 12.76 MB / 0.7141 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07171/1.455, allocations: 59.12 MB / 0.7718 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/1.477, allocations: 7.29 MB / 0.7789 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006581/1.483, allocations: 3.876 MB / 0.7827 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01777/1.501, allocations: 9.017 MB / 0.7915 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/1.501, allocations: 66.47 kB / 0.7916 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 6.653e-06/1.501, allocations: 0 / 0.7916 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07798/1.579, allocations: 32.82 MB / 0.8236 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/1.579, allocations: 235.6 kB / 0.8239 GB, free: 83.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008474/1.588, allocations: 6.678 MB / 0.8304 GB, free: 76.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008142/1.589, allocations: 74.25 kB / 0.8304 GB, free: 76.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002624/1.591, allocations: 4.46 MB / 0.8348 GB, free: 71.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.593, allocations: 1.099 MB / 0.8359 GB, free: 70.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/1.593, allocations: 176 kB / 0.836 GB, free: 70.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003504/1.594, allocations: 0.6701 MB / 0.8367 GB, free: 69.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/1.598, allocations: 3.597 MB / 0.8402 GB, free: 66.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/1.606, allocations: 8.624 MB / 0.8486 GB, free: 55.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006709/1.612, allocations: 5.429 MB / 0.8539 GB, free: 49.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.75e-05/1.612, allocations: 51.95 kB / 0.854 GB, free: 49.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.0207/1.633, allocations: 14.02 MB / 0.8677 GB, free: 35.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/1.633, allocations: 83.94 kB / 0.8678 GB, free: 35.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.633, allocations: 176 kB / 0.8679 GB, free: 35.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/1.638, allocations: 2.289 MB / 0.8702 GB, free: 33.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/1.644, allocations: 2.024 MB / 0.8721 GB, free: 31.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/1.658, allocations: 13.23 MB / 0.8851 GB, free: 17.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008123/1.666, allocations: 0.5163 MB / 0.8856 GB, free: 17.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00201/1.668, allocations: 0.5116 MB / 0.8861 GB, free: 16.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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 (1064): * Single equations (assignments): 1057 * Array equations: 5 * 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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007065/1.675, allocations: 3.049 MB / 0.889 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001613/1.677, allocations: 0.5559 MB / 0.8896 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.689, allocations: 7.205 MB / 0.8966 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-05/1.689, allocations: 33.41 kB / 0.8966 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/1.689, allocations: 8 kB / 0.8967 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.69, allocations: 15.94 kB / 0.8967 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/1.719, allocations: 15.26 MB / 0.9116 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/1.719, allocations: 4.031 kB / 0.9116 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.722, allocations: 499.7 kB / 0.9121 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005314/1.727, allocations: 2.014 MB / 0.914 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004349/1.727, allocations: 52.94 kB / 0.9141 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.406/2.133, allocations: 12.57 MB / 0.9263 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/2.133, allocations: 6.062 kB / 0.9263 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/2.16, allocations: 11.44 MB / 0.9375 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/2.163, allocations: 0.6527 MB / 0.9382 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/2.165, allocations: 48.75 kB / 0.9382 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003706/2.169, allocations: 209.7 kB / 0.9384 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/2.17, allocations: 175.2 kB / 0.9386 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/2.17, allocations: 75.31 kB / 0.9386 GB, free: 172.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01138/2.182, allocations: 4.261 MB / 0.9428 GB, free: 171.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/2.182, allocations: 2.516 kB / 0.9428 GB, free: 171.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01069/2.192, allocations: 1.618 MB / 0.9444 GB, free: 171.1 MB / 0.545 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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007763/2.193, allocations: 197 kB / 0.9446 GB, free: 171 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.209, allocations: 8.777 MB / 0.9531 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/2.209, allocations: 0 / 0.9531 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006909/2.216, allocations: 3.529 MB / 0.9566 GB, free: 166.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007431/2.223, allocations: 0.717 MB / 0.9573 GB, free: 166.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/2.26, allocations: 18.15 MB / 0.975 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005703/2.266, allocations: 4.605 MB / 0.9795 GB, free: 147.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/2.268, allocations: 451.3 kB / 0.9799 GB, free: 147.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/2.268, allocations: 3.938 kB / 0.98 GB, free: 147.2 MB / 0.545 GB Notification: Performance of Templates: time 0.5204/2.788, allocations: 144.6 MB / 1.121 GB, free: 173.6 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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_trunk_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.o] Error 1