Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009698/0.0009699, allocations: 91.55 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 186.9 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 242.5 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.22 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 12.73 kB / 410.2 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.04976/0.2035, allocations: 45.04 MB / 0.5051 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3784/0.582, allocations: 10.01 MB / 0.5149 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01407/0.5962, allocations: 209.7 kB / 0.5151 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01211/0.6083, allocations: 2.326 MB / 0.5173 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03137/0.6398, allocations: 6.907 MB / 0.5241 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.6441, allocations: 0.5867 MB / 0.5247 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008877/0.653, allocations: 4.32 MB / 0.5289 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007634/0.6607, allocations: 4.595 MB / 0.5334 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.6638, allocations: 1.195 MB / 0.5345 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.6672, allocations: 1.816 MB / 0.5363 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.6683, allocations: 139.3 kB / 0.5364 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.6716, allocations: 0.9067 MB / 0.5373 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.6743, allocations: 1.649 MB / 0.5389 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.6757, allocations: 0.8186 MB / 0.5397 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00829/0.6839, allocations: 5.509 MB / 0.5451 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.684, allocations: 128 / 0.5451 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.684, allocations: 176 / 0.5451 GB, free: 0 / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003242/0.6843, allocations: 2.766 kB / 0.5451 GB, free: 0 / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01048/0.6948, allocations: 3.86 MB / 0.5489 GB, free: 12.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6949, allocations: 11.97 kB / 0.5489 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006984/0.7019, allocations: 1.948 MB / 0.5508 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/0.7077, allocations: 2.136 MB / 0.5529 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.708, allocations: 244.6 kB / 0.5531 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.7091, allocations: 399.2 kB / 0.5535 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.7297, allocations: 9.896 MB / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.7299, allocations: 46.88 kB / 0.5632 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004396/0.7303, allocations: 151.6 kB / 0.5634 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/0.7333, allocations: 1.828 MB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.7527, allocations: 8.168 MB / 0.5731 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06787/0.8206, allocations: 38.78 MB / 0.611 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.8307, allocations: 3.675 MB / 0.6146 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00284/0.8336, allocations: 1.617 MB / 0.6162 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/0.8489, allocations: 7.836 MB / 0.6238 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.879e-05/0.849, allocations: 55.5 kB / 0.6239 GB, free: 2.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=141): time 5.43e-06/0.849, allocations: 0 / 0.6239 GB, free: 2.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.03525/0.8843, allocations: 12.33 MB / 0.6359 GB, free: 5.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002334/0.8867, allocations: 1.609 MB / 0.6375 GB, free: 3.793 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/0.8975, allocations: 3.814 MB / 0.6412 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006846/0.8982, allocations: 45.8 kB / 0.6412 GB, free: 15.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00373/0.902, allocations: 3.051 MB / 0.6442 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/0.9037, allocations: 0.603 MB / 0.6448 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.9049, allocations: 112 kB / 0.6449 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001063/0.906, allocations: 0.5498 MB / 0.6455 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005153/0.9112, allocations: 2.01 MB / 0.6474 GB, free: 9.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008985/0.9202, allocations: 5.645 MB / 0.6529 GB, free: 2.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006876/0.9271, allocations: 3.296 MB / 0.6562 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000196/0.9274, allocations: 36 kB / 0.6562 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02613/0.9535, allocations: 9.113 MB / 0.6651 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.9538, allocations: 60 kB / 0.6651 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01181/0.9656, allocations: 3.561 MB / 0.6686 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.9759, allocations: 2.25 MB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005406/0.9813, allocations: 1.326 MB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.9946, allocations: 6.868 MB / 0.6788 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006236/1.001, allocations: 403.4 kB / 0.6792 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.003, allocations: 366.3 kB / 0.6796 GB, free: 6.574 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[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 (716): * Single equations (assignments): 707 * 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.006837/1.01, allocations: 2.023 MB / 0.6815 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.011, allocations: 327.8 kB / 0.6818 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007813/1.019, allocations: 2.938 MB / 0.6847 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005413/1.024, allocations: 2.483 MB / 0.6871 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.493e-05/1.024, allocations: 4 kB / 0.6871 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-05/1.024, allocations: 7.969 kB / 0.6872 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.047, allocations: 8.543 MB / 0.6955 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/1.047, allocations: 4 kB / 0.6955 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.049, allocations: 247.7 kB / 0.6957 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/1.052, allocations: 1.037 MB / 0.6967 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/1.052, allocations: 39.97 kB / 0.6968 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3328/1.385, allocations: 5.008 MB / 0.7017 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001155/1.386, allocations: 1.482 MB / 0.7031 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/1.398, allocations: 5.168 MB / 0.7082 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.399, allocations: 396.2 kB / 0.7085 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/1.399, allocations: 30.7 kB / 0.7086 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/1.401, allocations: 137.9 kB / 0.7087 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/1.401, allocations: 90.38 kB / 0.7088 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.402, allocations: 42.38 kB / 0.7088 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006364/1.408, allocations: 2.359 MB / 0.7111 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.81e-07/1.408, allocations: 0.5 kB / 0.7111 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007662/1.416, allocations: 1.048 MB / 0.7122 GB, free: 179.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[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 (114): * Single equations (assignments): 107 * 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.0005086/1.416, allocations: 165 kB / 0.7123 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.427, allocations: 5.492 MB / 0.7177 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.427, allocations: 0 / 0.7177 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003609/1.431, allocations: 2.152 MB / 0.7198 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.434, allocations: 429 kB / 0.7202 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.453, allocations: 11.37 MB / 0.7313 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.456, allocations: 3.162 MB / 0.7344 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000984/1.457, allocations: 265.7 kB / 0.7346 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/1.457, allocations: 4 kB / 0.7346 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1319/1.589, allocations: 128.2 MB / 0.8598 GB, free: 46.98 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o] Error 1