Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.00092, allocations: 93.67 kB / 16.95 MB, free: 5.676 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.001073/0.001073, allocations: 183.3 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 241.8 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002623, allocations: 4 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01927/0.1569, allocations: 16.11 MB / 368 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3277/0.4847, allocations: 4.657 MB / 372.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.4907, allocations: 71.33 kB / 372.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005468/0.4963, allocations: 0.7868 MB / 373.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01572/0.512, allocations: 2.663 MB / 376.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.515, allocations: 374.7 kB / 376.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009693/0.5247, allocations: 2.854 MB / 379.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004781/0.5295, allocations: 1.856 MB / 381.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.5322, allocations: 0.7418 MB / 382 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.5358, allocations: 1.208 MB / 383.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00063/0.5365, allocations: 86.78 kB / 383.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.5396, allocations: 0.8653 MB / 384.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.5414, allocations: 1.017 MB / 385.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000913/0.5423, allocations: 0.5149 MB / 385.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005258/0.5476, allocations: 3.279 MB / 388.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.5476, allocations: 0 / 388.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.5476, allocations: 0 / 388.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001372/0.5478, allocations: 0 / 388.9 MB, free: 5.301 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007454/0.5552, allocations: 2.564 MB / 391.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.5553, allocations: 10.19 kB / 391.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/0.5619, allocations: 1.783 MB / 393.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/0.5656, allocations: 1.366 MB / 394.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.5658, allocations: 132 kB / 394.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006696/0.5665, allocations: 262.6 kB / 395.1 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.5788, allocations: 6.65 MB / 401.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.579, allocations: 31.75 kB / 401.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.5793, allocations: 94.12 kB / 401.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002296/0.5816, allocations: 1.365 MB / 403.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.5946, allocations: 6.015 MB / 409.2 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/0.6374, allocations: 25.61 MB / 434.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007519/0.645, allocations: 2.672 MB / 437.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.647, allocations: 1.028 MB / 438.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008227/0.6552, allocations: 3.895 MB / 442.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.085e-05/0.6554, allocations: 51.05 kB / 442.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=112): time 5.951e-06/0.6554, allocations: 0 / 442.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.03166/0.6871, allocations: 10.3 MB / 452.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002022/0.6891, allocations: 1.584 MB / 454.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008161/0.6973, allocations: 2.708 MB / 457.1 MB, free: 6.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005849/0.698, allocations: 41.7 kB / 457.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002848/0.7009, allocations: 2.084 MB / 459.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.7022, allocations: 0.5057 MB / 459.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008329/0.7031, allocations: 95.2 kB / 459.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0007216/0.7038, allocations: 0.4962 MB / 460.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.7078, allocations: 1.645 MB / 461.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/0.7148, allocations: 4.434 MB / 466.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005393/0.7202, allocations: 2.648 MB / 469 MB, free: 9.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001471/0.7204, allocations: 28 kB / 469 MB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02192/0.7423, allocations: 7.951 MB / 477 MB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.7425, allocations: 48 kB / 477 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01112/0.7536, allocations: 3.489 MB / 480.5 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.7644, allocations: 2.592 MB / 483.1 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/0.7683, allocations: 1.007 MB / 484.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.7832, allocations: 8.872 MB / 493 MB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/0.7878, allocations: 331.5 kB / 493.3 MB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/0.7891, allocations: 287.2 kB / 493.6 MB, free: 0.7383 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003978/0.7931, allocations: 1.416 MB / 495 MB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007239/0.7938, allocations: 233 kB / 495.2 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006975/0.8008, allocations: 2.848 MB / 498.1 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005539/0.8064, allocations: 2.505 MB / 0.4889 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/0.8064, allocations: 4 kB / 0.4889 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/0.8064, allocations: 3.984 kB / 0.4889 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/0.825, allocations: 6.859 MB / 0.4956 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.825, allocations: 7.891 kB / 0.4956 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.8259, allocations: 175.7 kB / 0.4957 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/0.8303, allocations: 1.449 MB / 0.4972 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.8306, allocations: 30.47 kB / 0.4972 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009862/0.8405, allocations: 7.315 MB / 0.5043 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001073/0.8416, allocations: 1.45 MB / 0.5057 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009212/0.8508, allocations: 4.848 MB / 0.5105 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.852, allocations: 298 kB / 0.5108 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007127/0.8527, allocations: 34.72 kB / 0.5108 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.8543, allocations: 107.8 kB / 0.5109 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.8546, allocations: 80.38 kB / 0.511 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.8547, allocations: 39.94 kB / 0.511 GB, free: 2.469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004023/0.8588, allocations: 1.681 MB / 0.5127 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8588, allocations: 4 kB / 0.5127 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005944/0.8647, allocations: 0.7814 MB / 0.5134 GB, free: 15.99 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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006139/0.8654, allocations: 169.7 kB / 0.5136 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009286/0.8747, allocations: 4.404 MB / 0.5179 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.8747, allocations: 0 / 0.5179 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003478/0.8782, allocations: 1.729 MB / 0.5196 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.8811, allocations: 260 kB / 0.5198 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.8991, allocations: 7.985 MB / 0.5276 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2458/1.145, allocations: 2.289 MB / 0.5299 GB, free: 150.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000871/1.146, allocations: 205.4 kB / 0.5301 GB, free: 150.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/1.146, allocations: 0.9062 kB / 0.5301 GB, free: 150.9 MB / 446.1 MB Notification: Performance of Templates: time 0.09508/1.241, allocations: 75.28 MB / 0.6036 GB, free: 93.62 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1