Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 95.94 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 198.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 45.91 MB / 344.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002974, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 63.46 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.4077/0.5767, allocations: 80.98 MB / 0.5499 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05448/0.6312, allocations: 16.38 MB / 0.5659 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02409/0.6554, allocations: 387.6 kB / 0.5663 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01669/0.6721, allocations: 4.27 MB / 0.5704 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04503/0.7172, allocations: 12.41 MB / 0.5826 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00639/0.7236, allocations: 0.8582 MB / 0.5834 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08582/0.8095, allocations: 63.14 MB / 0.645 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.8227, allocations: 7.291 MB / 0.6522 GB, free: 9.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.8276, allocations: 1.919 MB / 0.654 GB, free: 8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005692/0.8333, allocations: 2.964 MB / 0.6569 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.8351, allocations: 212 kB / 0.6571 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.8388, allocations: 0.9948 MB / 0.6581 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003931/0.8427, allocations: 2.657 MB / 0.6607 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.8451, allocations: 1.248 MB / 0.6619 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.8558, allocations: 8.171 MB / 0.6699 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8559, allocations: 4 kB / 0.6699 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.09e-06/0.8559, allocations: 4 kB / 0.6699 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004192/0.8563, allocations: 0 / 0.6699 GB, free: 7.703 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.0174/0.8737, allocations: 6.29 MB / 0.6761 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.8738, allocations: 12.03 kB / 0.6761 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01351/0.8873, allocations: 2.83 MB / 0.6788 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.8994, allocations: 4.144 MB / 0.6829 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004784/0.9, allocations: 365.3 kB / 0.6832 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.9024, allocations: 487.6 kB / 0.6837 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03508/0.9375, allocations: 14.6 MB / 0.698 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004129/0.938, allocations: 71.27 kB / 0.698 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/0.9396, allocations: 235.8 kB / 0.6982 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005476/0.9451, allocations: 2.832 MB / 0.701 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4678/1.413, allocations: 12.3 MB / 0.713 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07652/1.49, allocations: 58.42 MB / 0.7701 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/1.503, allocations: 6.29 MB / 0.7762 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00444/1.507, allocations: 3.693 MB / 0.7798 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/1.521, allocations: 8.545 MB / 0.7882 GB, free: 120 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.521, allocations: 59.72 kB / 0.7882 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=236): time 5.431e-06/1.521, allocations: 0 / 0.7882 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278): time 0.06622/1.587, allocations: 30.4 MB / 0.8179 GB, free: 89.35 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/1.587, allocations: 235.6 kB / 0.8181 GB, free: 89.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009712/1.597, allocations: 6.711 MB / 0.8247 GB, free: 82.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009343/1.598, allocations: 69.7 kB / 0.8248 GB, free: 82.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00276/1.601, allocations: 4.5 MB / 0.8291 GB, free: 77.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.602, allocations: 1.071 MB / 0.8302 GB, free: 76.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.603, allocations: 172.9 kB / 0.8304 GB, free: 76.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003782/1.603, allocations: 0.6779 MB / 0.831 GB, free: 75.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00445/1.607, allocations: 3.546 MB / 0.8345 GB, free: 72.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00731/1.615, allocations: 8.654 MB / 0.8429 GB, free: 61.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007263/1.622, allocations: 5.399 MB / 0.8482 GB, free: 55.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.366e-05/1.622, allocations: 52 kB / 0.8483 GB, free: 55.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1146) (initialization): time 0.02446/1.647, allocations: 13.99 MB / 0.8619 GB, free: 41.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/1.647, allocations: 87.98 kB / 0.862 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003605/1.647, allocations: 176 kB / 0.8622 GB, free: 41.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/1.653, allocations: 2.308 MB / 0.8644 GB, free: 39.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006905/1.66, allocations: 2.016 MB / 0.8664 GB, free: 37.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.676, allocations: 13.41 MB / 0.8795 GB, free: 23.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009637/1.686, allocations: 0.5071 MB / 0.88 GB, free: 22.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002566/1.688, allocations: 0.5213 MB / 0.8805 GB, free: 22.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008158/1.696, allocations: 3.048 MB / 0.8835 GB, free: 19.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/1.699, allocations: 0.5591 MB / 0.884 GB, free: 18.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/1.713, allocations: 7.056 MB / 0.8909 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-05/1.714, allocations: 35.94 kB / 0.8909 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-05/1.714, allocations: 11.95 kB / 0.8909 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.087e-05/1.714, allocations: 11.95 kB / 0.891 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/1.744, allocations: 14.99 MB / 0.9056 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.744, allocations: 4 kB / 0.9056 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/1.746, allocations: 467.7 kB / 0.9061 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005018/1.751, allocations: 2.03 MB / 0.908 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/1.751, allocations: 57.88 kB / 0.9081 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4019/2.153, allocations: 12.66 MB / 0.9205 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/2.153, allocations: 5.812 kB / 0.9205 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02389/2.177, allocations: 11.2 MB / 0.9314 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003106/2.18, allocations: 0.6444 MB / 0.932 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002557/2.183, allocations: 51.36 kB / 0.9321 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004332/2.187, allocations: 196.6 kB / 0.9323 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.188, allocations: 177.1 kB / 0.9324 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/2.189, allocations: 75.12 kB / 0.9325 GB, free: 175.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01308/2.202, allocations: 4.28 MB / 0.9367 GB, free: 174.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.91e-07/2.202, allocations: 0 / 0.9367 GB, free: 174.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01376/2.215, allocations: 1.615 MB / 0.9383 GB, free: 174.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 (220): * Single equations (assignments): 215 * 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.001555/2.217, allocations: 189.6 kB / 0.9384 GB, free: 174 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01715/2.234, allocations: 8.653 MB / 0.9469 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/2.234, allocations: 0 / 0.9469 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007423/2.242, allocations: 3.403 MB / 0.9502 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009969/2.252, allocations: 0.712 MB / 0.9509 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/2.292, allocations: 18.02 MB / 0.9685 GB, free: 156.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/2.303, allocations: 4.601 MB / 0.973 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/2.305, allocations: 449.9 kB / 0.9734 GB, free: 152.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.833e-06/2.305, allocations: 0 / 0.9734 GB, free: 152.8 MB / 0.545 GB Notification: Performance of Templates: time 0.2052/2.511, allocations: 144.2 MB / 1.114 GB, free: 9.48 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.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.TorqueCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.TorqueCalcHelperMain.o] Error 1