Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,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.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001324, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2683/0.2683, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003406, allocations: 4 kB / 418.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1512, allocations: 63.48 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.4612/0.6125, allocations: 90.54 MB / 0.5592 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0582/0.6708, allocations: 18.27 MB / 0.5771 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03212/0.7029, allocations: 427 kB / 0.5775 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02073/0.7237, allocations: 4.817 MB / 0.5822 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04706/0.7708, allocations: 13.89 MB / 0.5958 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007563/0.7784, allocations: 1.014 MB / 0.5967 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1204/0.8988, allocations: 91.8 MB / 0.6864 GB, free: 6.801 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.9127, allocations: 7.301 MB / 0.6935 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005582/0.9184, allocations: 2.024 MB / 0.6955 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006078/0.9245, allocations: 3.209 MB / 0.6986 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.9259, allocations: 220 kB / 0.6988 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.9292, allocations: 1.116 MB / 0.6999 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003462/0.9327, allocations: 2.817 MB / 0.7027 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.9349, allocations: 1.298 MB / 0.7039 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4414/1.376, allocations: 8.644 MB / 0.7124 GB, free: 100 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/1.376, allocations: 0.75 kB / 0.7124 GB, free: 100 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.928e-06/1.376, allocations: 0 / 0.7124 GB, free: 100 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005776/1.377, allocations: 1 kB / 0.7124 GB, free: 100 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.025/1.402, allocations: 6.447 MB / 0.7187 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/1.402, allocations: 11.67 kB / 0.7187 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/1.42, allocations: 3.221 MB / 0.7218 GB, free: 96.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.434, allocations: 4.714 MB / 0.7264 GB, free: 96.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/1.435, allocations: 372.8 kB / 0.7268 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/1.438, allocations: 0.4887 MB / 0.7273 GB, free: 96.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/1.471, allocations: 14.85 MB / 0.7418 GB, free: 93.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/1.471, allocations: 69.94 kB / 0.7418 GB, free: 93.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008018/1.472, allocations: 236.7 kB / 0.7421 GB, free: 93.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00464/1.477, allocations: 2.724 MB / 0.7447 GB, free: 93.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/1.504, allocations: 12.29 MB / 0.7567 GB, free: 91.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0779/1.582, allocations: 57.41 MB / 0.8128 GB, free: 42.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/1.593, allocations: 4.642 MB / 0.8173 GB, free: 38.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/1.597, allocations: 2.909 MB / 0.8202 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/1.598, allocations: 30.36 kB / 0.8202 GB, free: 37.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/1.598, allocations: 59.44 kB / 0.8203 GB, free: 37.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 6.061e-06/1.598, allocations: 0 / 0.8203 GB, free: 37.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.06517/1.663, allocations: 23.29 MB / 0.843 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.663, allocations: 255.4 kB / 0.8432 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/1.675, allocations: 6.696 MB / 0.8498 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007397/1.676, allocations: 57.7 kB / 0.8498 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003276/1.679, allocations: 4.608 MB / 0.8543 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.681, allocations: 0.8238 MB / 0.8551 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005588/1.681, allocations: 160 kB / 0.8553 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003449/1.681, allocations: 0.6491 MB / 0.8559 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004793/1.686, allocations: 2.883 MB / 0.8587 GB, free: 13.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009666/1.696, allocations: 7.836 MB / 0.8664 GB, free: 3.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008838/1.705, allocations: 4.612 MB / 0.8709 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.705, allocations: 56 kB / 0.871 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.02892/1.734, allocations: 11.93 MB / 0.8826 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.734, allocations: 82.81 kB / 0.8827 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002478/1.734, allocations: 176 kB / 0.8828 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/1.739, allocations: 1.812 MB / 0.8846 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006586/1.746, allocations: 1.858 MB / 0.8864 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.761, allocations: 11.74 MB / 0.8979 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009707/1.77, allocations: 459.4 kB / 0.8983 GB, free: 4.137 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/1.772, allocations: 496 kB / 0.8988 GB, free: 3.652 MB / 0.5763 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 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[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 (996): * Single equations (assignments): 990 * 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%) 13,(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007707/1.78, allocations: 3.055 MB / 0.9018 GB, free: 0.75 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.782, allocations: 0.5417 MB / 0.9023 GB, free: 208 kB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009422/1.791, allocations: 4.868 MB / 0.9071 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/1.792, allocations: 26.89 kB / 0.9071 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-05/1.792, allocations: 11.95 kB / 0.9071 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/1.792, allocations: 15.95 kB / 0.9071 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02447/1.816, allocations: 11.26 MB / 0.9181 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.816, allocations: 1.641 kB / 0.9181 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.818, allocations: 323.9 kB / 0.9184 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/1.822, allocations: 1.493 MB / 0.9199 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/1.822, allocations: 35.98 kB / 0.9199 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.836, allocations: 10.83 MB / 0.9305 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.836, allocations: 8.078 kB / 0.9305 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4202/2.256, allocations: 7.962 MB / 0.9383 GB, free: 245.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/2.259, allocations: 0.619 MB / 0.9389 GB, free: 245.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/2.261, allocations: 34.42 kB / 0.9389 GB, free: 245.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/2.264, allocations: 151.4 kB / 0.9391 GB, free: 245.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006561/2.265, allocations: 121.6 kB / 0.9392 GB, free: 245.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/2.265, allocations: 57.42 kB / 0.9392 GB, free: 245.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01133/2.277, allocations: 4.25 MB / 0.9434 GB, free: 244.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.62e-07/2.277, allocations: 0 / 0.9434 GB, free: 244.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01334/2.29, allocations: 1.495 MB / 0.9448 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,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/2.291, allocations: 162.4 kB / 0.945 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01425/2.305, allocations: 7.121 MB / 0.952 GB, free: 241.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/2.306, allocations: 0 / 0.952 GB, free: 241.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/2.309, allocations: 2.294 MB / 0.9542 GB, free: 240.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007379/2.316, allocations: 0.7269 MB / 0.9549 GB, free: 240.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/2.354, allocations: 16.9 MB / 0.9714 GB, free: 232.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009375/2.364, allocations: 4.618 MB / 0.9759 GB, free: 229.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/2.366, allocations: 410.6 kB / 0.9763 GB, free: 229.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.974e-06/2.366, allocations: 0 / 0.9763 GB, free: 229.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.2019/2.568, allocations: 168.7 MB / 1.141 GB, free: 62.43 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorquesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.o] Error 1