Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 90.81 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.001892/0.001892, allocations: 198.2 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.612/1.612, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2558/0.2558, allocations: 45.92 MB / 344.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 63.46 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.4835/0.6379, allocations: 101 MB / 0.5695 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06241/0.7004, allocations: 20.17 MB / 0.5892 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03433/0.7348, allocations: 482.9 kB / 0.5896 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02177/0.7566, allocations: 5.389 MB / 0.5949 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05426/0.8109, allocations: 15.44 MB / 0.61 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008537/0.8194, allocations: 1.069 MB / 0.611 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.1198/0.9393, allocations: 92.25 MB / 0.7011 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4702/1.41, allocations: 7.88 MB / 0.7088 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007043/1.417, allocations: 2.134 MB / 0.7109 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009986/1.427, allocations: 3.391 MB / 0.7142 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00363/1.43, allocations: 238.8 kB / 0.7144 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006824/1.437, allocations: 1.004 MB / 0.7154 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.008951/1.446, allocations: 3.01 MB / 0.7183 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.006681/1.453, allocations: 1.396 MB / 0.7197 GB, free: 92.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0189/1.472, allocations: 9.259 MB / 0.7287 GB, free: 92.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.472, allocations: 0 / 0.7287 GB, free: 92.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.166e-06/1.472, allocations: 1.641 kB / 0.7287 GB, free: 92.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007538/1.473, allocations: 3.906 kB / 0.7287 GB, free: 92.12 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02466/1.497, allocations: 6.902 MB / 0.7355 GB, free: 89.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.497, allocations: 10.47 kB / 0.7355 GB, free: 89.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/1.513, allocations: 3.261 MB / 0.7387 GB, free: 88.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/1.527, allocations: 4.915 MB / 0.7435 GB, free: 86.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005553/1.528, allocations: 408.2 kB / 0.7439 GB, free: 86.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003236/1.531, allocations: 0.5363 MB / 0.7444 GB, free: 86.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/1.568, allocations: 16.1 MB / 0.7601 GB, free: 81.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/1.569, allocations: 86.83 kB / 0.7602 GB, free: 81.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009537/1.57, allocations: 259.3 kB / 0.7604 GB, free: 81.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004897/1.575, allocations: 3.053 MB / 0.7634 GB, free: 78.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/1.603, allocations: 13.36 MB / 0.7765 GB, free: 69.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08328/1.687, allocations: 63.53 MB / 0.8385 GB, free: 16.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/1.701, allocations: 5.629 MB / 0.844 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005412/1.706, allocations: 3.793 MB / 0.8477 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/1.707, allocations: 43.05 kB / 0.8478 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/1.707, allocations: 68.27 kB / 0.8478 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 6.903e-06/1.707, allocations: 4 kB / 0.8478 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.09666/1.803, allocations: 31.58 MB / 0.8787 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002397/1.804, allocations: 286.9 kB / 0.8789 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/1.819, allocations: 7.107 MB / 0.8859 GB, free: 248 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/1.82, allocations: 69.7 kB / 0.886 GB, free: 172 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005249/1.825, allocations: 4.901 MB / 0.8907 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.827, allocations: 1.029 MB / 0.8917 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005453/1.828, allocations: 176 kB / 0.8919 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0005126/1.829, allocations: 0.6823 MB / 0.8926 GB, free: 9.418 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005778/1.834, allocations: 3.507 MB / 0.896 GB, free: 5.906 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.845, allocations: 8.777 MB / 0.9046 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.855, allocations: 5.388 MB / 0.9098 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/1.855, allocations: 52 kB / 0.9099 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.03169/1.887, allocations: 14.03 MB / 0.9236 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002826/1.887, allocations: 84.19 kB / 0.9237 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004003/1.888, allocations: 188 kB / 0.9238 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006571/1.894, allocations: 2.316 MB / 0.9261 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008209/1.902, allocations: 2.086 MB / 0.9281 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4172/2.32, allocations: 14.53 MB / 0.9423 GB, free: 229.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009775/2.329, allocations: 0.5082 MB / 0.9428 GB, free: 229.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/2.332, allocations: 0.5276 MB / 0.9433 GB, free: 229.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1094): * Single equations (assignments): 1088 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0106/2.343, allocations: 3.297 MB / 0.9466 GB, free: 228.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002267/2.345, allocations: 0.5868 MB / 0.9471 GB, free: 228.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/2.36, allocations: 6.714 MB / 0.9537 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.206e-05/2.36, allocations: 28.47 kB / 0.9537 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.689e-05/2.36, allocations: 9.156 kB / 0.9537 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.663e-05/2.36, allocations: 14.36 kB / 0.9537 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/2.388, allocations: 14.6 MB / 0.968 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/2.388, allocations: 0 / 0.968 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/2.39, allocations: 466.1 kB / 0.9684 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004597/2.395, allocations: 2.008 MB / 0.9704 GB, free: 220.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/2.395, allocations: 47.08 kB / 0.9705 GB, free: 220.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/2.41, allocations: 13.55 MB / 0.9837 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.41, allocations: 0 / 0.9837 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/2.426, allocations: 10.7 MB / 0.9941 GB, free: 208.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/2.429, allocations: 0.6783 MB / 0.9948 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.43, allocations: 36.55 kB / 0.9948 GB, free: 207.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/2.433, allocations: 188.3 kB / 0.995 GB, free: 207.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/2.434, allocations: 155.7 kB / 0.9952 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/2.434, allocations: 69.02 kB / 0.9952 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009077/2.443, allocations: 4.498 MB / 0.9996 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.01e-07/2.443, allocations: 0 / 0.9996 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01405/2.457, allocations: 1.702 MB / 1.001 GB, free: 202.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/2.459, allocations: 180.3 kB / 1.001 GB, free: 202 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01751/2.476, allocations: 8.606 MB / 1.01 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/2.476, allocations: 0 / 1.01 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006462/2.483, allocations: 3.183 MB / 1.013 GB, free: 191.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008979/2.492, allocations: 0.8019 MB / 1.014 GB, free: 190.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/2.536, allocations: 19.06 MB / 1.032 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/2.547, allocations: 4.979 MB / 1.037 GB, free: 166.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/2.549, allocations: 451.4 kB / 1.038 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.543e-06/2.549, allocations: 0 / 1.038 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.5951/3.144, allocations: 185.5 MB / 1.219 GB, free: 222.8 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForcesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForcesCalcHelperMain.o] Error 1