Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 91.94 kB / 17.63 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001605, allocations: 199.7 kB / 18.54 MB, free: 4.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 45.91 MB / 344.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 8 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1653, allocations: 63.48 MB / 482.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4409/0.6062, allocations: 90.55 MB / 0.5592 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05137/0.6577, allocations: 18.26 MB / 0.5771 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02969/0.6874, allocations: 427 kB / 0.5775 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02322/0.7107, allocations: 4.809 MB / 0.5822 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05273/0.7635, allocations: 13.9 MB / 0.5958 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007203/0.7707, allocations: 1.01 MB / 0.5968 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1289/0.8997, allocations: 91.77 MB / 0.6864 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01304/0.9128, allocations: 7.268 MB / 0.6935 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005599/0.9184, allocations: 2.008 MB / 0.6954 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006986/0.9255, allocations: 3.193 MB / 0.6986 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.9275, allocations: 220 kB / 0.6988 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.9316, allocations: 1.108 MB / 0.6998 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005005/0.9366, allocations: 2.821 MB / 0.7026 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.9399, allocations: 1.291 MB / 0.7039 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4529/1.393, allocations: 8.616 MB / 0.7123 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/1.393, allocations: 3.031 kB / 0.7123 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.058e-06/1.393, allocations: 0.5938 kB / 0.7123 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000652/1.394, allocations: 0 / 0.7123 GB, free: 100.1 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02603/1.42, allocations: 6.42 MB / 0.7185 GB, free: 97.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.42, allocations: 9.25 kB / 0.7186 GB, free: 97.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/1.437, allocations: 3.196 MB / 0.7217 GB, free: 96.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.456, allocations: 4.698 MB / 0.7263 GB, free: 96.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006453/1.457, allocations: 370 kB / 0.7266 GB, free: 96.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004042/1.461, allocations: 0.4914 MB / 0.7271 GB, free: 96.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03793/1.499, allocations: 14.81 MB / 0.7416 GB, free: 93.31 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003035/1.499, allocations: 72.62 kB / 0.7416 GB, free: 93.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/1.5, allocations: 234.3 kB / 0.7419 GB, free: 93.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004808/1.505, allocations: 2.723 MB / 0.7445 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02876/1.534, allocations: 12.22 MB / 0.7564 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07992/1.614, allocations: 57.17 MB / 0.8123 GB, free: 43.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.625, allocations: 4.683 MB / 0.8169 GB, free: 39.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003557/1.628, allocations: 2.942 MB / 0.8197 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/1.629, allocations: 37.3 kB / 0.8198 GB, free: 37.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/1.629, allocations: 65.59 kB / 0.8198 GB, free: 37.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 6.542e-06/1.629, allocations: 0 / 0.8198 GB, free: 37.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.06319/1.692, allocations: 23.37 MB / 0.8426 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/1.692, allocations: 258.8 kB / 0.8429 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009348/1.701, allocations: 6.743 MB / 0.8495 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007748/1.702, allocations: 55.45 kB / 0.8495 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.705, allocations: 4.593 MB / 0.854 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.706, allocations: 0.8318 MB / 0.8548 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/1.707, allocations: 160 kB / 0.855 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003501/1.707, allocations: 0.6569 MB / 0.8556 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/1.712, allocations: 2.87 MB / 0.8584 GB, free: 14.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008432/1.72, allocations: 7.825 MB / 0.8661 GB, free: 4.109 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008187/1.728, allocations: 4.612 MB / 0.8706 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.728, allocations: 52 kB / 0.8706 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02663/1.755, allocations: 11.9 MB / 0.8822 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/1.755, allocations: 80 kB / 0.8823 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003731/1.756, allocations: 180.1 kB / 0.8825 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/1.761, allocations: 1.779 MB / 0.8842 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007424/1.768, allocations: 1.928 MB / 0.8861 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/1.786, allocations: 11.53 MB / 0.8974 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009072/1.795, allocations: 466.8 kB / 0.8978 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/1.797, allocations: 496 kB / 0.8983 GB, free: 4.184 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1003): * Single equations (assignments): 997 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009052/1.806, allocations: 3.047 MB / 0.9013 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/1.808, allocations: 0.5437 MB / 0.9018 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.82, allocations: 4.839 MB / 0.9065 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/1.82, allocations: 20 kB / 0.9065 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/1.82, allocations: 12 kB / 0.9066 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/1.82, allocations: 11.97 kB / 0.9066 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03123/1.851, allocations: 11.23 MB / 0.9175 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.851, allocations: 0 / 0.9175 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/1.853, allocations: 397.5 kB / 0.9179 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004347/1.858, allocations: 1.475 MB / 0.9194 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004328/1.858, allocations: 32 kB / 0.9194 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.873, allocations: 10.61 MB / 0.9298 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.873, allocations: 0 / 0.9298 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3923/2.266, allocations: 7.915 MB / 0.9375 GB, free: 245.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/2.269, allocations: 0.6247 MB / 0.9381 GB, free: 245.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/2.27, allocations: 37.53 kB / 0.9381 GB, free: 245.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/2.273, allocations: 140.4 kB / 0.9383 GB, free: 245.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/2.273, allocations: 120.6 kB / 0.9384 GB, free: 245.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/2.273, allocations: 55.02 kB / 0.9384 GB, free: 245.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01115/2.284, allocations: 4.286 MB / 0.9426 GB, free: 244.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/2.284, allocations: 0 / 0.9426 GB, free: 244.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01222/2.297, allocations: 1.498 MB / 0.9441 GB, free: 244.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007429/2.297, allocations: 171.7 kB / 0.9442 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01499/2.312, allocations: 7.048 MB / 0.9511 GB, free: 241.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/2.313, allocations: 7.938 kB / 0.9511 GB, free: 241.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003925/2.316, allocations: 2.26 MB / 0.9533 GB, free: 240.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009116/2.326, allocations: 0.734 MB / 0.9541 GB, free: 240.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0411/2.367, allocations: 16.82 MB / 0.9705 GB, free: 232.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00918/2.376, allocations: 4.599 MB / 0.975 GB, free: 230.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/2.378, allocations: 406.1 kB / 0.9754 GB, free: 230.2 MB / 0.6075 GB Notification: Performance of SimCode: time 2.415e-06/2.378, allocations: 4 kB / 0.9754 GB, free: 230.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.2131/2.591, allocations: 168.4 MB / 1.14 GB, free: 63.82 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.o] Error 1