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.001083/0.001083, allocations: 95.7 kB / 17.96 MB, free: 5.77 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.001721/0.001721, allocations: 180.8 kB / 18.86 MB, free: 4.906 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.953/1.953, allocations: 205.4 MB / 225 MB, free: 13.06 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.0004847/0.0004847, allocations: 12.69 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 47.59 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01954/0.1426, allocations: 17.25 MB / 346.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.1558, allocations: 4.981 MB / 351.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004143/0.16, allocations: 71.81 kB / 351.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1612, allocations: 278.7 kB / 352.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.1654, allocations: 1.285 MB / 353.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1668, allocations: 415.4 kB / 353.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005962/0.1728, allocations: 3.624 MB / 357.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003886/0.1767, allocations: 2.035 MB / 359.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.1787, allocations: 0.669 MB / 360.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.1813, allocations: 1.218 MB / 361.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.1816, allocations: 88 kB / 361.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1836, allocations: 1.002 MB / 362.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.1846, allocations: 1.044 MB / 363.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.1858, allocations: 1.236 MB / 364.8 MB, free: 392 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.1894, allocations: 3.289 MB / 368.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1894, allocations: 0 / 368.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1894, allocations: 3.938 kB / 368.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.494e-05/0.1895, allocations: 0 / 368.1 MB, free: 13.08 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.005563/0.1951, allocations: 2.532 MB / 370.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.1952, allocations: 12.03 kB / 370.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006821/0.202, allocations: 1.779 MB / 372.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.2055, allocations: 1.449 MB / 373.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.2056, allocations: 131.3 kB / 374 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009806/0.2066, allocations: 259.6 kB / 374.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2756/0.4823, allocations: 6.658 MB / 380.9 MB, free: 50.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002696/0.4826, allocations: 34.28 kB / 380.9 MB, free: 50.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.4838, allocations: 86.92 kB / 381 MB, free: 50.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003482/0.4873, allocations: 1.36 MB / 382.4 MB, free: 50.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.5041, allocations: 6.044 MB / 388.4 MB, free: 49.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03521/0.5393, allocations: 25.63 MB / 414.1 MB, free: 29.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/0.5461, allocations: 2.671 MB / 416.7 MB, free: 26.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.5474, allocations: 1.035 MB / 417.8 MB, free: 25.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006186/0.5536, allocations: 3.883 MB / 421.6 MB, free: 21.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.5537, allocations: 51.06 kB / 421.7 MB, free: 21.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=112): time 4.027e-06/0.5537, allocations: 0 / 421.7 MB, free: 21.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.02652/0.5803, allocations: 10.33 MB / 432 MB, free: 10.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00134/0.5817, allocations: 1.578 MB / 433.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.5873, allocations: 2.741 MB / 436.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003052/0.5877, allocations: 43.2 kB / 436.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.5889, allocations: 2.079 MB / 438.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.5895, allocations: 0.5169 MB / 439 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.5899, allocations: 391.8 kB / 439.4 MB, free: 3.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.59, allocations: 305.1 kB / 439.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.592, allocations: 1.656 MB / 441.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004477/0.5965, allocations: 4.448 MB / 445.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.6074, allocations: 6.552 MB / 452.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/0.6076, allocations: 32 kB / 452.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02327/0.6309, allocations: 7.989 MB / 460.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.6311, allocations: 48 kB / 460.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01272/0.6439, allocations: 3.498 MB / 463.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/0.6567, allocations: 2.589 MB / 466.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/0.6606, allocations: 1.013 MB / 467.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.6769, allocations: 8.862 MB / 476.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/0.6815, allocations: 328.7 kB / 476.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/0.6827, allocations: 293.2 kB / 477 MB, free: 10.37 MB / 366.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 (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004135/0.6869, allocations: 1.416 MB / 478.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008169/0.6877, allocations: 229 kB / 478.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007647/0.6953, allocations: 2.844 MB / 481.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006303/0.7017, allocations: 2.514 MB / 484 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.7017, allocations: 7.938 kB / 484 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7017, allocations: 3.984 kB / 484 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.7178, allocations: 6.88 MB / 490.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.7178, allocations: 4 kB / 490.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/0.7187, allocations: 175.7 kB / 491 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005116/0.7238, allocations: 1.438 MB / 492.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.724, allocations: 27.98 kB / 492.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.7352, allocations: 7.343 MB / 499.8 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001287/0.7366, allocations: 1.446 MB / 0.4895 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.7474, allocations: 4.854 MB / 0.4943 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.7489, allocations: 298 kB / 0.4946 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000931/0.7498, allocations: 28 kB / 0.4946 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.7518, allocations: 120.7 kB / 0.4947 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.7522, allocations: 80.38 kB / 0.4948 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.7523, allocations: 40.69 kB / 0.4948 GB, free: 12.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003028/0.7554, allocations: 1.701 MB / 0.4965 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7554, allocations: 0 / 0.4965 GB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004475/0.7598, allocations: 0.7853 MB / 0.4972 GB, free: 9.555 MB / 398.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 (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004872/0.7604, allocations: 164.7 kB / 0.4974 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009094/0.7695, allocations: 4.421 MB / 0.5017 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.7695, allocations: 0 / 0.5017 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.773, allocations: 1.73 MB / 0.5034 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.7754, allocations: 257.1 kB / 0.5036 GB, free: 2.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.7887, allocations: 8.272 MB / 0.5117 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/0.7913, allocations: 2.297 MB / 0.514 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008303/0.7922, allocations: 199.4 kB / 0.5142 GB, free: 8.051 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7922, allocations: 0 / 0.5142 GB, free: 8.051 MB / 414.1 MB Notification: Performance of Templates: time 0.3778/1.17, allocations: 75.23 MB / 0.5876 GB, free: 79.08 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++ -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.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