Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 93.03 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002247/0.002247, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, 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.264/0.264, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1683, allocations: 63.47 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4338/0.6021, allocations: 82.98 MB / 0.5519 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05293/0.6551, allocations: 16.92 MB / 0.5684 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02476/0.6799, allocations: 388.3 kB / 0.5688 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01756/0.6975, allocations: 4.421 MB / 0.5731 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04629/0.7439, allocations: 12.69 MB / 0.5855 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007335/0.7512, allocations: 0.9096 MB / 0.5864 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0841/0.8354, allocations: 62.66 MB / 0.6475 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.8504, allocations: 6.824 MB / 0.6542 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.8547, allocations: 1.755 MB / 0.6559 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00465/0.8594, allocations: 2.753 MB / 0.6586 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009695/0.8604, allocations: 204 kB / 0.6588 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.8632, allocations: 1.088 MB / 0.6599 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00278/0.866, allocations: 2.482 MB / 0.6623 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.8675, allocations: 1.189 MB / 0.6635 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.8772, allocations: 7.938 MB / 0.6712 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.8773, allocations: 8 kB / 0.6712 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8773, allocations: 0 / 0.6712 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004003/0.8777, allocations: 0 / 0.6712 GB, free: 6.32 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01491/0.8926, allocations: 5.867 MB / 0.6769 GB, free: 384 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.8927, allocations: 8.031 kB / 0.677 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.904, allocations: 2.784 MB / 0.6797 GB, free: 13.57 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009066/0.9131, allocations: 3.863 MB / 0.6834 GB, free: 9.648 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.9134, allocations: 345 kB / 0.6838 GB, free: 9.309 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008933/0.9143, allocations: 471.6 kB / 0.6842 GB, free: 8.848 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/0.9423, allocations: 14.72 MB / 0.6986 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/0.9426, allocations: 67.38 kB / 0.6987 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005573/0.9431, allocations: 223.8 kB / 0.6989 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004708/0.9478, allocations: 2.793 MB / 0.7016 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4191/1.367, allocations: 12.58 MB / 0.7139 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07745/1.444, allocations: 55.18 MB / 0.7678 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/1.459, allocations: 6.531 MB / 0.7742 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/1.463, allocations: 3.595 MB / 0.7777 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/1.464, allocations: 42.94 kB / 0.7777 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.464, allocations: 57.91 kB / 0.7778 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 5.27e-06/1.464, allocations: 0 / 0.7778 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.07333/1.537, allocations: 31.8 MB / 0.8088 GB, free: 99.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/1.537, allocations: 209.9 kB / 0.809 GB, free: 99.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008449/1.546, allocations: 6.035 MB / 0.8149 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.547, allocations: 66.33 kB / 0.815 GB, free: 93.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.55, allocations: 4.158 MB / 0.819 GB, free: 89.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.551, allocations: 1 MB / 0.82 GB, free: 88.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004397/1.552, allocations: 160 kB / 0.8202 GB, free: 87.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003862/1.552, allocations: 0.6367 MB / 0.8208 GB, free: 87.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005023/1.557, allocations: 3.462 MB / 0.8242 GB, free: 83.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007803/1.565, allocations: 7.946 MB / 0.8319 GB, free: 73.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008528/1.574, allocations: 5.107 MB / 0.8369 GB, free: 68.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/1.574, allocations: 51.98 kB / 0.837 GB, free: 68.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02411/1.598, allocations: 13.24 MB / 0.8499 GB, free: 55.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/1.598, allocations: 76 kB / 0.85 GB, free: 55.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002981/1.598, allocations: 160 kB / 0.8501 GB, free: 54.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005654/1.604, allocations: 2.277 MB / 0.8523 GB, free: 52.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/1.611, allocations: 1.829 MB / 0.8541 GB, free: 50.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/1.628, allocations: 13.48 MB / 0.8673 GB, free: 37.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007909/1.635, allocations: 491.2 kB / 0.8678 GB, free: 36.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/1.638, allocations: 473.8 kB / 0.8682 GB, free: 36.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (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,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],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 (952): * Single equations (assignments): 947 * 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.007784/1.645, allocations: 2.871 MB / 0.871 GB, free: 33.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.647, allocations: 0.5052 MB / 0.8715 GB, free: 32.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.661, allocations: 7.121 MB / 0.8785 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/1.661, allocations: 28 kB / 0.8785 GB, free: 25.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.644e-05/1.661, allocations: 8 kB / 0.8785 GB, free: 25.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/1.661, allocations: 11.95 kB / 0.8785 GB, free: 25.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.691, allocations: 14.78 MB / 0.893 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/1.691, allocations: 4 kB / 0.893 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.694, allocations: 443.3 kB / 0.8934 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/1.699, allocations: 2.035 MB / 0.8954 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007524/1.699, allocations: 40.7 kB / 0.8954 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.717, allocations: 12.72 MB / 0.9078 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.717, allocations: 0 / 0.9078 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3886/2.106, allocations: 11.27 MB / 0.9188 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/2.108, allocations: 0.5912 MB / 0.9194 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002397/2.111, allocations: 45.69 kB / 0.9195 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/2.114, allocations: 237.5 kB / 0.9197 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000878/2.115, allocations: 146.4 kB / 0.9198 GB, free: 179.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/2.115, allocations: 66.8 kB / 0.9199 GB, free: 179.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01044/2.126, allocations: 3.831 MB / 0.9236 GB, free: 179.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/2.126, allocations: 0 / 0.9236 GB, free: 179.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01071/2.137, allocations: 1.542 MB / 0.9251 GB, free: 179.6 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 (202): * Single equations (assignments): 197 * 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.0009235/2.138, allocations: 186.6 kB / 0.9253 GB, free: 179.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.155, allocations: 8.407 MB / 0.9335 GB, free: 177.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/2.155, allocations: 1.281 kB / 0.9335 GB, free: 177.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007658/2.162, allocations: 3.479 MB / 0.9369 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/2.173, allocations: 0.6732 MB / 0.9376 GB, free: 175.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/2.211, allocations: 17.15 MB / 0.9543 GB, free: 167.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006536/2.218, allocations: 4.397 MB / 0.9586 GB, free: 165.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/2.22, allocations: 404.2 kB / 0.959 GB, free: 165.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.524e-06/2.22, allocations: 0 / 0.959 GB, free: 165.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1851/2.405, allocations: 137.5 MB / 1.093 GB, free: 33.45 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o] Error 1