Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001196, allocations: 89.25 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.001503/0.001503, allocations: 197.1 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.602/1.602, 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.2459/0.2459, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1695, allocations: 63.48 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.42/0.5897, allocations: 79.49 MB / 0.5485 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05236/0.6421, allocations: 16.33 MB / 0.5644 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02482/0.6669, allocations: 378.8 kB / 0.5648 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01932/0.6863, allocations: 4.23 MB / 0.5689 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0479/0.7343, allocations: 12.17 MB / 0.5808 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007835/0.7422, allocations: 0.9205 MB / 0.5817 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08685/0.829, allocations: 62.58 MB / 0.6428 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01292/0.842, allocations: 7.003 MB / 0.6496 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.8459, allocations: 1.751 MB / 0.6513 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.8496, allocations: 2.691 MB / 0.654 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.8502, allocations: 200 kB / 0.6542 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.8524, allocations: 1.084 MB / 0.6552 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002358/0.8548, allocations: 2.412 MB / 0.6576 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.8561, allocations: 1.162 MB / 0.6587 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007966/0.8641, allocations: 7.852 MB / 0.6664 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.8641, allocations: 0 / 0.6664 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8641, allocations: 0 / 0.6664 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001973/0.8643, allocations: 0 / 0.6664 GB, free: 11.43 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01224/0.8766, allocations: 5.777 MB / 0.672 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.8766, allocations: 12.03 kB / 0.672 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.8866, allocations: 2.741 MB / 0.6747 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007857/0.8945, allocations: 3.835 MB / 0.6784 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.8948, allocations: 340.9 kB / 0.6788 GB, free: 14.57 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/0.8956, allocations: 463.7 kB / 0.6792 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.9242, allocations: 14.74 MB / 0.6936 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.9244, allocations: 59.44 kB / 0.6937 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005479/0.925, allocations: 211.8 kB / 0.6939 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004707/0.9297, allocations: 2.79 MB / 0.6966 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4001/1.33, allocations: 12.73 MB / 0.709 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07321/1.403, allocations: 53.64 MB / 0.7614 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/1.417, allocations: 6.238 MB / 0.7675 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/1.422, allocations: 3.859 MB / 0.7713 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02134/1.443, allocations: 13.27 MB / 0.7842 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/1.444, allocations: 64.44 kB / 0.7843 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 7.955e-06/1.444, allocations: 0 / 0.7843 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.07894/1.523, allocations: 29.61 MB / 0.8132 GB, free: 95.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/1.523, allocations: 209.9 kB / 0.8134 GB, free: 95.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008832/1.531, allocations: 5.008 MB / 0.8183 GB, free: 90.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009427/1.532, allocations: 69.61 kB / 0.8184 GB, free: 90.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.535, allocations: 3.979 MB / 0.8222 GB, free: 86.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.536, allocations: 1.012 MB / 0.8232 GB, free: 85.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007851/1.537, allocations: 144 kB / 0.8234 GB, free: 85.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003981/1.538, allocations: 0.624 MB / 0.824 GB, free: 84.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/1.542, allocations: 3.282 MB / 0.8272 GB, free: 81.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007341/1.55, allocations: 7.401 MB / 0.8344 GB, free: 71.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/1.557, allocations: 4.809 MB / 0.8391 GB, free: 67.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001701/1.557, allocations: 44 kB / 0.8392 GB, free: 67.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.02703/1.584, allocations: 12.53 MB / 0.8514 GB, free: 54.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/1.584, allocations: 75.11 kB / 0.8515 GB, free: 54.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/1.585, allocations: 152 kB / 0.8516 GB, free: 54.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/1.59, allocations: 2.253 MB / 0.8538 GB, free: 51.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005884/1.596, allocations: 1.719 MB / 0.8555 GB, free: 50.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/1.613, allocations: 13.47 MB / 0.8686 GB, free: 36.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007258/1.62, allocations: 444.6 kB / 0.8691 GB, free: 36.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.622, allocations: 439.9 kB / 0.8695 GB, free: 35.67 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (900): * Single equations (assignments): 895 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00604/1.628, allocations: 2.807 MB / 0.8722 GB, free: 32.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.629, allocations: 458.1 kB / 0.8727 GB, free: 32.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.643, allocations: 6.981 MB / 0.8795 GB, free: 25.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-05/1.644, allocations: 28 kB / 0.8795 GB, free: 25.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/1.644, allocations: 11.94 kB / 0.8795 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.002e-05/1.644, allocations: 15.95 kB / 0.8795 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/1.675, allocations: 14.55 MB / 0.8937 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.675, allocations: 0 / 0.8937 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/1.677, allocations: 447.3 kB / 0.8942 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004736/1.682, allocations: 2.034 MB / 0.8962 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005877/1.683, allocations: 40 kB / 0.8962 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/1.7, allocations: 12.72 MB / 0.9086 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/1.7, allocations: 0 / 0.9086 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02111/1.721, allocations: 10.97 MB / 0.9193 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3719/2.093, allocations: 0.4948 MB / 0.9198 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/2.095, allocations: 43.27 kB / 0.9198 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003683/2.099, allocations: 216.9 kB / 0.92 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/2.1, allocations: 155.6 kB / 0.9202 GB, free: 186.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/2.1, allocations: 70.53 kB / 0.9203 GB, free: 186.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01015/2.11, allocations: 3.135 MB / 0.9233 GB, free: 186.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.72e-07/2.11, allocations: 0 / 0.9233 GB, free: 186.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01176/2.122, allocations: 1.481 MB / 0.9248 GB, free: 186.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (212): * Single equations (assignments): 207 * 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.001075/2.123, allocations: 191.6 kB / 0.925 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01813/2.142, allocations: 8.046 MB / 0.9328 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.142, allocations: 0 / 0.9328 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007704/2.149, allocations: 3.406 MB / 0.9361 GB, free: 182.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/2.155, allocations: 0.6258 MB / 0.9367 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/2.186, allocations: 16.84 MB / 0.9532 GB, free: 174 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006153/2.192, allocations: 4.337 MB / 0.9574 GB, free: 171.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/2.194, allocations: 379.3 kB / 0.9578 GB, free: 171.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.193e-06/2.194, allocations: 0 / 0.9578 GB, free: 171.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1724/2.366, allocations: 131.8 MB / 1.086 GB, free: 42.29 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3CalcHelperMain.o] Error 1