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.001225/0.001225, allocations: 93.7 kB / 17.95 MB, free: 5.629 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.001889/0.00189, allocations: 180 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004866/0.0004866, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04714/0.1717, allocations: 45.73 MB / 375.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3229/0.4946, allocations: 9.894 MB / 385.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0113/0.506, allocations: 197.7 kB / 385.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.5083, allocations: 463.9 kB / 385.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007347/0.5156, allocations: 1.855 MB / 387.7 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.518, allocations: 0.7547 MB / 388.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.531, allocations: 6.53 MB / 395 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.542, allocations: 4.93 MB / 400 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004175/0.5462, allocations: 1.295 MB / 401.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00544/0.5517, allocations: 2.216 MB / 403.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001943/0.5537, allocations: 163.4 kB / 403.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.5587, allocations: 1.142 MB / 404.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003867/0.5626, allocations: 1.925 MB / 406.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003879/0.5665, allocations: 2.201 MB / 408.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007682/0.5742, allocations: 5.713 MB / 414.6 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5742, allocations: 0 / 414.6 MB, free: 296 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.5743, allocations: 0 / 414.6 MB, free: 296 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003476/0.5746, allocations: 3.938 kB / 414.6 MB, free: 292 kB / 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.01252/0.5871, allocations: 4.332 MB / 418.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.5872, allocations: 8.594 kB / 419 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.5974, allocations: 2.17 MB / 421.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006797/0.6042, allocations: 2.589 MB / 423.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.6045, allocations: 276 kB / 424 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.6058, allocations: 428.2 kB / 424.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/0.6325, allocations: 12.24 MB / 436.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/0.6329, allocations: 54.89 kB / 436.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/0.6345, allocations: 178.3 kB / 436.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003676/0.6382, allocations: 2.164 MB / 439 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02604/0.6643, allocations: 10.23 MB / 449.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07212/0.7364, allocations: 44.31 MB / 493.6 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.7503, allocations: 4.609 MB / 498.2 MB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.7537, allocations: 1.724 MB / 499.9 MB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/0.77, allocations: 8.215 MB / 0.4962 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.7701, allocations: 59.75 kB / 0.4963 GB, free: 1.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 5.289e-06/0.7702, allocations: 0 / 0.4963 GB, free: 1.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.05202/0.8222, allocations: 15.99 MB / 0.5119 GB, free: 1.262 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001691/0.824, allocations: 1.601 MB / 0.5134 GB, free: 15.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.8348, allocations: 4.215 MB / 0.5176 GB, free: 11.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006066/0.8354, allocations: 57.7 kB / 0.5176 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003216/0.8386, allocations: 3.4 MB / 0.5209 GB, free: 7.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.8401, allocations: 0.8086 MB / 0.5217 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.8414, allocations: 0.5755 MB / 0.5223 GB, free: 6.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8416, allocations: 305.1 kB / 0.5226 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004046/0.8457, allocations: 2.274 MB / 0.5248 GB, free: 3.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007296/0.853, allocations: 6.39 MB / 0.531 GB, free: 11.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/0.8678, allocations: 9.321 MB / 0.5401 GB, free: 28 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.2768/1.145, allocations: 40.11 kB / 0.5402 GB, free: 175.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02949/1.174, allocations: 10.06 MB / 0.55 GB, free: 173.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/1.174, allocations: 69.34 kB / 0.5501 GB, free: 173.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01224/1.187, allocations: 3.797 MB / 0.5538 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/1.198, allocations: 2.164 MB / 0.5559 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/1.204, allocations: 1.581 MB / 0.5574 GB, free: 172.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007724/1.212, allocations: 6.066 MB / 0.5634 GB, free: 168.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006045/1.218, allocations: 427.3 kB / 0.5638 GB, free: 168.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.219, allocations: 414.4 kB / 0.5642 GB, free: 168.7 MB / 462.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 (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.004052/1.223, allocations: 2.221 MB / 0.5663 GB, free: 167.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007213/1.224, allocations: 368.8 kB / 0.5667 GB, free: 167.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006058/1.23, allocations: 3.3 MB / 0.5699 GB, free: 165.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004516/1.235, allocations: 2.748 MB / 0.5726 GB, free: 163.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.235, allocations: 4 kB / 0.5726 GB, free: 163.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/1.235, allocations: 7.969 kB / 0.5726 GB, free: 163.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/1.252, allocations: 10.34 MB / 0.5827 GB, free: 152.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.252, allocations: 12 kB / 0.5827 GB, free: 152.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.254, allocations: 375.8 kB / 0.5831 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/1.256, allocations: 0.9786 MB / 0.584 GB, free: 151.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/1.256, allocations: 67.91 kB / 0.5841 GB, free: 151.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/1.261, allocations: 4.592 MB / 0.5886 GB, free: 146.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008123/1.262, allocations: 1.472 MB / 0.59 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007856/1.269, allocations: 5.912 MB / 0.5958 GB, free: 138.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.271, allocations: 0.6694 MB / 0.5964 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/1.272, allocations: 55.98 kB / 0.5965 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.273, allocations: 158.1 kB / 0.5966 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/1.274, allocations: 168.4 kB / 0.5968 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.274, allocations: 80.83 kB / 0.5969 GB, free: 137.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003528/1.277, allocations: 2.605 MB / 0.5994 GB, free: 135.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.277, allocations: 3.719 kB / 0.5994 GB, free: 135.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006123/1.283, allocations: 1.166 MB / 0.6006 GB, free: 134 MB / 462.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 (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.0005707/1.284, allocations: 217 kB / 0.6008 GB, free: 133.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009362/1.293, allocations: 5.975 MB / 0.6066 GB, free: 127.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/1.293, allocations: 4 kB / 0.6066 GB, free: 127.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003773/1.297, allocations: 2.19 MB / 0.6088 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/1.307, allocations: 0.4896 MB / 0.6092 GB, free: 125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.327, allocations: 13.59 MB / 0.6225 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003208/1.331, allocations: 3.451 MB / 0.6259 GB, free: 107.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.332, allocations: 325.9 kB / 0.6262 GB, free: 107.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.542e-06/1.332, allocations: 0 / 0.6262 GB, free: 107.4 MB / 462.1 MB Notification: Performance of Templates: time 0.4341/1.766, allocations: 140.5 MB / 0.7634 GB, free: 138.2 MB / 462.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++ -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.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