Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008435/0.0008498, allocations: 93.17 kB / 16.33 MB, free: 5.934 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.000822/0.000822, allocations: 182.8 kB / 17.22 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 223.4 MB, free: 5.227 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3953/0.3953, allocations: 43.55 MB / 315.2 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005225, allocations: 14.66 kB / 384.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2721/0.3883, allocations: 45.63 MB / 489 MB, free: 22.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.4112, allocations: 10.08 MB / 499.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.4234, allocations: 210.2 kB / 499.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006152/0.4296, allocations: 2.344 MB / 0.4899 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0188/0.4484, allocations: 6.969 MB / 0.4967 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.4512, allocations: 0.5933 MB / 0.4973 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00719/0.4584, allocations: 4.513 MB / 0.5017 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/0.4655, allocations: 4.656 MB / 0.5062 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.4681, allocations: 1.264 MB / 0.5075 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.4709, allocations: 1.92 MB / 0.5094 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004427/0.4714, allocations: 150 kB / 0.5095 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.4733, allocations: 0.9115 MB / 0.5104 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.4749, allocations: 1.732 MB / 0.5121 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008717/0.4758, allocations: 0.8565 MB / 0.5129 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.481, allocations: 5.651 MB / 0.5184 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.481, allocations: 0 / 0.5184 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.481, allocations: 0 / 0.5184 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.4811, allocations: 3.938 kB / 0.5184 GB, free: 1.488 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.006869/0.488, allocations: 4.009 MB / 0.5224 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.488, allocations: 11.69 kB / 0.5224 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/0.4943, allocations: 1.978 MB / 0.5243 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004177/0.4985, allocations: 2.239 MB / 0.5265 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4987, allocations: 250.5 kB / 0.5267 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008165/0.4995, allocations: 431.6 kB / 0.5271 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.5166, allocations: 10.4 MB / 0.5373 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.76e-05/0.5168, allocations: 39.62 kB / 0.5373 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.5172, allocations: 163.8 kB / 0.5375 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/0.52, allocations: 1.943 MB / 0.5394 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.5365, allocations: 8.616 MB / 0.5478 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05138/0.588, allocations: 40.43 MB / 0.5873 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008958/0.597, allocations: 3.814 MB / 0.591 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.5996, allocations: 1.76 MB / 0.5927 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.6129, allocations: 8.263 MB / 0.6008 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.613, allocations: 47.56 kB / 0.6008 GB, free: 12.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 3.787e-06/0.6131, allocations: 0 / 0.6008 GB, free: 12.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.0329/0.646, allocations: 13.06 MB / 0.6136 GB, free: 15.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001673/0.6477, allocations: 1.624 MB / 0.6152 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006196/0.6539, allocations: 3.959 MB / 0.619 GB, free: 9.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004159/0.6544, allocations: 45.7 kB / 0.6191 GB, free: 9.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.657, allocations: 3.198 MB / 0.6222 GB, free: 6.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.658, allocations: 0.652 MB / 0.6228 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.6583, allocations: 120 kB / 0.623 GB, free: 5.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004/0.6587, allocations: 0.5583 MB / 0.6235 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/0.6621, allocations: 2.171 MB / 0.6256 GB, free: 2.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2892/0.9513, allocations: 5.917 MB / 0.6314 GB, free: 135.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/0.958, allocations: 3.492 MB / 0.6348 GB, free: 135.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.855e-05/0.9581, allocations: 37.75 kB / 0.6348 GB, free: 135.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02243/0.9805, allocations: 9.564 MB / 0.6442 GB, free: 133.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/0.9806, allocations: 60.69 kB / 0.6442 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00949/0.9901, allocations: 3.859 MB / 0.648 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008899/0.9991, allocations: 2.243 MB / 0.6502 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005236/1.004, allocations: 1.409 MB / 0.6516 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.016, allocations: 6.871 MB / 0.6583 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/1.023, allocations: 433.5 kB / 0.6587 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/1.025, allocations: 374.3 kB / 0.6591 GB, free: 128.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (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 (754): * Single equations (assignments): 745 * 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.007265/1.032, allocations: 2.115 MB / 0.6611 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.034, allocations: 335.2 kB / 0.6614 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008716/1.043, allocations: 3.179 MB / 0.6646 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005935/1.049, allocations: 2.685 MB / 0.6672 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/1.049, allocations: 2.875 kB / 0.6672 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-05/1.049, allocations: 8.281 kB / 0.6672 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/1.074, allocations: 9.173 MB / 0.6761 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/1.074, allocations: 3.875 kB / 0.6761 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.075, allocations: 274.7 kB / 0.6764 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/1.078, allocations: 1.032 MB / 0.6774 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.078, allocations: 35.23 kB / 0.6774 GB, free: 121.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/1.084, allocations: 5.024 MB / 0.6824 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008332/1.084, allocations: 1.483 MB / 0.6838 GB, free: 117.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008725/1.093, allocations: 5.546 MB / 0.6892 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.095, allocations: 411.6 kB / 0.6896 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009768/1.096, allocations: 36.11 kB / 0.6896 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.098, allocations: 150.4 kB / 0.6898 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/1.098, allocations: 102.3 kB / 0.6899 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.098, allocations: 45.48 kB / 0.6899 GB, free: 114.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004437/1.103, allocations: 2.451 MB / 0.6923 GB, free: 113.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.623e-06/1.103, allocations: 2.062 kB / 0.6923 GB, free: 113.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007592/1.11, allocations: 1.102 MB / 0.6934 GB, free: 113.2 MB / 494.1 MB 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 (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.0005327/1.111, allocations: 155.9 kB / 0.6936 GB, free: 113.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01047/1.121, allocations: 5.843 MB / 0.6993 GB, free: 107.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/1.121, allocations: 0 / 0.6993 GB, free: 107.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/1.125, allocations: 2.253 MB / 0.7015 GB, free: 104.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/1.13, allocations: 431.3 kB / 0.7019 GB, free: 104.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.151, allocations: 11.99 MB / 0.7136 GB, free: 92.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/1.154, allocations: 3.296 MB / 0.7168 GB, free: 89.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.156, allocations: 283.4 kB / 0.7171 GB, free: 88.83 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/1.156, allocations: 0 / 0.7171 GB, free: 88.83 MB / 494.1 MB Notification: Performance of Templates: time 0.4125/1.568, allocations: 135 MB / 0.8489 GB, free: 139.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o] Error 1