Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001177, allocations: 89.39 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.001359/0.001359, allocations: 201 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.621/1.621, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 45.9 MB / 344.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003394, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.165, allocations: 63.47 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4538/0.6189, allocations: 111.9 MB / 0.5801 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0709/0.6899, allocations: 22.25 MB / 0.6019 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0393/0.7293, allocations: 0.5222 MB / 0.6024 GB, free: 13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02398/0.7533, allocations: 5.968 MB / 0.6082 GB, free: 7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05982/0.8132, allocations: 17.14 MB / 0.6249 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009156/0.8223, allocations: 1.237 MB / 0.6262 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.6282/1.451, allocations: 121.6 MB / 0.7449 GB, free: 84.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01738/1.468, allocations: 9.79 MB / 0.7544 GB, free: 79.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007135/1.475, allocations: 2.448 MB / 0.7568 GB, free: 77.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/1.482, allocations: 3.855 MB / 0.7606 GB, free: 75.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/1.483, allocations: 268 kB / 0.7608 GB, free: 74.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/1.486, allocations: 1.156 MB / 0.762 GB, free: 73.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003324/1.49, allocations: 3.399 MB / 0.7653 GB, free: 71.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/1.492, allocations: 1.543 MB / 0.7668 GB, free: 70.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/1.503, allocations: 10.44 MB / 0.777 GB, free: 61.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/1.503, allocations: 2.438 kB / 0.777 GB, free: 61.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.256e-06/1.503, allocations: 1.75 kB / 0.777 GB, free: 61.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004657/1.503, allocations: 0 / 0.777 GB, free: 61.82 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01717/1.52, allocations: 7.739 MB / 0.7845 GB, free: 54.67 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.52, allocations: 8.031 kB / 0.7846 GB, free: 54.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/1.537, allocations: 3.665 MB / 0.7881 GB, free: 51.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/1.552, allocations: 5.891 MB / 0.7939 GB, free: 46.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006748/1.552, allocations: 453.3 kB / 0.7943 GB, free: 46.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003822/1.556, allocations: 0.6052 MB / 0.7949 GB, free: 46.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03453/1.591, allocations: 17.87 MB / 0.8124 GB, free: 32.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004043/1.591, allocations: 81.64 kB / 0.8124 GB, free: 32.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/1.593, allocations: 284.2 kB / 0.8127 GB, free: 32.13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004577/1.597, allocations: 3.138 MB / 0.8158 GB, free: 29.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02976/1.627, allocations: 14.94 MB / 0.8304 GB, free: 19.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08806/1.715, allocations: 66.43 MB / 0.8952 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/1.733, allocations: 6.622 MB / 0.9017 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0072/1.74, allocations: 3.89 MB / 0.9055 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.741, allocations: 0.6455 MB / 0.9061 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/1.742, allocations: 58.75 kB / 0.9062 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=231): time 7.073e-06/1.742, allocations: 3.938 kB / 0.9062 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=255): time 0.7168/2.458, allocations: 31.51 MB / 0.937 GB, free: 250.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/2.459, allocations: 288.4 kB / 0.9372 GB, free: 249.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02809/2.487, allocations: 7.379 MB / 0.9444 GB, free: 249 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/2.488, allocations: 66.27 kB / 0.9445 GB, free: 248.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005637/2.494, allocations: 5.253 MB / 0.9496 GB, free: 245.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002003/2.496, allocations: 1.002 MB / 0.9506 GB, free: 245 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000885/2.497, allocations: 180.2 kB / 0.9508 GB, free: 244.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0005599/2.497, allocations: 0.6917 MB / 0.9515 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006531/2.504, allocations: 3.408 MB / 0.9548 GB, free: 243.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009218/2.513, allocations: 8.674 MB / 0.9633 GB, free: 235 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/2.521, allocations: 5.283 MB / 0.9684 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001625/2.521, allocations: 51.75 kB / 0.9685 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02945/2.551, allocations: 13.86 MB / 0.982 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/2.551, allocations: 85.28 kB / 0.9821 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004918/2.552, allocations: 184 kB / 0.9823 GB, free: 228.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/2.558, allocations: 2.347 MB / 0.9845 GB, free: 226.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00729/2.566, allocations: 2.055 MB / 0.9866 GB, free: 224.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/2.583, allocations: 15.57 MB / 1.002 GB, free: 208.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/2.593, allocations: 0.5033 MB / 1.002 GB, free: 208.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/2.596, allocations: 0.5244 MB / 1.003 GB, free: 207.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1098): * Single equations (assignments): 1091 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(2,100.0%) 13,(1,100.0%) 14,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00975/2.606, allocations: 3.529 MB / 1.006 GB, free: 204.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/2.608, allocations: 0.6132 MB / 1.007 GB, free: 203.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/2.62, allocations: 6.442 MB / 1.013 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/2.621, allocations: 28 kB / 1.013 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.032e-05/2.621, allocations: 8 kB / 1.013 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/2.621, allocations: 15.95 kB / 1.013 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/2.651, allocations: 14.55 MB / 1.027 GB, free: 182.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/2.651, allocations: 4 kB / 1.027 GB, free: 182.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/2.653, allocations: 399.4 kB / 1.028 GB, free: 182 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/2.658, allocations: 2 MB / 1.03 GB, free: 180 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/2.658, allocations: 43.98 kB / 1.03 GB, free: 180 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/2.672, allocations: 14.46 MB / 1.044 GB, free: 165 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.672, allocations: 3.953 kB / 1.044 GB, free: 165 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/2.686, allocations: 10.12 MB / 1.054 GB, free: 154.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/2.688, allocations: 0.6882 MB / 1.054 GB, free: 154.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/2.69, allocations: 46.02 kB / 1.054 GB, free: 154 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/2.692, allocations: 191.8 kB / 1.055 GB, free: 153.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/2.693, allocations: 153.8 kB / 1.055 GB, free: 153.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/2.693, allocations: 67.94 kB / 1.055 GB, free: 153.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007308/2.7, allocations: 4.685 MB / 1.059 GB, free: 149 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.71e-07/2.7, allocations: 0 / 1.059 GB, free: 149 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009965/2.71, allocations: 1.781 MB / 1.061 GB, free: 147.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.0006464/2.711, allocations: 180.3 kB / 1.061 GB, free: 147 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01171/2.722, allocations: 8.494 MB / 1.07 GB, free: 138.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.723, allocations: 4 kB / 1.07 GB, free: 138.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003451/2.726, allocations: 2.926 MB / 1.072 GB, free: 135.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005865/2.732, allocations: 0.8797 MB / 1.073 GB, free: 134.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/2.762, allocations: 20.18 MB / 1.093 GB, free: 114.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005367/2.768, allocations: 5.37 MB / 1.098 GB, free: 109.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/2.769, allocations: 447.4 kB / 1.099 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/2.769, allocations: 4 kB / 1.099 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.6718/3.441, allocations: 230.7 MB / 1.324 GB, free: 123.5 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2CalcHelperMain.o] Error 1