Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009771/0.000982, allocations: 93.39 kB / 16.95 MB, free: 5.949 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.001139/0.00114, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.5/1.5, allocations: 223.3 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002295, allocations: 4 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.3488/0.4707, allocations: 38.19 MB / 390.1 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03342/0.5042, allocations: 8.672 MB / 398.7 MB, free: 388 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01476/0.519, allocations: 180.3 kB / 398.9 MB, free: 356 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.53, allocations: 1.962 MB / 400.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02796/0.558, allocations: 5.909 MB / 406.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004295/0.5623, allocations: 0.5693 MB / 407.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00855/0.5709, allocations: 4.257 MB / 411.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007523/0.5785, allocations: 4.183 MB / 415.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.5814, allocations: 1.195 MB / 417 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.5847, allocations: 1.799 MB / 418.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005493/0.5853, allocations: 140 kB / 418.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.5876, allocations: 0.9011 MB / 419.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.5897, allocations: 1.593 MB / 421.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.5909, allocations: 0.8038 MB / 422.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006863/0.5977, allocations: 5.114 MB / 427.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5977, allocations: 0 / 427.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5978, allocations: 0 / 427.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.598, allocations: 0 / 427.3 MB, free: 9.07 MB / 334.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.009552/0.6076, allocations: 3.801 MB / 431.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.6076, allocations: 8.031 kB / 431.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007078/0.6147, allocations: 1.917 MB / 433.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/0.6199, allocations: 1.954 MB / 435 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.6202, allocations: 246.2 kB / 435.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009611/0.6211, allocations: 399.6 kB / 435.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.6421, allocations: 10.05 MB / 445.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.6423, allocations: 43.53 kB / 445.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004524/0.6428, allocations: 163.8 kB / 445.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/0.6456, allocations: 1.853 MB / 447.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/0.6648, allocations: 8.308 MB / 456.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06215/0.727, allocations: 39.36 MB / 495.4 MB, free: 3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.7371, allocations: 3.985 MB / 499.4 MB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.7394, allocations: 1.423 MB / 0.4891 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.751, allocations: 7.63 MB / 0.4965 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.7512, allocations: 55.5 kB / 0.4966 GB, free: 5.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.849e-06/0.7512, allocations: 0 / 0.4966 GB, free: 5.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03325/0.7844, allocations: 12.34 MB / 0.5086 GB, free: 8.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001375/0.7858, allocations: 1.589 MB / 0.5102 GB, free: 6.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006237/0.7921, allocations: 3.8 MB / 0.5139 GB, free: 3.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003694/0.7925, allocations: 49.7 kB / 0.514 GB, free: 3.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002396/0.7949, allocations: 3.103 MB / 0.517 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/0.7959, allocations: 0.6521 MB / 0.5176 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.7962, allocations: 120 kB / 0.5177 GB, free: 15.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004377/0.7967, allocations: 0.5704 MB / 0.5183 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/0.7999, allocations: 2.007 MB / 0.5203 GB, free: 12.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006056/0.806, allocations: 5.95 MB / 0.5261 GB, free: 4.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/0.8112, allocations: 3.373 MB / 0.5294 GB, free: 1.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.764e-05/0.8113, allocations: 40 kB / 0.5294 GB, free: 1.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.3216/1.133, allocations: 9.666 MB / 0.5388 GB, free: 144.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003705/1.133, allocations: 65.19 kB / 0.5389 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0129/1.146, allocations: 3.735 MB / 0.5425 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/1.158, allocations: 2.657 MB / 0.5451 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005033/1.163, allocations: 1.372 MB / 0.5465 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0092/1.172, allocations: 7.183 MB / 0.5535 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/1.178, allocations: 407.9 kB / 0.5539 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.179, allocations: 389.9 kB / 0.5543 GB, free: 139.2 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.004662/1.184, allocations: 2.01 MB / 0.5562 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009014/1.184, allocations: 324.4 kB / 0.5565 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/1.191, allocations: 3.123 MB / 0.5596 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004857/1.196, allocations: 2.683 MB / 0.5622 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.196, allocations: 3.984 kB / 0.5622 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.196, allocations: 11.94 kB / 0.5622 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/1.213, allocations: 8.56 MB / 0.5706 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/1.213, allocations: 0 / 0.5706 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/1.214, allocations: 187.7 kB / 0.5708 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003816/1.218, allocations: 1.436 MB / 0.5722 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/1.218, allocations: 35.97 kB / 0.5722 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/1.223, allocations: 5.711 MB / 0.5778 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007901/1.224, allocations: 1.451 MB / 0.5792 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008022/1.232, allocations: 5.29 MB / 0.5843 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.233, allocations: 380.7 kB / 0.5847 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/1.234, allocations: 29.95 kB / 0.5847 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.236, allocations: 123.8 kB / 0.5849 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/1.236, allocations: 87.16 kB / 0.5849 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.236, allocations: 51.97 kB / 0.585 GB, free: 110.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004281/1.241, allocations: 2.325 MB / 0.5873 GB, free: 108.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.241, allocations: 0 / 0.5873 GB, free: 108.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007638/1.248, allocations: 1.026 MB / 0.5883 GB, free: 107.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.0007279/1.249, allocations: 173.5 kB / 0.5884 GB, free: 107.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00965/1.259, allocations: 5.475 MB / 0.5938 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.259, allocations: 1.859 kB / 0.5938 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.262, allocations: 2.032 MB / 0.5958 GB, free: 99.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.265, allocations: 379.2 kB / 0.5961 GB, free: 99.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/1.285, allocations: 11.14 MB / 0.607 GB, free: 88.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00269/1.288, allocations: 3.106 MB / 0.61 GB, free: 85.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/1.289, allocations: 267.4 kB / 0.6103 GB, free: 84.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.395e-06/1.289, allocations: 4 kB / 0.6103 GB, free: 84.75 MB / 446.1 MB Notification: Performance of Templates: time 0.3883/1.677, allocations: 142.7 MB / 0.7497 GB, free: 102 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1