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.0008854/0.0008854, allocations: 93.97 kB / 17.59 MB, free: 6.168 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.001037/0.001037, allocations: 184.2 kB / 18.47 MB, free: 5.336 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.748/1.748, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004927/0.0004927, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0334/0.152, allocations: 34.75 MB / 363.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01989/0.172, allocations: 8.046 MB / 371.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007047/0.1791, allocations: 167.6 kB / 372 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005083/0.1842, allocations: 1.769 MB / 373.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.1998, allocations: 5.358 MB / 379.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.2022, allocations: 0.5032 MB / 379.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2318/0.434, allocations: 3.965 MB / 383.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006829/0.4409, allocations: 3.728 MB / 387.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.4438, allocations: 1.11 MB / 388.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.4471, allocations: 1.661 MB / 390.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.4477, allocations: 122.5 kB / 390.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.4501, allocations: 0.8851 MB / 391.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.4519, allocations: 1.471 MB / 392.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.4529, allocations: 0.7379 MB / 393.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006261/0.4592, allocations: 4.772 MB / 398 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4592, allocations: 3 kB / 398 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4592, allocations: 0 / 398 MB, free: 9.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002074/0.4595, allocations: 0 / 398 MB, free: 9.918 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.007649/0.4671, allocations: 3.52 MB / 401.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4672, allocations: 9.281 kB / 401.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005848/0.473, allocations: 1.872 MB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.4767, allocations: 2.033 MB / 405.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.4768, allocations: 212.9 kB / 405.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006861/0.4775, allocations: 367.8 kB / 406 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.4929, allocations: 8.863 MB / 414.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.401e-05/0.493, allocations: 36.69 kB / 414.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.4934, allocations: 135.9 kB / 415.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002091/0.4955, allocations: 1.638 MB / 416.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.5099, allocations: 7.477 MB / 424.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04994/0.5598, allocations: 35.15 MB / 459.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008578/0.5685, allocations: 3.44 MB / 462.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.5709, allocations: 1.442 MB / 464.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.5824, allocations: 6.81 MB / 471 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.5825, allocations: 47.22 kB / 471.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 5.42e-06/0.5825, allocations: 5.125 kB / 471.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=139): time 0.02697/0.6095, allocations: 11.11 MB / 482.2 MB, free: 6.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00166/0.6112, allocations: 1.62 MB / 483.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/0.6176, allocations: 3.527 MB / 487.3 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005466/0.6182, allocations: 42.64 kB / 487.4 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.6211, allocations: 2.794 MB / 490.2 MB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.6223, allocations: 0.5708 MB / 490.7 MB, free: 13.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.6225, allocations: 105.4 kB / 490.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003765/0.6229, allocations: 0.5335 MB / 491.4 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/0.6261, allocations: 1.903 MB / 493.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005648/0.6318, allocations: 5.343 MB / 498.6 MB, free: 3.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/0.6366, allocations: 3.114 MB / 0.49 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-05/0.6367, allocations: 36 kB / 0.49 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02104/0.6577, allocations: 8.72 MB / 0.4985 GB, free: 8.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.6579, allocations: 58.81 kB / 0.4986 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009882/0.6678, allocations: 3.427 MB / 0.5019 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009484/0.6773, allocations: 2.254 MB / 0.5041 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/0.6832, allocations: 1.251 MB / 0.5054 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.6938, allocations: 6.816 MB / 0.512 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006264/0.7001, allocations: 380.2 kB / 0.5124 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002275/0.7024, allocations: 341 kB / 0.5127 GB, free: 9.605 MB / 430.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.007101/0.7096, allocations: 1.855 MB / 0.5145 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/0.711, allocations: 304.1 kB / 0.5148 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/0.7183, allocations: 2.769 MB / 0.5175 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004786/0.7231, allocations: 2.349 MB / 0.5198 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.7232, allocations: 7.953 kB / 0.5198 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.7232, allocations: 11.98 kB / 0.5198 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.7434, allocations: 7.841 MB / 0.5275 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.7435, allocations: 0 / 0.5275 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.7446, allocations: 227.7 kB / 0.5277 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.7477, allocations: 1.057 MB / 0.5287 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/0.7479, allocations: 31.98 kB / 0.5288 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.7543, allocations: 4.966 MB / 0.5336 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001328/0.7557, allocations: 1.474 MB / 0.535 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2882/1.044, allocations: 4.939 MB / 0.5399 GB, free: 158.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.045, allocations: 376 kB / 0.5402 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/1.046, allocations: 28.16 kB / 0.5403 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.047, allocations: 129.1 kB / 0.5404 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.047, allocations: 87.81 kB / 0.5405 GB, free: 158.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.047, allocations: 41.88 kB / 0.5405 GB, free: 158.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00423/1.051, allocations: 2.177 MB / 0.5426 GB, free: 158.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.052, allocations: 4.906 kB / 0.5426 GB, free: 158.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005944/1.057, allocations: 0.9723 MB / 0.5436 GB, free: 158.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.000449/1.058, allocations: 167.1 kB / 0.5437 GB, free: 158.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.068, allocations: 5.178 MB / 0.5488 GB, free: 156.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.068, allocations: 0 / 0.5488 GB, free: 156.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003585/1.072, allocations: 2.01 MB / 0.5508 GB, free: 155.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/1.075, allocations: 393.8 kB / 0.5511 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.089, allocations: 10.37 MB / 0.5613 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.092, allocations: 2.91 MB / 0.5641 GB, free: 149 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.093, allocations: 251.8 kB / 0.5643 GB, free: 149 MB / 446.1 MB Notification: Performance of SimCode: time 2.405e-06/1.093, allocations: 7.938 kB / 0.5644 GB, free: 149 MB / 446.1 MB Notification: Performance of Templates: time 0.1167/1.21, allocations: 117.1 MB / 0.6787 GB, free: 36.42 MB / 446.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++ 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_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