Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007921/0.0007921, allocations: 83.61 kB / 17.58 MB, free: 5.758 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.0008523/0.0008523, allocations: 183 kB / 18.48 MB, free: 5.207 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.734/1.734, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.000469/0.0004693, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 47.59 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04379/0.1607, allocations: 42.55 MB / 371.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.279/0.4398, allocations: 9.432 MB / 381 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01114/0.4509, allocations: 200.1 kB / 381.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009256/0.4602, allocations: 2.189 MB / 383.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02239/0.4827, allocations: 6.587 MB / 389.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.4864, allocations: 0.6929 MB / 390.6 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009039/0.4954, allocations: 5.223 MB / 395.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007351/0.5028, allocations: 4.512 MB / 400.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.5058, allocations: 1.405 MB / 401.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.5093, allocations: 2.192 MB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.51, allocations: 161.9 kB / 404.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5124, allocations: 0.9819 MB / 405.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.5143, allocations: 1.877 MB / 407 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.5154, allocations: 0.8948 MB / 407.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.521, allocations: 5.708 MB / 413.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5211, allocations: 4 kB / 413.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5211, allocations: 0 / 413.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002241/0.5213, allocations: 3.938 kB / 413.6 MB, free: 1.074 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01061/0.5319, allocations: 4.393 MB / 418 MB, free: 14.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.532, allocations: 8.031 kB / 418 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007956/0.54, allocations: 2.162 MB / 420.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006591/0.5466, allocations: 2.549 MB / 422.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.5469, allocations: 277 kB / 423 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.5481, allocations: 430.7 kB / 423.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02496/0.573, allocations: 12.22 MB / 435.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.5732, allocations: 47.53 kB / 435.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005306/0.5738, allocations: 180.8 kB / 435.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003146/0.5769, allocations: 2.159 MB / 438 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.5994, allocations: 10.18 MB / 448.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05749/0.6569, allocations: 44.3 MB / 492.5 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.6678, allocations: 4.603 MB / 497.1 MB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/0.6703, allocations: 1.724 MB / 498.8 MB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0125/0.6828, allocations: 8.22 MB / 0.4951 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.6829, allocations: 55.88 kB / 0.4952 GB, free: 11.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 4.388e-06/0.6829, allocations: 3.938 kB / 0.4952 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.03824/0.7212, allocations: 15.95 MB / 0.5108 GB, free: 11.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001372/0.7226, allocations: 1.604 MB / 0.5123 GB, free: 9.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/0.7286, allocations: 4.189 MB / 0.5164 GB, free: 5.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004005/0.729, allocations: 53.7 kB / 0.5165 GB, free: 5.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/0.7317, allocations: 3.408 MB / 0.5198 GB, free: 2.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.7328, allocations: 0.8074 MB / 0.5206 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.7331, allocations: 132 kB / 0.5207 GB, free: 1.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003999/0.7335, allocations: 0.5914 MB / 0.5213 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/0.7372, allocations: 2.236 MB / 0.5235 GB, free: 14.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006483/0.7437, allocations: 6.377 MB / 0.5297 GB, free: 6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/0.7495, allocations: 3.661 MB / 0.5333 GB, free: 2.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.233e-05/0.7496, allocations: 40 kB / 0.5333 GB, free: 2.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.2663/1.016, allocations: 9.994 MB / 0.5431 GB, free: 156.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.016, allocations: 68.62 kB / 0.5432 GB, free: 156.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01025/1.026, allocations: 3.786 MB / 0.5469 GB, free: 156.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00843/1.035, allocations: 2.19 MB / 0.549 GB, free: 156.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/1.04, allocations: 1.581 MB / 0.5505 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/1.048, allocations: 6.049 MB / 0.5564 GB, free: 152.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/1.053, allocations: 430.1 kB / 0.5569 GB, free: 152.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007683/1.054, allocations: 422.2 kB / 0.5573 GB, free: 152.4 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.003987/1.058, allocations: 2.216 MB / 0.5594 GB, free: 151.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007018/1.059, allocations: 374.8 kB / 0.5598 GB, free: 151.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005734/1.065, allocations: 3.288 MB / 0.563 GB, free: 149.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004341/1.069, allocations: 2.735 MB / 0.5657 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.069, allocations: 3.281 kB / 0.5657 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/1.069, allocations: 15.83 kB / 0.5657 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/1.084, allocations: 10.34 MB / 0.5758 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.084, allocations: 12 kB / 0.5758 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.085, allocations: 367.9 kB / 0.5761 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/1.088, allocations: 0.9939 MB / 0.5771 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/1.088, allocations: 63.95 kB / 0.5772 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/1.092, allocations: 4.592 MB / 0.5817 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007159/1.092, allocations: 1.469 MB / 0.5831 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007488/1.1, allocations: 5.896 MB / 0.5888 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.102, allocations: 0.66 MB / 0.5895 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/1.102, allocations: 61 kB / 0.5895 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.104, allocations: 143.8 kB / 0.5897 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/1.104, allocations: 180.5 kB / 0.5899 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.104, allocations: 72.84 kB / 0.5899 GB, free: 123.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003507/1.108, allocations: 2.582 MB / 0.5924 GB, free: 121.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/1.108, allocations: 0 / 0.5924 GB, free: 121.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006072/1.114, allocations: 1.17 MB / 0.5936 GB, free: 120.1 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.0005051/1.114, allocations: 222.5 kB / 0.5938 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009069/1.123, allocations: 5.95 MB / 0.5996 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.123, allocations: 4 kB / 0.5996 GB, free: 113.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.126, allocations: 2.179 MB / 0.6017 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/1.13, allocations: 483.8 kB / 0.6022 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.148, allocations: 13.1 MB / 0.615 GB, free: 97.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/1.151, allocations: 3.455 MB / 0.6184 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.153, allocations: 327.4 kB / 0.6187 GB, free: 94.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.705e-06/1.153, allocations: 0 / 0.6187 GB, free: 94.06 MB / 446.1 MB Notification: Performance of Templates: time 0.4494/1.602, allocations: 140.7 MB / 0.7561 GB, free: 109.5 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1