Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001436/0.001436, allocations: 194 kB / 18.72 MB, free: 4.762 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.906/1.906, allocations: 205.1 MB / 224.6 MB, free: 12.46 MB / 190.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.00124/0.00124, allocations: 52.22 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 46.64 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.04179/0.1763, allocations: 38.41 MB / 365.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.2022, allocations: 8.539 MB / 374.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0117/0.214, allocations: 167.6 kB / 374.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006067/0.2202, allocations: 2.291 MB / 376.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007808/0.228, allocations: 1.569 MB / 378.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.2307, allocations: 0.5578 MB / 378.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3147/0.5454, allocations: 4.989 MB / 383.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006604/0.5521, allocations: 2.995 MB / 386.8 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.5555, allocations: 1.216 MB / 388 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.5598, allocations: 1.926 MB / 389.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009008/0.5607, allocations: 203.9 kB / 390.1 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.5637, allocations: 1.094 MB / 391.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002591/0.5663, allocations: 1.622 MB / 392.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002873/0.5692, allocations: 1.881 MB / 394.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.5761, allocations: 4.884 MB / 399.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.5761, allocations: 0 / 399.6 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5762, allocations: 4 kB / 399.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002318/0.5764, allocations: 0 / 399.6 MB, free: 8.266 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01165/0.588, allocations: 4.233 MB / 403.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5881, allocations: 9.812 kB / 403.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/0.5941, allocations: 1.827 MB / 405.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/0.5986, allocations: 2.07 MB / 407.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.5989, allocations: 217.9 kB / 408 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008495/0.5997, allocations: 375.5 kB / 408.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.6173, allocations: 8.862 MB / 417.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.6175, allocations: 41.06 kB / 417.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/0.6179, allocations: 139 kB / 417.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002611/0.6205, allocations: 1.646 MB / 419 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.638, allocations: 7.494 MB / 426.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06554/0.7036, allocations: 35.18 MB / 461.7 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009831/0.7135, allocations: 3.443 MB / 465.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.716, allocations: 1.443 MB / 466.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01419/0.7303, allocations: 6.813 MB / 473.4 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.7304, allocations: 46.41 kB / 473.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 6.162e-06/0.7304, allocations: 0 / 473.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.03508/0.7655, allocations: 11.13 MB / 484.6 MB, free: 9.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001924/0.7675, allocations: 1.608 MB / 486.2 MB, free: 7.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/0.7776, allocations: 3.559 MB / 489.7 MB, free: 3.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004959/0.7781, allocations: 45.7 kB / 489.8 MB, free: 3.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003243/0.7814, allocations: 2.788 MB / 492.6 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.7827, allocations: 0.5736 MB / 493.1 MB, free: 336 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003581/0.7863, allocations: 1.099 MB / 494.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.7864, allocations: 306.2 kB / 494.5 MB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.7906, allocations: 1.92 MB / 496.4 MB, free: 12.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007602/0.7982, allocations: 5.359 MB / 0.49 GB, free: 5.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/0.8103, allocations: 7.848 MB / 0.4977 GB, free: 12.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/0.8105, allocations: 32 kB / 0.4977 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02385/0.8344, allocations: 8.753 MB / 0.5063 GB, free: 4.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.8346, allocations: 59.94 kB / 0.5063 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01082/0.8455, allocations: 3.429 MB / 0.5097 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.8561, allocations: 2.23 MB / 0.5119 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004912/0.861, allocations: 1.252 MB / 0.5131 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.8719, allocations: 6.82 MB / 0.5198 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007665/0.8796, allocations: 387.3 kB / 0.5201 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002402/0.882, allocations: 344 kB / 0.5204 GB, free: 6.016 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (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 (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007292/0.8894, allocations: 1.848 MB / 0.5223 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/0.8908, allocations: 308 kB / 0.5225 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007616/0.8984, allocations: 2.757 MB / 0.5252 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004938/0.9034, allocations: 2.355 MB / 0.5275 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/0.9035, allocations: 7.938 kB / 0.5275 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/0.9035, allocations: 7.969 kB / 0.5276 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/0.9256, allocations: 7.857 MB / 0.5352 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/0.9257, allocations: 4 kB / 0.5352 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.9271, allocations: 223.6 kB / 0.5354 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/0.9309, allocations: 1.053 MB / 0.5365 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003649/0.9313, allocations: 39.97 kB / 0.5365 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007669/0.939, allocations: 4.954 MB / 0.5414 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2839/1.223, allocations: 1.465 MB / 0.5428 GB, free: 174.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.234, allocations: 4.962 MB / 0.5476 GB, free: 173.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.236, allocations: 359.5 kB / 0.548 GB, free: 173.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.237, allocations: 34.09 kB / 0.548 GB, free: 173.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.239, allocations: 126.5 kB / 0.5481 GB, free: 173.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/1.24, allocations: 85.62 kB / 0.5482 GB, free: 173.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.24, allocations: 42.95 kB / 0.5482 GB, free: 173.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005762/1.246, allocations: 2.198 MB / 0.5504 GB, free: 173 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.246, allocations: 0 / 0.5504 GB, free: 173 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006555/1.252, allocations: 0.9654 MB / 0.5513 GB, free: 172.9 MB / 462.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006273/1.253, allocations: 170.5 kB / 0.5515 GB, free: 172.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01152/1.264, allocations: 5.217 MB / 0.5566 GB, free: 170.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.264, allocations: 0 / 0.5566 GB, free: 170.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/1.268, allocations: 2.019 MB / 0.5586 GB, free: 170 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.273, allocations: 379.2 kB / 0.5589 GB, free: 169.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.295, allocations: 10.62 MB / 0.5693 GB, free: 164.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003658/1.299, allocations: 2.909 MB / 0.5721 GB, free: 162.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.3, allocations: 252.7 kB / 0.5724 GB, free: 162.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/1.3, allocations: 0 / 0.5724 GB, free: 162.9 MB / 462.1 MB Notification: Performance of Templates: time 0.1382/1.438, allocations: 117.7 MB / 0.6873 GB, free: 49.28 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o] Error 1