Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001003, allocations: 91.84 kB / 17.63 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001033, allocations: 200.4 kB / 18.54 MB, free: 4.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002524, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1268, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.3096/0.4364, allocations: 42.54 MB / 401.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03342/0.4699, allocations: 9.467 MB / 410.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01612/0.4861, allocations: 200.1 kB / 411 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.4968, allocations: 2.182 MB / 413.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02769/0.5245, allocations: 6.574 MB / 419.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.5286, allocations: 0.6982 MB / 420.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008775/0.5374, allocations: 5.303 MB / 425.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007652/0.5451, allocations: 4.506 MB / 430.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.5491, allocations: 1.389 MB / 431.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004338/0.5535, allocations: 2.189 MB / 433.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008514/0.5544, allocations: 164 kB / 434 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.557, allocations: 0.9635 MB / 435 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00225/0.5593, allocations: 1.87 MB / 436.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.5607, allocations: 0.8894 MB / 437.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00728/0.568, allocations: 5.699 MB / 443.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.568, allocations: 4 kB / 443.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.568, allocations: 4 kB / 443.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000286/0.5683, allocations: 0 / 443.4 MB, free: 7.184 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01022/0.5786, allocations: 4.385 MB / 447.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5786, allocations: 12.03 kB / 447.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007943/0.5866, allocations: 2.213 MB / 450 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/0.5922, allocations: 2.392 MB / 452.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.5925, allocations: 270.9 kB / 452.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.5942, allocations: 435.5 kB / 453.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02794/0.6221, allocations: 12.27 MB / 465.4 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.6223, allocations: 47.53 kB / 465.4 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006002/0.6229, allocations: 179.8 kB / 465.6 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003825/0.6268, allocations: 2.162 MB / 467.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02569/0.6525, allocations: 10.24 MB / 478 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06469/0.7172, allocations: 44.28 MB / 0.5101 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.7289, allocations: 4.66 MB / 0.5146 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.7317, allocations: 1.724 MB / 0.5163 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/0.7449, allocations: 8.299 MB / 0.5244 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.745, allocations: 51.88 kB / 0.5244 GB, free: 6.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.628e-06/0.745, allocations: 0 / 0.5244 GB, free: 6.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.356/1.101, allocations: 16.14 MB / 0.5402 GB, free: 105.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001364/1.102, allocations: 1.602 MB / 0.5418 GB, free: 104.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009047/1.112, allocations: 4.171 MB / 0.5458 GB, free: 103.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006421/1.112, allocations: 56.23 kB / 0.5459 GB, free: 103.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002906/1.115, allocations: 3.398 MB / 0.5492 GB, free: 101.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.116, allocations: 0.8105 MB / 0.55 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/1.117, allocations: 134.5 kB / 0.5501 GB, free: 101.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000362/1.117, allocations: 0.5913 MB / 0.5507 GB, free: 101 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/1.121, allocations: 2.264 MB / 0.5529 GB, free: 101 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005842/1.127, allocations: 6.399 MB / 0.5592 GB, free: 95.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0065/1.134, allocations: 3.689 MB / 0.5628 GB, free: 95.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.134, allocations: 42 kB / 0.5628 GB, free: 95.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0222/1.156, allocations: 10.13 MB / 0.5727 GB, free: 92.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.156, allocations: 69.97 kB / 0.5728 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009251/1.166, allocations: 3.903 MB / 0.5766 GB, free: 90.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008613/1.174, allocations: 2.281 MB / 0.5788 GB, free: 88.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005224/1.179, allocations: 1.587 MB / 0.5804 GB, free: 86.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/1.186, allocations: 6.09 MB / 0.5863 GB, free: 81.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00629/1.193, allocations: 435.1 kB / 0.5867 GB, free: 81.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.194, allocations: 418 kB / 0.5871 GB, free: 80.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * 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.003922/1.198, allocations: 2.215 MB / 0.5893 GB, free: 79.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009176/1.199, allocations: 379.1 kB / 0.5897 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/1.204, allocations: 3.33 MB / 0.5929 GB, free: 75.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004188/1.208, allocations: 2.791 MB / 0.5956 GB, free: 73.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/1.209, allocations: 4 kB / 0.5956 GB, free: 73.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/1.209, allocations: 7.969 kB / 0.5956 GB, free: 73.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/1.225, allocations: 10.37 MB / 0.6058 GB, free: 62.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.225, allocations: 16.03 kB / 0.6058 GB, free: 62.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.226, allocations: 381.4 kB / 0.6062 GB, free: 62.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/1.229, allocations: 0.9854 MB / 0.6071 GB, free: 61.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/1.229, allocations: 62.72 kB / 0.6072 GB, free: 61.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003805/1.233, allocations: 4.603 MB / 0.6117 GB, free: 56.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007382/1.234, allocations: 1.474 MB / 0.6131 GB, free: 54.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008273/1.242, allocations: 5.983 MB / 0.619 GB, free: 48.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.244, allocations: 444 kB / 0.6194 GB, free: 48.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/1.244, allocations: 66.56 kB / 0.6194 GB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.246, allocations: 159.8 kB / 0.6196 GB, free: 47.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.246, allocations: 174.3 kB / 0.6198 GB, free: 47.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.246, allocations: 71.98 kB / 0.6198 GB, free: 47.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003509/1.249, allocations: 2.57 MB / 0.6223 GB, free: 45.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.249, allocations: 0 / 0.6223 GB, free: 45.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007137/1.257, allocations: 1.157 MB / 0.6235 GB, free: 43.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * 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.0005581/1.257, allocations: 216.2 kB / 0.6237 GB, free: 43.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009568/1.267, allocations: 5.996 MB / 0.6295 GB, free: 38.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/1.267, allocations: 0 / 0.6295 GB, free: 38.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/1.27, allocations: 2.215 MB / 0.6317 GB, free: 35.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/1.274, allocations: 489.6 kB / 0.6322 GB, free: 35.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.294, allocations: 13.12 MB / 0.645 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003306/1.297, allocations: 3.455 MB / 0.6483 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.298, allocations: 323.4 kB / 0.6487 GB, free: 18.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/1.298, allocations: 0 / 0.6487 GB, free: 18.34 MB / 446.1 MB Notification: Performance of Templates: time 0.4248/1.723, allocations: 140.5 MB / 0.7858 GB, free: 118.1 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystemCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1