Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 96.19 kB / 16.96 MB, free: 5.605 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.001623/0.001624, allocations: 183.7 kB / 17.84 MB, free: 5.273 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.485/1.485, allocations: 223.2 MB / 241.8 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 4 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.3118/0.4517, allocations: 42.52 MB / 394.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02743/0.4791, allocations: 9.427 MB / 403.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01444/0.4936, allocations: 202.7 kB / 404 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009144/0.5028, allocations: 2.188 MB / 406.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0226/0.5254, allocations: 6.586 MB / 412.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.5293, allocations: 0.6927 MB / 413.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008156/0.5375, allocations: 5.186 MB / 418.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009416/0.547, allocations: 4.515 MB / 423.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.5508, allocations: 1.393 MB / 424.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/0.555, allocations: 2.181 MB / 426.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.5564, allocations: 164 kB / 426.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.5599, allocations: 0.9947 MB / 427.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.563, allocations: 1.862 MB / 429.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.5653, allocations: 0.8972 MB / 430.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007962/0.5732, allocations: 5.702 MB / 436.4 MB, free: 24 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.5733, allocations: 7.938 kB / 436.4 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5733, allocations: 4 kB / 436.4 MB, free: 12 kB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003685/0.5737, allocations: 0 / 436.4 MB, free: 12 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01184/0.5855, allocations: 4.388 MB / 440.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5856, allocations: 12.03 kB / 440.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007842/0.5934, allocations: 2.154 MB / 443 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/0.5999, allocations: 2.446 MB / 445.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.6002, allocations: 274.8 kB / 445.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.6013, allocations: 435.5 kB / 446.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/0.6266, allocations: 12.21 MB / 458.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.6268, allocations: 51.52 kB / 458.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005045/0.6273, allocations: 171.8 kB / 458.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003435/0.6308, allocations: 2.162 MB / 460.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.6533, allocations: 10.19 MB / 470.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07129/0.7247, allocations: 44.29 MB / 0.5031 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.7378, allocations: 4.598 MB / 0.5076 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.7406, allocations: 1.718 MB / 0.5093 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/0.754, allocations: 8.223 MB / 0.5173 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.236e-05/0.7542, allocations: 55.81 kB / 0.5173 GB, free: 15.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 6.081e-06/0.7542, allocations: 0 / 0.5173 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.4561/1.21, allocations: 15.91 MB / 0.5329 GB, free: 115.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001453/1.212, allocations: 1.598 MB / 0.5344 GB, free: 113.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/1.221, allocations: 4.172 MB / 0.5385 GB, free: 113.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005311/1.221, allocations: 53.73 kB / 0.5386 GB, free: 113.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003318/1.225, allocations: 3.402 MB / 0.5419 GB, free: 111.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.226, allocations: 0.801 MB / 0.5427 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/1.226, allocations: 141.8 kB / 0.5428 GB, free: 111.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004954/1.227, allocations: 0.5927 MB / 0.5434 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/1.232, allocations: 2.237 MB / 0.5456 GB, free: 110.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/1.24, allocations: 6.37 MB / 0.5518 GB, free: 105.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007492/1.247, allocations: 3.665 MB / 0.5554 GB, free: 105.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002628/1.248, allocations: 42.5 kB / 0.5554 GB, free: 105.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02573/1.273, allocations: 10 MB / 0.5652 GB, free: 104.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/1.274, allocations: 70.11 kB / 0.5652 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01043/1.284, allocations: 3.779 MB / 0.5689 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008662/1.293, allocations: 2.184 MB / 0.5711 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/1.298, allocations: 1.58 MB / 0.5726 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007038/1.305, allocations: 6.061 MB / 0.5785 GB, free: 96.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006296/1.311, allocations: 428.9 kB / 0.5789 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.313, allocations: 418 kB / 0.5793 GB, free: 96.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004473/1.317, allocations: 2.209 MB / 0.5815 GB, free: 94.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.318, allocations: 375.1 kB / 0.5818 GB, free: 94.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/1.324, allocations: 3.288 MB / 0.5851 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004223/1.328, allocations: 2.74 MB / 0.5877 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.328, allocations: 4 kB / 0.5877 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/1.329, allocations: 11.95 kB / 0.5878 GB, free: 88.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/1.345, allocations: 10.33 MB / 0.5978 GB, free: 78.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.345, allocations: 12 kB / 0.5979 GB, free: 78.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.347, allocations: 369.8 kB / 0.5982 GB, free: 77.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.349, allocations: 0.9923 MB / 0.5992 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.349, allocations: 60.75 kB / 0.5992 GB, free: 76.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/1.353, allocations: 4.593 MB / 0.6037 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007404/1.354, allocations: 1.473 MB / 0.6052 GB, free: 70.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007869/1.362, allocations: 5.892 MB / 0.6109 GB, free: 64.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.364, allocations: 440 kB / 0.6113 GB, free: 63.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/1.364, allocations: 65.53 kB / 0.6114 GB, free: 63.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.366, allocations: 147.8 kB / 0.6115 GB, free: 63.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/1.366, allocations: 174.4 kB / 0.6117 GB, free: 63.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.366, allocations: 81.92 kB / 0.6118 GB, free: 63.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003995/1.37, allocations: 2.562 MB / 0.6143 GB, free: 60.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.37, allocations: 0 / 0.6143 GB, free: 60.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007715/1.378, allocations: 1.167 MB / 0.6154 GB, free: 59.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005743/1.379, allocations: 225.7 kB / 0.6156 GB, free: 59.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.39, allocations: 5.942 MB / 0.6214 GB, free: 53.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/1.39, allocations: 4 kB / 0.6214 GB, free: 53.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003404/1.393, allocations: 2.185 MB / 0.6236 GB, free: 51.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.397, allocations: 499.5 kB / 0.6241 GB, free: 51.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.416, allocations: 13.07 MB / 0.6368 GB, free: 37.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/1.419, allocations: 3.453 MB / 0.6402 GB, free: 34.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.42, allocations: 325.5 kB / 0.6405 GB, free: 33.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/1.42, allocations: 0 / 0.6405 GB, free: 33.97 MB / 446.1 MB Notification: Performance of Templates: time 0.4346/1.855, allocations: 140.6 MB / 0.7778 GB, free: 115.8 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystemCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1