Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.0008034/0.0008035, allocations: 97.16 kB / 16.96 MB, free: 6.41 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.0008463/0.0008463, allocations: 179.3 kB / 17.84 MB, free: 5.969 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.629/1.629, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 11.94 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.3568/0.494, allocations: 34.76 MB / 386.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02229/0.5163, allocations: 8.043 MB / 394.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009762/0.5261, allocations: 167.9 kB / 394.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007479/0.5336, allocations: 1.761 MB / 396.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0218/0.5555, allocations: 5.368 MB / 402 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.5593, allocations: 0.518 MB / 402.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008325/0.5676, allocations: 3.961 MB / 406.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007109/0.5748, allocations: 3.712 MB / 410.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.578, allocations: 1.113 MB / 411.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/0.5811, allocations: 1.659 MB / 412.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005918/0.5817, allocations: 124 kB / 413 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.5843, allocations: 0.8854 MB / 413.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.5862, allocations: 1.469 MB / 415.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.5874, allocations: 0.7376 MB / 416.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006073/0.5935, allocations: 4.771 MB / 420.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5935, allocations: 0 / 420.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5935, allocations: 0 / 420.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001681/0.5937, allocations: 0 / 420.9 MB, free: 15.52 MB / 334.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.007861/0.6015, allocations: 3.52 MB / 424.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6016, allocations: 8.031 kB / 424.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/0.6077, allocations: 1.871 MB / 426.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.6123, allocations: 1.978 MB / 428.3 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.6125, allocations: 217.4 kB / 428.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009441/0.6135, allocations: 371.6 kB / 428.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.631, allocations: 8.854 MB / 437.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.6312, allocations: 35.66 kB / 437.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.6316, allocations: 147.8 kB / 437.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002459/0.6341, allocations: 1.645 MB / 439.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.6502, allocations: 7.471 MB / 447 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05522/0.7055, allocations: 35.14 MB / 482.2 MB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008451/0.714, allocations: 3.436 MB / 485.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.7163, allocations: 1.441 MB / 487 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/0.73, allocations: 6.8 MB / 493.8 MB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.7301, allocations: 47.16 kB / 493.9 MB, free: 4.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 5.28e-06/0.7301, allocations: 0 / 493.9 MB, free: 4.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=139): time 0.02891/0.759, allocations: 11.1 MB / 0.4931 GB, free: 8.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00162/0.7607, allocations: 1.608 MB / 0.4947 GB, free: 7.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007757/0.7685, allocations: 3.512 MB / 0.4981 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.769, allocations: 49.8 kB / 0.4982 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002693/0.7717, allocations: 2.782 MB / 0.5009 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.7728, allocations: 0.5749 MB / 0.5015 GB, free: 220 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006652/0.7735, allocations: 111.9 kB / 0.5016 GB, free: 108 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0006511/0.7742, allocations: 0.5413 MB / 0.5021 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005726/0.7799, allocations: 1.9 MB / 0.504 GB, free: 13.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/0.7926, allocations: 5.338 MB / 0.5092 GB, free: 6.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.8031, allocations: 3.115 MB / 0.5122 GB, free: 3.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002095/0.8034, allocations: 36 kB / 0.5123 GB, free: 3.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02935/0.8328, allocations: 8.716 MB / 0.5208 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.833, allocations: 60 kB / 0.5208 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01064/0.8437, allocations: 3.43 MB / 0.5242 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009646/0.8534, allocations: 2.254 MB / 0.5264 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/0.8585, allocations: 1.252 MB / 0.5276 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3426/1.201, allocations: 6.796 MB / 0.5342 GB, free: 141.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/1.206, allocations: 376.2 kB / 0.5346 GB, free: 141.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.208, allocations: 340.9 kB / 0.5349 GB, free: 141.9 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 (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.004033/1.212, allocations: 1.85 MB / 0.5367 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/1.212, allocations: 307.3 kB / 0.537 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006/1.218, allocations: 2.764 MB / 0.5397 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004983/1.223, allocations: 2.356 MB / 0.542 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.223, allocations: 9.156 kB / 0.542 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.223, allocations: 7.031 kB / 0.542 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.238, allocations: 7.825 MB / 0.5497 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.238, allocations: 1.156 kB / 0.5497 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.239, allocations: 231.3 kB / 0.5499 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/1.242, allocations: 1.056 MB / 0.5509 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/1.242, allocations: 43.91 kB / 0.551 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004484/1.247, allocations: 4.949 MB / 0.5558 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007514/1.248, allocations: 1.477 MB / 0.5572 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006692/1.254, allocations: 4.952 MB / 0.5621 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.255, allocations: 375 kB / 0.5624 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.256, allocations: 25.91 kB / 0.5625 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.257, allocations: 120.1 kB / 0.5626 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/1.257, allocations: 92.62 kB / 0.5627 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.257, allocations: 43.61 kB / 0.5627 GB, free: 130.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00317/1.26, allocations: 2.17 MB / 0.5648 GB, free: 129.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.26, allocations: 3.828 kB / 0.5648 GB, free: 129.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0044/1.265, allocations: 0.965 MB / 0.5658 GB, free: 129.5 MB / 446.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 (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.00042/1.265, allocations: 174.8 kB / 0.5659 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007517/1.273, allocations: 5.176 MB / 0.571 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.273, allocations: 0 / 0.571 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002848/1.276, allocations: 2.014 MB / 0.573 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.278, allocations: 384.5 kB / 0.5733 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.292, allocations: 10.39 MB / 0.5835 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.294, allocations: 2.898 MB / 0.5863 GB, free: 110.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/1.295, allocations: 259.4 kB / 0.5865 GB, free: 110.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/1.295, allocations: 0 / 0.5865 GB, free: 110.1 MB / 446.1 MB Notification: Performance of Templates: time 0.3739/1.669, allocations: 117 MB / 0.7008 GB, free: 141.9 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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 OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o] Error 1