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.0008549/0.0008552, allocations: 99.3 kB / 17.96 MB, free: 5.766 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.001109/0.001109, allocations: 178.7 kB / 18.86 MB, free: 4.906 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.992/1.992, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005388/0.0005388, allocations: 12 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1395, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.04119/0.1807, allocations: 37.35 MB / 367 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.2045, allocations: 8.473 MB / 375.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.216, allocations: 163.6 kB / 375.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.2184, allocations: 378.1 kB / 376 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007408/0.2258, allocations: 1.581 MB / 377.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.228, allocations: 0.5578 MB / 378.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3161/0.5441, allocations: 4.989 MB / 383.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008474/0.5526, allocations: 4.08 MB / 387.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.5557, allocations: 1.017 MB / 388.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/0.5591, allocations: 1.678 MB / 389.9 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.5597, allocations: 123.4 kB / 390 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.562, allocations: 1.025 MB / 391 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.5641, allocations: 1.507 MB / 392.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.5667, allocations: 1.759 MB / 394.3 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007698/0.5744, allocations: 4.779 MB / 399.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.5744, allocations: 0 / 399.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5745, allocations: 0 / 399.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.5747, allocations: 0 / 399.1 MB, free: 7.207 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.008595/0.5833, allocations: 3.483 MB / 402.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5833, allocations: 7.781 kB / 402.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.5898, allocations: 1.876 MB / 404.4 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/0.5941, allocations: 2.068 MB / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.5943, allocations: 218.3 kB / 406.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008574/0.5951, allocations: 373.2 kB / 407.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.6109, allocations: 8.87 MB / 415.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.6111, allocations: 36.62 kB / 416 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.6115, allocations: 142.4 kB / 416.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/0.6142, allocations: 1.636 MB / 417.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.6307, allocations: 7.516 MB / 425.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05698/0.6877, allocations: 35.16 MB / 460.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009694/0.6974, allocations: 3.451 MB / 463.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.7003, allocations: 1.442 MB / 465.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.7137, allocations: 6.81 MB / 472.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.033e-05/0.7139, allocations: 50.69 kB / 472.2 MB, free: 6.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.63e-06/0.7139, allocations: 0 / 472.2 MB, free: 6.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.03211/0.746, allocations: 11.13 MB / 483.3 MB, free: 11.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002014/0.7481, allocations: 1.624 MB / 484.9 MB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006485/0.7546, allocations: 3.551 MB / 488.5 MB, free: 6.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004941/0.7551, allocations: 45.7 kB / 488.5 MB, free: 6.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002553/0.7577, allocations: 2.791 MB / 491.3 MB, free: 3.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008898/0.7586, allocations: 0.5653 MB / 491.9 MB, free: 2.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007281/0.7593, allocations: 480.1 kB / 492.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.7595, allocations: 305.1 kB / 492.7 MB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.7628, allocations: 1.92 MB / 494.6 MB, free: 20 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/0.7708, allocations: 5.363 MB / 499.9 MB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/0.7862, allocations: 7.836 MB / 0.4959 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/0.7864, allocations: 36 kB / 0.4959 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.03381/0.8202, allocations: 8.753 MB / 0.5045 GB, free: 7.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.8206, allocations: 59.94 kB / 0.5045 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01384/0.8345, allocations: 3.439 MB / 0.5079 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/0.846, allocations: 2.233 MB / 0.51 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004859/0.8508, allocations: 1.252 MB / 0.5113 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.8617, allocations: 6.809 MB / 0.5179 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/0.8676, allocations: 383.4 kB / 0.5183 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/0.8691, allocations: 346.2 kB / 0.5186 GB, free: 9.168 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.006315/0.8754, allocations: 1.84 MB / 0.5204 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/0.8768, allocations: 308 kB / 0.5207 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/0.8844, allocations: 2.77 MB / 0.5234 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005362/0.8898, allocations: 2.355 MB / 0.5257 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/0.8899, allocations: 7.938 kB / 0.5257 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/0.8899, allocations: 8.016 kB / 0.5257 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0211/0.911, allocations: 7.849 MB / 0.5334 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.9111, allocations: 7.938 kB / 0.5334 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.9124, allocations: 227.8 kB / 0.5336 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/0.9158, allocations: 1.057 MB / 0.5346 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/0.9161, allocations: 35.98 kB / 0.5347 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006344/0.9225, allocations: 4.967 MB / 0.5395 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001266/0.9238, allocations: 1.478 MB / 0.541 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3304/1.254, allocations: 4.953 MB / 0.5458 GB, free: 174.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.256, allocations: 375.9 kB / 0.5462 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.257, allocations: 26.75 kB / 0.5462 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.26, allocations: 131.9 kB / 0.5463 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005044/1.26, allocations: 89.38 kB / 0.5464 GB, free: 174.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.26, allocations: 42.14 kB / 0.5464 GB, free: 174.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005032/1.265, allocations: 2.198 MB / 0.5486 GB, free: 174.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.265, allocations: 0 / 0.5486 GB, free: 174.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0067/1.272, allocations: 0.9732 MB / 0.5495 GB, free: 174.3 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.0004963/1.273, allocations: 157.1 kB / 0.5497 GB, free: 174.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01089/1.283, allocations: 5.209 MB / 0.5548 GB, free: 172.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.284, allocations: 0 / 0.5548 GB, free: 172.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/1.288, allocations: 2.014 MB / 0.5567 GB, free: 171.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/1.292, allocations: 375.3 kB / 0.5571 GB, free: 171.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.313, allocations: 10.79 MB / 0.5676 GB, free: 165.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.316, allocations: 2.904 MB / 0.5705 GB, free: 164.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/1.317, allocations: 253.6 kB / 0.5707 GB, free: 164.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/1.317, allocations: 0 / 0.5707 GB, free: 164.2 MB / 462.1 MB Notification: Performance of Templates: time 0.1338/1.451, allocations: 117 MB / 0.6849 GB, free: 51.45 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