Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001981/0.001981, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.002537/0.002537, allocations: 194 kB / 18.72 MB, free: 4.762 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.928/1.928, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001454/0.001454, allocations: 51.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.05015/0.1789, allocations: 46.98 MB / 374.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.319/0.4979, allocations: 9.962 MB / 384.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01558/0.5137, allocations: 199.5 kB / 384.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007616/0.5213, allocations: 2.737 MB / 387.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008125/0.5295, allocations: 1.84 MB / 389 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.5323, allocations: 0.747 MB / 389.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.5455, allocations: 6.533 MB / 396.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006852/0.5524, allocations: 3.541 MB / 399.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/0.5563, allocations: 1.521 MB / 401.3 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.5608, allocations: 2.506 MB / 403.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.5629, allocations: 261.8 kB / 404.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.5678, allocations: 1.24 MB / 405.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003262/0.5711, allocations: 2.053 MB / 407.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003546/0.5746, allocations: 2.36 MB / 409.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007141/0.5818, allocations: 5.839 MB / 415.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5818, allocations: 0 / 415.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5818, allocations: 4 kB / 415.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002604/0.5821, allocations: 0 / 415.6 MB, free: 14.52 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01525/0.5974, allocations: 5.273 MB / 420.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.5974, allocations: 8.031 kB / 420.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007756/0.6052, allocations: 2.122 MB / 423 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006142/0.6114, allocations: 2.584 MB / 425.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.6117, allocations: 277.9 kB / 425.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.613, allocations: 430.3 kB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0291/0.6421, allocations: 12.21 MB / 438.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003405/0.6425, allocations: 55.23 kB / 438.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.6438, allocations: 177.2 kB / 438.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/0.6473, allocations: 2.167 MB / 440.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02405/0.6714, allocations: 10.21 MB / 451.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07583/0.7472, allocations: 44.31 MB / 495.4 MB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.7601, allocations: 4.62 MB / 500 MB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.7632, allocations: 1.725 MB / 0.49 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/0.7797, allocations: 8.217 MB / 0.498 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/0.7798, allocations: 59.81 kB / 0.498 GB, free: 14.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=183): time 6.011e-06/0.7798, allocations: 0 / 0.498 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=205): time 0.04902/0.8288, allocations: 15.97 MB / 0.5136 GB, free: 14.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001615/0.8305, allocations: 1.593 MB / 0.5152 GB, free: 12.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007903/0.8384, allocations: 4.215 MB / 0.5193 GB, free: 8.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006225/0.8391, allocations: 59.81 kB / 0.5194 GB, free: 8.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003116/0.8422, allocations: 3.404 MB / 0.5227 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/0.8436, allocations: 0.8101 MB / 0.5235 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/0.8458, allocations: 1.36 MB / 0.5248 GB, free: 2.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8459, allocations: 305.1 kB / 0.5251 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/0.8501, allocations: 2.266 MB / 0.5273 GB, free: 15.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009425/0.8595, allocations: 6.391 MB / 0.5336 GB, free: 7.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.298/1.158, allocations: 9.32 MB / 0.5427 GB, free: 169.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002337/1.158, allocations: 41.81 kB / 0.5427 GB, free: 169.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02945/1.187, allocations: 10.05 MB / 0.5525 GB, free: 167.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/1.188, allocations: 71.09 kB / 0.5526 GB, free: 167.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01075/1.198, allocations: 3.792 MB / 0.5563 GB, free: 166.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.208, allocations: 2.166 MB / 0.5584 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/1.214, allocations: 1.585 MB / 0.5599 GB, free: 166.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008021/1.222, allocations: 6.063 MB / 0.5659 GB, free: 162.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006794/1.229, allocations: 428.8 kB / 0.5663 GB, free: 162.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.23, allocations: 422.2 kB / 0.5667 GB, free: 162.7 MB / 462.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 (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005986/1.236, allocations: 2.213 MB / 0.5688 GB, free: 161.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.238, allocations: 375.4 kB / 0.5692 GB, free: 161.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007131/1.245, allocations: 3.292 MB / 0.5724 GB, free: 159.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005135/1.25, allocations: 2.747 MB / 0.5751 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/1.25, allocations: 4 kB / 0.5751 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/1.25, allocations: 11.97 kB / 0.5751 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.27, allocations: 10.33 MB / 0.5852 GB, free: 147.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.27, allocations: 12.22 kB / 0.5852 GB, free: 147.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.272, allocations: 371.4 kB / 0.5856 GB, free: 147.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.274, allocations: 0.9899 MB / 0.5865 GB, free: 146.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/1.274, allocations: 63.42 kB / 0.5866 GB, free: 146.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/1.278, allocations: 4.578 MB / 0.5911 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007547/1.279, allocations: 1.483 MB / 0.5925 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007782/1.287, allocations: 5.909 MB / 0.5983 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.289, allocations: 0.6523 MB / 0.5989 GB, free: 133.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/1.289, allocations: 59.27 kB / 0.599 GB, free: 133.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.291, allocations: 143.8 kB / 0.5991 GB, free: 133.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/1.291, allocations: 179.9 kB / 0.5993 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.291, allocations: 75.98 kB / 0.5994 GB, free: 132.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003665/1.295, allocations: 2.605 MB / 0.6019 GB, free: 130.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.295, allocations: 4 kB / 0.6019 GB, free: 130.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006114/1.301, allocations: 1.161 MB / 0.603 GB, free: 129.2 MB / 462.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 (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000518/1.301, allocations: 221.8 kB / 0.6033 GB, free: 129 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009071/1.311, allocations: 5.981 MB / 0.6091 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/1.311, allocations: 4 kB / 0.6091 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003258/1.314, allocations: 2.193 MB / 0.6112 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/1.317, allocations: 493.2 kB / 0.6117 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.337, allocations: 13.39 MB / 0.6248 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003078/1.34, allocations: 3.455 MB / 0.6282 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.341, allocations: 327.4 kB / 0.6285 GB, free: 102.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/1.341, allocations: 0 / 0.6285 GB, free: 102.8 MB / 462.1 MB Notification: Performance of Templates: time 0.4463/1.788, allocations: 141.4 MB / 0.7665 GB, free: 132.5 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1