Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,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.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,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.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008162, allocations: 94.52 kB / 17.63 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009803/0.0009804, allocations: 202 kB / 18.54 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, 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.245/0.245, allocations: 45.92 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003802, allocations: 4 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.4087/0.5782, allocations: 41.71 MB / 0.5115 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02652/0.6048, allocations: 9.451 MB / 0.5208 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01075/0.6156, allocations: 201.4 kB / 0.521 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008948/0.6246, allocations: 2.141 MB / 0.5231 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02378/0.6484, allocations: 6.437 MB / 0.5293 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.6521, allocations: 0.6086 MB / 0.5299 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008485/0.6606, allocations: 4.826 MB / 0.5347 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006897/0.6675, allocations: 4.008 MB / 0.5386 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.6703, allocations: 1.221 MB / 0.5398 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.673, allocations: 1.812 MB / 0.5415 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004672/0.6735, allocations: 129.8 kB / 0.5417 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.6756, allocations: 0.9401 MB / 0.5426 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.6772, allocations: 1.684 MB / 0.5442 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009496/0.6782, allocations: 0.8189 MB / 0.545 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.6837, allocations: 5.271 MB / 0.5502 GB, free: 14.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.6838, allocations: 0 / 0.5502 GB, free: 14.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6838, allocations: 5.422 kB / 0.5502 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002046/0.684, allocations: 0 / 0.5502 GB, free: 14.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.008941/0.6929, allocations: 3.898 MB / 0.554 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.693, allocations: 12.03 kB / 0.554 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/0.7, allocations: 2.032 MB / 0.556 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/0.705, allocations: 2.255 MB / 0.5582 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.7052, allocations: 238.4 kB / 0.5584 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008911/0.7061, allocations: 415.3 kB / 0.5588 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.7243, allocations: 9.891 MB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.7244, allocations: 47.58 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/0.7249, allocations: 147.9 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002646/0.7275, allocations: 1.813 MB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.7451, allocations: 8.325 MB / 0.5785 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05298/0.7981, allocations: 38.87 MB / 0.6165 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009306/0.8074, allocations: 3.749 MB / 0.6202 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/0.8099, allocations: 1.561 MB / 0.6217 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.8218, allocations: 7.846 MB / 0.6293 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.8219, allocations: 47.5 kB / 0.6294 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 4.519e-06/0.8219, allocations: 0 / 0.6294 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03692/0.8588, allocations: 14.33 MB / 0.6434 GB, free: 14.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001426/0.8603, allocations: 1.6 MB / 0.645 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006062/0.8664, allocations: 3.828 MB / 0.6487 GB, free: 8.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004743/0.8669, allocations: 45.7 kB / 0.6487 GB, free: 8.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.8695, allocations: 3.082 MB / 0.6517 GB, free: 5.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009726/0.8705, allocations: 0.6494 MB / 0.6524 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.8708, allocations: 123 kB / 0.6525 GB, free: 4.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003501/0.8711, allocations: 0.5543 MB / 0.653 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/0.8743, allocations: 2.03 MB / 0.655 GB, free: 2.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005726/0.88, allocations: 5.751 MB / 0.6606 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005638/0.8857, allocations: 3.342 MB / 0.6639 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.73e-05/0.8858, allocations: 40 kB / 0.6639 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02305/0.9089, allocations: 9.326 MB / 0.673 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.9091, allocations: 60.22 kB / 0.6731 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01078/0.9199, allocations: 3.607 MB / 0.6766 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009617/0.9296, allocations: 2.375 MB / 0.6789 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005275/0.9349, allocations: 1.388 MB / 0.6803 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/0.9447, allocations: 6.349 MB / 0.6865 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/0.9502, allocations: 406.1 kB / 0.6869 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/0.9516, allocations: 376 kB / 0.6872 GB, free: 14.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (748): * Single equations (assignments): 739 * Array equations: 5 * 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.006351/0.958, allocations: 2.047 MB / 0.6892 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/0.9592, allocations: 335.6 kB / 0.6896 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.9609, allocations: 449.3 kB / 0.69 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005709/0.9666, allocations: 2.515 MB / 0.6925 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/0.9667, allocations: 4 kB / 0.6925 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.9667, allocations: 7.969 kB / 0.6925 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/0.9891, allocations: 9.393 MB / 0.7016 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.9892, allocations: 4 kB / 0.7016 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.9904, allocations: 272.1 kB / 0.7019 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/0.9936, allocations: 1.061 MB / 0.7029 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.9938, allocations: 43.97 kB / 0.703 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/0.9998, allocations: 4.804 MB / 0.7077 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001229/1.001, allocations: 1.455 MB / 0.7091 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009226/1.01, allocations: 5.359 MB / 0.7143 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.012, allocations: 400.5 kB / 0.7147 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/1.012, allocations: 38.34 kB / 0.7147 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.013, allocations: 135.8 kB / 0.7149 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/1.014, allocations: 108.7 kB / 0.715 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.014, allocations: 47.98 kB / 0.715 GB, free: 1.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.4046/1.418, allocations: 2.36 MB / 0.7173 GB, free: 189.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.172e-06/1.418, allocations: 0 / 0.7173 GB, free: 189.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00929/1.428, allocations: 1.029 MB / 0.7183 GB, free: 189.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * 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.0006867/1.429, allocations: 167.1 kB / 0.7185 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01481/1.443, allocations: 5.489 MB / 0.7238 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.267e-05/1.443, allocations: 8.625 kB / 0.7239 GB, free: 188.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005432/1.449, allocations: 2.086 MB / 0.7259 GB, free: 188.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/1.454, allocations: 445.1 kB / 0.7263 GB, free: 188.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/1.48, allocations: 11.46 MB / 0.7375 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004554/1.484, allocations: 3.178 MB / 0.7406 GB, free: 181 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.486, allocations: 282.4 kB / 0.7409 GB, free: 181 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/1.486, allocations: 0 / 0.7409 GB, free: 181 MB / 0.545 GB Notification: Performance of Templates: time 0.1464/1.632, allocations: 128.4 MB / 0.8662 GB, free: 64.09 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShapeCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShapeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShapeCalcHelperMain.o] Error 1