Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.0008208/0.0008208, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.0009106/0.0009107, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.693/1.693, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004832/0.0004832, allocations: 18.19 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 47.57 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01713/0.1437, allocations: 16.1 MB / 345.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1568, allocations: 4.67 MB / 349.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.1606, allocations: 79.75 kB / 349.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.1637, allocations: 0.7815 MB / 350.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00854/0.1723, allocations: 2.662 MB / 353.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.174, allocations: 375.4 kB / 353.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004759/0.1787, allocations: 2.875 MB / 356.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003457/0.1822, allocations: 1.861 MB / 358.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.1842, allocations: 0.7355 MB / 359.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.1858, allocations: 1.223 MB / 360.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.1861, allocations: 84 kB / 360.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.1879, allocations: 0.8503 MB / 361.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.1893, allocations: 1.021 MB / 362.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006835/0.19, allocations: 0.5118 MB / 362.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003918/0.194, allocations: 3.278 MB / 366.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.194, allocations: 3.938 kB / 366.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.194, allocations: 0 / 366.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.088e-05/0.1941, allocations: 0 / 366.1 MB, free: 14.82 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005564/0.1997, allocations: 2.567 MB / 368.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1997, allocations: 8.031 kB / 368.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006676/0.2064, allocations: 1.786 MB / 370.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.2103, allocations: 1.413 MB / 371.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.2104, allocations: 131.3 kB / 372 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.2111, allocations: 263.6 kB / 372.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.2232, allocations: 6.66 MB / 378.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-05/0.2233, allocations: 27.72 kB / 378.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.2236, allocations: 87.89 kB / 379 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2769/0.5005, allocations: 1.353 MB / 380.4 MB, free: 49.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.5206, allocations: 6.028 MB / 386.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03602/0.5567, allocations: 25.61 MB / 412 MB, free: 29.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/0.5623, allocations: 2.664 MB / 414.7 MB, free: 27.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.5635, allocations: 1.04 MB / 415.7 MB, free: 26.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004423/0.5679, allocations: 3.873 MB / 419.6 MB, free: 22.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5679, allocations: 43.12 kB / 419.6 MB, free: 22.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=112): time 3.176e-06/0.5679, allocations: 0 / 419.6 MB, free: 22.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.02181/0.5898, allocations: 10.33 MB / 430 MB, free: 11.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001097/0.5909, allocations: 1.583 MB / 431.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/0.5945, allocations: 2.729 MB / 434.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.5947, allocations: 47.2 kB / 434.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.5957, allocations: 2.079 MB / 436.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.5961, allocations: 0.5035 MB / 436.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.5963, allocations: 92.7 kB / 437 MB, free: 4.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5965, allocations: 0.4884 MB / 437.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.5984, allocations: 1.637 MB / 439.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004262/0.6027, allocations: 4.437 MB / 443.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.6068, allocations: 2.645 MB / 446.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.661e-05/0.6068, allocations: 28 kB / 446.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01703/0.6238, allocations: 7.964 MB / 454.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.6239, allocations: 51.44 kB / 454.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009787/0.6337, allocations: 3.477 MB / 457.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009992/0.6437, allocations: 2.608 MB / 460.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.6471, allocations: 1.01 MB / 461.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.661, allocations: 8.857 MB / 470.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/0.6646, allocations: 327.5 kB / 470.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/0.665, allocations: 284 kB / 470.8 MB, free: 0.8477 MB / 350.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.002273/0.6673, allocations: 1.433 MB / 472.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.6677, allocations: 229 kB / 472.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006063/0.6738, allocations: 2.841 MB / 475.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005313/0.6791, allocations: 2.513 MB / 477.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.6791, allocations: 4.875 kB / 477.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.6791, allocations: 3.984 kB / 477.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.6915, allocations: 6.872 MB / 484.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6916, allocations: 7.984 kB / 484.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.6924, allocations: 167.8 kB / 484.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004302/0.6967, allocations: 1.431 MB / 486.3 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.6969, allocations: 35.41 kB / 486.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009681/0.7065, allocations: 7.333 MB / 493.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001065/0.7076, allocations: 1.455 MB / 495.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008817/0.7165, allocations: 4.838 MB / 500 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/0.7172, allocations: 305.8 kB / 0.4885 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.7175, allocations: 27.98 kB / 0.4886 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/0.7185, allocations: 109.5 kB / 0.4887 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.7187, allocations: 84.38 kB / 0.4887 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.7188, allocations: 39.97 kB / 0.4888 GB, free: 2.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002547/0.7214, allocations: 1.689 MB / 0.4904 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7214, allocations: 0 / 0.4904 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00359/0.725, allocations: 0.7847 MB / 0.4912 GB, free: 68 kB / 382.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.000375/0.7254, allocations: 159.2 kB / 0.4913 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00742/0.7328, allocations: 4.407 MB / 0.4956 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7328, allocations: 0 / 0.4956 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003037/0.7359, allocations: 1.718 MB / 0.4973 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.7376, allocations: 266 kB / 0.4976 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.7491, allocations: 7.998 MB / 0.5054 GB, free: 1.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.7516, allocations: 2.293 MB / 0.5076 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/0.7523, allocations: 207.4 kB / 0.5078 GB, free: 14.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.643e-06/0.7523, allocations: 0 / 0.5078 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Templates: time 0.2803/1.033, allocations: 75.35 MB / 0.5814 GB, free: 87.57 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1