Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001591, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 4 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.3175/0.4532, allocations: 38.21 MB / 397 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02831/0.4816, allocations: 8.701 MB / 405.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.494, allocations: 181.4 kB / 405.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007976/0.5021, allocations: 1.973 MB / 407.8 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02039/0.5225, allocations: 5.892 MB / 413.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.526, allocations: 0.5654 MB / 414.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007056/0.5331, allocations: 4.326 MB / 418.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006429/0.5395, allocations: 4.169 MB / 422.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.542, allocations: 1.199 MB / 424 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.5448, allocations: 1.799 MB / 425.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005166/0.5453, allocations: 136 kB / 425.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.5474, allocations: 0.8855 MB / 426.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.5492, allocations: 1.593 MB / 428.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5502, allocations: 0.8038 MB / 429.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006117/0.5563, allocations: 5.103 MB / 434.3 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5563, allocations: 0 / 434.3 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5564, allocations: 4 kB / 434.3 MB, free: 328 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002208/0.5566, allocations: 0 / 434.3 MB, free: 328 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008347/0.5649, allocations: 3.781 MB / 438.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.565, allocations: 12.03 kB / 438.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006728/0.5717, allocations: 1.975 MB / 440.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.5759, allocations: 1.931 MB / 442 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.5761, allocations: 246.2 kB / 442.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000765/0.5769, allocations: 395.6 kB / 442.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.5955, allocations: 10.12 MB / 452.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.5956, allocations: 39.59 kB / 452.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.596, allocations: 155.8 kB / 453 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.5988, allocations: 1.864 MB / 454.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.6164, allocations: 8.347 MB / 463.2 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05464/0.671, allocations: 39.38 MB / 0.4908 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6813, allocations: 4.041 MB / 0.4947 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.6836, allocations: 1.416 MB / 0.4961 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.6949, allocations: 7.718 MB / 0.5036 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.695, allocations: 51.5 kB / 0.5037 GB, free: 12.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.378e-06/0.695, allocations: 0 / 0.5037 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03091/0.7259, allocations: 12.53 MB / 0.5159 GB, free: 15.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001417/0.7274, allocations: 1.593 MB / 0.5175 GB, free: 13.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.7334, allocations: 3.789 MB / 0.5212 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003816/0.7338, allocations: 53.97 kB / 0.5212 GB, free: 9.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.7363, allocations: 3.107 MB / 0.5243 GB, free: 6.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.7374, allocations: 0.6481 MB / 0.5249 GB, free: 6.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.7377, allocations: 135.9 kB / 0.525 GB, free: 5.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004134/0.7381, allocations: 0.5704 MB / 0.5256 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/0.7414, allocations: 2.042 MB / 0.5276 GB, free: 3.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2819/1.023, allocations: 5.958 MB / 0.5334 GB, free: 140.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007847/1.031, allocations: 3.392 MB / 0.5367 GB, free: 139.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/1.032, allocations: 39.88 kB / 0.5367 GB, free: 139.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02891/1.06, allocations: 9.827 MB / 0.5463 GB, free: 136.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/1.061, allocations: 64.44 kB / 0.5464 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01123/1.072, allocations: 3.888 MB / 0.5502 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/1.083, allocations: 2.776 MB / 0.5529 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/1.088, allocations: 1.367 MB / 0.5542 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/1.102, allocations: 10.69 MB / 0.5647 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.108, allocations: 407.7 kB / 0.5651 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.11, allocations: 385.9 kB / 0.5654 GB, free: 128.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * 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: 2 * 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: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.003988/1.114, allocations: 2.015 MB / 0.5674 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006496/1.114, allocations: 328.5 kB / 0.5677 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/1.115, allocations: 432.5 kB / 0.5681 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004952/1.12, allocations: 2.755 MB / 0.5708 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.12, allocations: 4 kB / 0.5708 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.12, allocations: 9.062 kB / 0.5708 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.134, allocations: 8.65 MB / 0.5793 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.134, allocations: 0 / 0.5793 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/1.135, allocations: 192.6 kB / 0.5795 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003668/1.139, allocations: 1.465 MB / 0.5809 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/1.139, allocations: 35.97 kB / 0.5809 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009332/1.148, allocations: 9.144 MB / 0.5899 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006959/1.149, allocations: 1.461 MB / 0.5913 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008047/1.157, allocations: 5.388 MB / 0.5965 GB, free: 96.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.159, allocations: 384.7 kB / 0.5969 GB, free: 96.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/1.159, allocations: 28 kB / 0.5969 GB, free: 96.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.16, allocations: 135.8 kB / 0.5971 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/1.16, allocations: 111.2 kB / 0.5972 GB, free: 95.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.16, allocations: 51.98 kB / 0.5972 GB, free: 95.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00309/1.164, allocations: 2.325 MB / 0.5995 GB, free: 93.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.164, allocations: 0 / 0.5995 GB, free: 93.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005672/1.169, allocations: 1.08 MB / 0.6005 GB, free: 92.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * 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: 2 * 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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004399/1.17, allocations: 170.8 kB / 0.6007 GB, free: 92.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009576/1.179, allocations: 5.766 MB / 0.6063 GB, free: 86.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.179, allocations: 4.188 kB / 0.6063 GB, free: 86.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/1.183, allocations: 2.322 MB / 0.6086 GB, free: 84.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.186, allocations: 374.8 kB / 0.609 GB, free: 83.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.204, allocations: 11.16 MB / 0.6199 GB, free: 72.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.207, allocations: 3.135 MB / 0.6229 GB, free: 69.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008968/1.208, allocations: 267.4 kB / 0.6232 GB, free: 69.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/1.208, allocations: 0 / 0.6232 GB, free: 69.1 MB / 446.1 MB Notification: Performance of Templates: time 0.4504/1.659, allocations: 143.6 MB / 0.7634 GB, free: 101.6 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSpringsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1