Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 89.55 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.001204/0.001204, allocations: 201.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.627/1.627, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2814/0.2814, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 63.47 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4507/0.63, allocations: 86.66 MB / 0.5555 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05324/0.6833, allocations: 17.62 MB / 0.5727 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02758/0.7109, allocations: 411 kB / 0.5731 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01863/0.7296, allocations: 4.615 MB / 0.5776 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04612/0.7758, allocations: 13.31 MB / 0.5906 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007647/0.7834, allocations: 0.9128 MB / 0.5915 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.08442/0.8679, allocations: 63.04 MB / 0.653 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.8792, allocations: 7.198 MB / 0.66 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.8837, allocations: 1.86 MB / 0.6619 GB, free: 32 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.8892, allocations: 2.866 MB / 0.6647 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009255/0.8902, allocations: 208 kB / 0.6649 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.8931, allocations: 1.1 MB / 0.6659 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003387/0.8965, allocations: 2.599 MB / 0.6685 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.8985, allocations: 1.24 MB / 0.6697 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.9099, allocations: 8.242 MB / 0.6777 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.91, allocations: 4 kB / 0.6777 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.426e-06/0.91, allocations: 0 / 0.6777 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004728/0.9105, allocations: 0 / 0.6777 GB, free: 15.73 MB / 0.5137 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.0193/0.9298, allocations: 6.204 MB / 0.6838 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.28e-05/0.9299, allocations: 12.03 kB / 0.6838 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.9424, allocations: 2.811 MB / 0.6865 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.9539, allocations: 4.112 MB / 0.6906 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000459/0.9544, allocations: 361.3 kB / 0.6909 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003271/0.9577, allocations: 479.6 kB / 0.6914 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03539/0.9931, allocations: 15.24 MB / 0.7062 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/0.9934, allocations: 67.38 kB / 0.7063 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009328/0.9944, allocations: 231.8 kB / 0.7065 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3984/1.393, allocations: 2.878 MB / 0.7093 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03589/1.429, allocations: 12.97 MB / 0.722 GB, free: 183 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07625/1.505, allocations: 57.3 MB / 0.778 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/1.519, allocations: 5.803 MB / 0.7836 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004292/1.523, allocations: 3.634 MB / 0.7872 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/1.537, allocations: 8.199 MB / 0.7952 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/1.537, allocations: 52.22 kB / 0.7952 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 7.103e-06/1.537, allocations: 3.938 kB / 0.7952 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=269): time 0.0769/1.614, allocations: 31.11 MB / 0.8256 GB, free: 82.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/1.614, allocations: 247.5 kB / 0.8259 GB, free: 82.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007913/1.622, allocations: 6.401 MB / 0.8321 GB, free: 75.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006978/1.623, allocations: 66.64 kB / 0.8322 GB, free: 75.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/1.626, allocations: 4.36 MB / 0.8364 GB, free: 71.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.627, allocations: 1.032 MB / 0.8374 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/1.628, allocations: 160.7 kB / 0.8376 GB, free: 70.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004144/1.628, allocations: 0.6533 MB / 0.8382 GB, free: 69.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004354/1.632, allocations: 3.42 MB / 0.8416 GB, free: 66.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006445/1.639, allocations: 8.132 MB / 0.8495 GB, free: 55.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006338/1.645, allocations: 5.143 MB / 0.8545 GB, free: 50.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-05/1.645, allocations: 44 kB / 0.8546 GB, free: 50.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.02096/1.666, allocations: 13.39 MB / 0.8676 GB, free: 37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/1.666, allocations: 76 kB / 0.8677 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.667, allocations: 168 kB / 0.8679 GB, free: 36.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004637/1.671, allocations: 2.304 MB / 0.8701 GB, free: 34.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005715/1.677, allocations: 1.875 MB / 0.872 GB, free: 32.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0243/1.701, allocations: 13.42 MB / 0.8851 GB, free: 18.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/1.714, allocations: 483.3 kB / 0.8855 GB, free: 18.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002768/1.717, allocations: 493.3 kB / 0.886 GB, free: 17.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (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,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (993): * Single equations (assignments): 986 * 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 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01116/1.728, allocations: 3.003 MB / 0.8889 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002582/1.73, allocations: 0.5321 MB / 0.8895 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/1.75, allocations: 6.983 MB / 0.8963 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-05/1.751, allocations: 28 kB / 0.8963 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.653e-05/1.751, allocations: 11.94 kB / 0.8963 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-05/1.751, allocations: 19.95 kB / 0.8963 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04663/1.797, allocations: 14.62 MB / 0.9106 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.379e-05/1.797, allocations: 4 kB / 0.9106 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.801, allocations: 447.3 kB / 0.911 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007902/1.809, allocations: 2.034 MB / 0.913 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008246/1.81, allocations: 48 kB / 0.9131 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3951/2.205, allocations: 12.76 MB / 0.9255 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/2.205, allocations: 5.281 kB / 0.9255 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/2.227, allocations: 11.01 MB / 0.9363 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/2.229, allocations: 0.6266 MB / 0.9369 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/2.231, allocations: 50.28 kB / 0.937 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/2.233, allocations: 197 kB / 0.9371 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006202/2.234, allocations: 161.5 kB / 0.9373 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/2.234, allocations: 71.77 kB / 0.9374 GB, free: 174.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008705/2.243, allocations: 4.093 MB / 0.9414 GB, free: 172.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/2.243, allocations: 0 / 0.9414 GB, free: 172.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01143/2.255, allocations: 1.571 MB / 0.9429 GB, free: 172.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (211): * Single equations (assignments): 206 * 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 {(5,72.0%) 17,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009232/2.256, allocations: 189.8 kB / 0.9431 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01424/2.27, allocations: 8.38 MB / 0.9513 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.27, allocations: 4 kB / 0.9513 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006306/2.276, allocations: 3.473 MB / 0.9547 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006963/2.283, allocations: 0.7117 MB / 0.9553 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/2.317, allocations: 17.75 MB / 0.9727 GB, free: 155 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007232/2.324, allocations: 4.587 MB / 0.9772 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/2.326, allocations: 429.3 kB / 0.9776 GB, free: 151.1 MB / 0.545 GB Notification: Performance of SimCode: time 3.997e-06/2.326, allocations: 0 / 0.9776 GB, free: 151.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1921/2.518, allocations: 142.5 MB / 1.117 GB, free: 8.973 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorquesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorquesCalcHelperMain.o] Error 1