Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008605/0.0008605, allocations: 95.95 kB / 17.59 MB, free: 6.168 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.0008753/0.0008753, allocations: 183.5 kB / 18.47 MB, free: 5.336 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.689/1.689, allocations: 205.4 MB / 224.6 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.000517/0.0005171, allocations: 16 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.128, allocations: 47.58 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04179/0.1698, allocations: 38.19 MB / 367.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.1925, allocations: 8.683 MB / 375.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008491/0.201, allocations: 175.6 kB / 376 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006727/0.2078, allocations: 1.971 MB / 378 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2476/0.4554, allocations: 5.888 MB / 383.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.4584, allocations: 0.5665 MB / 384.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007101/0.4656, allocations: 4.263 MB / 388.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006507/0.4721, allocations: 4.181 MB / 392.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.4747, allocations: 1.204 MB / 394.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.4775, allocations: 1.798 MB / 395.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005246/0.4781, allocations: 141.7 kB / 396 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.4801, allocations: 0.8957 MB / 396.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.4816, allocations: 1.6 MB / 398.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008086/0.4824, allocations: 0.8039 MB / 399.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.4868, allocations: 5.104 MB / 404.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4868, allocations: 0 / 404.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4868, allocations: 4 kB / 404.5 MB, free: 7.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001401/0.487, allocations: 0 / 404.5 MB, free: 7.402 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006488/0.4935, allocations: 3.794 MB / 408.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4935, allocations: 9.938 kB / 408.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005625/0.4991, allocations: 1.927 MB / 410.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/0.503, allocations: 2.003 MB / 412.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.5032, allocations: 250.1 kB / 412.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007819/0.504, allocations: 393.6 kB / 412.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.5208, allocations: 10.06 MB / 422.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.5209, allocations: 41.23 kB / 422.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/0.5213, allocations: 156.9 kB / 423.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002613/0.5239, allocations: 1.854 MB / 424.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.5413, allocations: 8.295 MB / 433.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/0.5939, allocations: 39.38 MB / 472.6 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.6042, allocations: 3.996 MB / 476.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.6065, allocations: 1.416 MB / 478 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.6178, allocations: 7.629 MB / 485.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6178, allocations: 57.25 kB / 485.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 5.019e-06/0.6179, allocations: 0 / 485.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03144/0.6493, allocations: 12.36 MB / 498.1 MB, free: 6.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001339/0.6507, allocations: 1.591 MB / 499.6 MB, free: 4.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005649/0.6563, allocations: 3.808 MB / 0.4917 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.6566, allocations: 49.7 kB / 0.4917 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.659, allocations: 3.112 MB / 0.4947 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00079/0.6598, allocations: 0.6506 MB / 0.4954 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.6601, allocations: 123.9 kB / 0.4955 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003984/0.6605, allocations: 0.5704 MB / 0.4961 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.6636, allocations: 2.007 MB / 0.498 GB, free: 10.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/0.6692, allocations: 5.954 MB / 0.5038 GB, free: 2.184 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.6739, allocations: 3.362 MB / 0.5071 GB, free: 14.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.374e-05/0.674, allocations: 40 kB / 0.5071 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02328/0.6972, allocations: 9.675 MB / 0.5166 GB, free: 5.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.6974, allocations: 64 kB / 0.5167 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01056/0.708, allocations: 3.734 MB / 0.5203 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.7182, allocations: 2.653 MB / 0.5229 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/0.7227, allocations: 1.372 MB / 0.5242 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.7328, allocations: 7.202 MB / 0.5313 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/0.7382, allocations: 407 kB / 0.5317 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/0.7389, allocations: 385.7 kB / 0.532 GB, free: 4.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * 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: 2 * 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: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.003747/0.7427, allocations: 2.013 MB / 0.534 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006025/0.7433, allocations: 323.8 kB / 0.5343 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2478/0.9911, allocations: 3.125 MB / 0.5373 GB, free: 158 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006145/0.9973, allocations: 2.673 MB / 0.54 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/0.9974, allocations: 2.844 kB / 0.54 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.9974, allocations: 12.09 kB / 0.54 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.017, allocations: 8.55 MB / 0.5483 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.46e-05/1.017, allocations: 7.484 kB / 0.5483 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.018, allocations: 191.3 kB / 0.5485 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00594/1.024, allocations: 1.432 MB / 0.5499 GB, free: 155.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004124/1.025, allocations: 39.88 kB / 0.5499 GB, free: 155.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007779/1.032, allocations: 5.709 MB / 0.5555 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00122/1.034, allocations: 1.449 MB / 0.5569 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.046, allocations: 5.286 MB / 0.5621 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.047, allocations: 386.9 kB / 0.5625 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009936/1.048, allocations: 28.08 kB / 0.5625 GB, free: 148.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.051, allocations: 130.1 kB / 0.5626 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/1.051, allocations: 92.39 kB / 0.5627 GB, free: 148.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.051, allocations: 46.5 kB / 0.5628 GB, free: 148.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005364/1.057, allocations: 2.331 MB / 0.565 GB, free: 147.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.057, allocations: 0 / 0.565 GB, free: 147.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007291/1.064, allocations: 1.026 MB / 0.566 GB, free: 147.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * 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: 2 * 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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005194/1.064, allocations: 171.5 kB / 0.5662 GB, free: 147.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01141/1.076, allocations: 5.478 MB / 0.5715 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.076, allocations: 3.938 kB / 0.5715 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004246/1.08, allocations: 2.019 MB / 0.5735 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/1.083, allocations: 379.5 kB / 0.5739 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.102, allocations: 11.14 MB / 0.5848 GB, free: 132 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/1.105, allocations: 3.115 MB / 0.5878 GB, free: 128.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/1.106, allocations: 267.4 kB / 0.5881 GB, free: 128.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/1.106, allocations: 4 kB / 0.5881 GB, free: 128.6 MB / 446.1 MB Notification: Performance of Templates: time 0.3859/1.492, allocations: 142.8 MB / 0.7275 GB, free: 141.5 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSpringsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1