Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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) 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001194, allocations: 92.98 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.719/1.719, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002808, allocations: 4 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.3665/0.5058, allocations: 34.77 MB / 393.6 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02609/0.532, allocations: 8.086 MB / 401.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.5438, allocations: 160.5 kB / 401.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.5545, allocations: 1.759 MB / 403.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02603/0.5806, allocations: 5.358 MB / 408.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.5856, allocations: 0.513 MB / 409.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009563/0.5952, allocations: 4.016 MB / 413.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008931/0.6042, allocations: 3.708 MB / 417.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.6076, allocations: 1.113 MB / 418.3 MB, free: 380 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.6116, allocations: 1.651 MB / 419.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007923/0.6125, allocations: 120 kB / 420 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.6154, allocations: 0.8737 MB / 420.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.6173, allocations: 1.469 MB / 422.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.6184, allocations: 0.7415 MB / 423.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.6239, allocations: 4.755 MB / 427.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.6239, allocations: 4 kB / 427.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6239, allocations: 0 / 427.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.6241, allocations: 3.938 kB / 427.9 MB, free: 6.723 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.007078/0.6312, allocations: 3.52 MB / 431.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.6313, allocations: 12.03 kB / 431.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006562/0.6378, allocations: 1.929 MB / 433.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.6418, allocations: 1.951 MB / 435.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.6419, allocations: 209.4 kB / 435.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/0.6427, allocations: 371.5 kB / 435.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.6622, allocations: 8.89 MB / 444.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/0.6625, allocations: 51.52 kB / 444.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.6635, allocations: 131.9 kB / 444.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/0.6664, allocations: 1.645 MB / 446.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.6835, allocations: 7.502 MB / 454.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/0.7361, allocations: 35.14 MB / 489.2 MB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008196/0.7443, allocations: 3.479 MB / 492.7 MB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.7464, allocations: 1.437 MB / 494.1 MB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.7566, allocations: 6.887 MB / 0.4893 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.7567, allocations: 47.22 kB / 0.4893 GB, free: 11.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.81e-06/0.7567, allocations: 0 / 0.4893 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.025/0.7817, allocations: 11.22 MB / 0.5003 GB, free: 15.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00132/0.7831, allocations: 1.616 MB / 0.5019 GB, free: 14.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/0.7881, allocations: 3.516 MB / 0.5053 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000363/0.7885, allocations: 45.7 kB / 0.5053 GB, free: 10.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002178/0.7907, allocations: 2.782 MB / 0.5081 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007978/0.7915, allocations: 0.571 MB / 0.5086 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.7917, allocations: 112 kB / 0.5087 GB, free: 6.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003708/0.7921, allocations: 0.5374 MB / 0.5093 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/0.795, allocations: 1.912 MB / 0.5111 GB, free: 4.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/0.8005, allocations: 5.353 MB / 0.5164 GB, free: 13.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.8051, allocations: 3.127 MB / 0.5194 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.167e-05/0.8051, allocations: 36 kB / 0.5194 GB, free: 10.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02014/0.8253, allocations: 8.812 MB / 0.528 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.8255, allocations: 56 kB / 0.5281 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3153/1.141, allocations: 3.526 MB / 0.5315 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/1.152, allocations: 2.34 MB / 0.5338 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005002/1.157, allocations: 1.262 MB / 0.5351 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/1.168, allocations: 6.825 MB / 0.5417 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/1.174, allocations: 387.5 kB / 0.5421 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.175, allocations: 340 kB / 0.5424 GB, free: 137.6 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.005039/1.18, allocations: 1.852 MB / 0.5442 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008212/1.181, allocations: 302.5 kB / 0.5445 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/1.182, allocations: 413.1 kB / 0.5449 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004937/1.187, allocations: 2.382 MB / 0.5472 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/1.187, allocations: 2.75 kB / 0.5472 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/1.187, allocations: 8.828 kB / 0.5472 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/1.201, allocations: 7.848 MB / 0.5549 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.201, allocations: 3.234 kB / 0.5549 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/1.202, allocations: 236.9 kB / 0.5551 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.205, allocations: 1.051 MB / 0.5562 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.205, allocations: 35.72 kB / 0.5562 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/1.209, allocations: 4.96 MB / 0.561 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007382/1.21, allocations: 1.484 MB / 0.5625 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006658/1.217, allocations: 4.987 MB / 0.5674 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/1.218, allocations: 373.5 kB / 0.5677 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/1.218, allocations: 25.47 kB / 0.5677 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.219, allocations: 138.4 kB / 0.5679 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.219, allocations: 87.97 kB / 0.568 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/1.219, allocations: 38.92 kB / 0.568 GB, free: 124 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002806/1.222, allocations: 2.167 MB / 0.5701 GB, free: 122 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.222, allocations: 0 / 0.5701 GB, free: 122 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005346/1.228, allocations: 0.9663 MB / 0.5711 GB, free: 121.1 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.00047/1.228, allocations: 168.1 kB / 0.5712 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008695/1.237, allocations: 5.215 MB / 0.5763 GB, free: 115.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.237, allocations: 2.516 kB / 0.5763 GB, free: 115.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003562/1.24, allocations: 2.02 MB / 0.5783 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/1.244, allocations: 385.4 kB / 0.5787 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.259, allocations: 10.4 MB / 0.5888 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/1.262, allocations: 2.901 MB / 0.5916 GB, free: 99.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009726/1.263, allocations: 255.4 kB / 0.5919 GB, free: 99.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/1.263, allocations: 0 / 0.5919 GB, free: 99.68 MB / 446.1 MB Notification: Performance of Templates: time 0.4002/1.663, allocations: 116.9 MB / 0.7061 GB, free: 155.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o] Error 1