Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, 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.002079/0.002079, 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.554/1.554, 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.2553/0.2553, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1661, allocations: 63.48 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.0391/0.2053, allocations: 26.42 MB / 0.4966 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.2273, allocations: 6.463 MB / 0.5029 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007156/0.2345, allocations: 127.7 kB / 0.5031 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.24, allocations: 1.272 MB / 0.5043 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3459/0.586, allocations: 3.982 MB / 0.5082 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.5884, allocations: 416.4 kB / 0.5086 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009835/0.5982, allocations: 4.355 MB / 0.5128 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004582/0.6029, allocations: 2.164 MB / 0.515 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.6059, allocations: 1.033 MB / 0.516 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.6097, allocations: 1.672 MB / 0.5176 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.6104, allocations: 126.2 kB / 0.5177 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.6133, allocations: 0.8819 MB / 0.5186 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.6164, allocations: 1.53 MB / 0.5201 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.6184, allocations: 0.7475 MB / 0.5208 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.6285, allocations: 4.71 MB / 0.5254 GB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.6285, allocations: 2.625 kB / 0.5254 GB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6285, allocations: 1.75 kB / 0.5254 GB, free: 9.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003021/0.6288, allocations: 0 / 0.5254 GB, free: 9.809 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.0112/0.6401, allocations: 3.518 MB / 0.5288 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.6401, allocations: 9.031 kB / 0.5289 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.6515, allocations: 3.298 MB / 0.5321 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/0.6573, allocations: 1.992 MB / 0.534 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.6575, allocations: 181.2 kB / 0.5342 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.6589, allocations: 341.7 kB / 0.5345 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.6814, allocations: 10.48 MB / 0.5447 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.6815, allocations: 27.19 kB / 0.5448 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/0.6819, allocations: 114.2 kB / 0.5449 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003943/0.6858, allocations: 2.498 MB / 0.5473 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/0.7077, allocations: 9.977 MB / 0.5571 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06079/0.7685, allocations: 35 MB / 0.5912 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00857/0.7771, allocations: 4.305 MB / 0.5954 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/0.7806, allocations: 2.148 MB / 0.5975 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.782, allocations: 1.32 MB / 0.5988 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.782, allocations: 48.56 kB / 0.5989 GB, free: 11.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 4.759e-06/0.782, allocations: 0 / 0.5989 GB, free: 11.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.03999/0.822, allocations: 16.73 MB / 0.6152 GB, free: 10.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001443/0.8235, allocations: 1.523 MB / 0.6167 GB, free: 9.129 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/0.8286, allocations: 2.695 MB / 0.6193 GB, free: 6.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007401/0.8293, allocations: 57.7 kB / 0.6194 GB, free: 6.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/0.8324, allocations: 2.662 MB / 0.622 GB, free: 3.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0018/0.8342, allocations: 0.9261 MB / 0.6229 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.8345, allocations: 105.2 kB / 0.623 GB, free: 2.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006089/0.8351, allocations: 0.5496 MB / 0.6235 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004424/0.8395, allocations: 2.404 MB / 0.6259 GB, free: 15.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007761/0.8473, allocations: 5.364 MB / 0.6311 GB, free: 8.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007419/0.8548, allocations: 3.59 MB / 0.6346 GB, free: 5.332 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.86e-05/0.8549, allocations: 36 kB / 0.6347 GB, free: 5.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02623/0.8812, allocations: 9.691 MB / 0.6441 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.8814, allocations: 55.95 kB / 0.6442 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01501/0.8964, allocations: 4.881 MB / 0.6489 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.9073, allocations: 2.48 MB / 0.6514 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/0.9127, allocations: 1.263 MB / 0.6526 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00975/0.9225, allocations: 5.854 MB / 0.6583 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/0.9283, allocations: 396.5 kB / 0.6587 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/0.9299, allocations: 320.9 kB / 0.659 GB, free: 12.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (678): * Single equations (assignments): 666 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007883/0.9378, allocations: 2.063 MB / 0.661 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/0.9398, allocations: 277.3 kB / 0.6613 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/0.9542, allocations: 5.307 MB / 0.6665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009507/0.9637, allocations: 4.592 MB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/0.9638, allocations: 5.703 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/0.9638, allocations: 7.969 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/0.9942, allocations: 14.42 MB / 0.685 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.9943, allocations: 12 kB / 0.6851 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.9961, allocations: 399.4 kB / 0.6854 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00414/1, allocations: 1.248 MB / 0.6867 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003565/1.001, allocations: 63.91 kB / 0.6867 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005963/1.007, allocations: 4.44 MB / 0.691 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001438/1.008, allocations: 1.475 MB / 0.6925 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.023, allocations: 7.973 MB / 0.7003 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.024, allocations: 337.5 kB / 0.7006 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/1.025, allocations: 55.98 kB / 0.7006 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.026, allocations: 193 kB / 0.7008 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/1.027, allocations: 164.9 kB / 0.701 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.027, allocations: 74.95 kB / 0.7011 GB, free: 112 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003159/1.03, allocations: 1.636 MB / 0.7027 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 4 kB / 0.7027 GB, free: 14.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005937/1.036, allocations: 1.057 MB / 0.7037 GB, free: 13.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006523/1.037, allocations: 192.1 kB / 0.7039 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.05, allocations: 6.406 MB / 0.7101 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.05, allocations: 4 kB / 0.7101 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005666/1.055, allocations: 2.836 MB / 0.7129 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.059, allocations: 389.4 kB / 0.7133 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3498/1.409, allocations: 12.65 MB / 0.7256 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004698/1.414, allocations: 3.233 MB / 0.7288 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.415, allocations: 260.8 kB / 0.729 GB, free: 163.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/1.415, allocations: 4.906 kB / 0.729 GB, free: 163.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1752/1.59, allocations: 129.2 MB / 0.8553 GB, free: 51.98 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1