Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.00109, allocations: 91.97 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 197.1 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.632/1.632, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 8 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.3045/0.428, allocations: 16.11 MB / 374.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4404, allocations: 4.711 MB / 379.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003349/0.4438, allocations: 65.62 kB / 379.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.4464, allocations: 0.7884 MB / 380.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008747/0.4551, allocations: 2.65 MB / 383.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.4568, allocations: 373.8 kB / 383.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006853/0.4637, allocations: 2.918 MB / 386.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/0.4672, allocations: 1.861 MB / 388.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.4688, allocations: 0.7426 MB / 389 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.4707, allocations: 1.2 MB / 390.2 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.471, allocations: 88.78 kB / 390.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.4731, allocations: 0.8404 MB / 391.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.4745, allocations: 1.022 MB / 392.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006462/0.4751, allocations: 0.5122 MB / 392.7 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004388/0.4795, allocations: 3.279 MB / 395.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4795, allocations: 0 / 395.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.4796, allocations: 3.938 kB / 395.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.4797, allocations: 0 / 395.9 MB, free: 3.148 MB / 302.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.007321/0.487, allocations: 2.557 MB / 398.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4871, allocations: 9.156 kB / 398.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/0.4935, allocations: 1.837 MB / 400.4 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/0.4976, allocations: 1.336 MB / 401.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.4978, allocations: 143.9 kB / 401.8 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008019/0.4986, allocations: 258.3 kB / 402.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.513, allocations: 6.671 MB / 408.8 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.706e-05/0.5132, allocations: 31.66 kB / 408.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.5135, allocations: 87.77 kB / 408.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00239/0.5159, allocations: 1.366 MB / 410.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.5293, allocations: 6.039 MB / 416.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03788/0.5672, allocations: 25.59 MB / 441.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/0.5744, allocations: 2.683 MB / 444.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.5762, allocations: 1.038 MB / 445.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006916/0.5831, allocations: 3.98 MB / 449.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.5832, allocations: 43.12 kB / 449.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 4.308e-06/0.5832, allocations: 4 kB / 449.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.02607/0.6093, allocations: 10.36 MB / 460 MB, free: 4.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001322/0.6106, allocations: 1.588 MB / 461.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.6149, allocations: 2.71 MB / 464.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003703/0.6153, allocations: 44.72 kB / 464.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.617, allocations: 2.086 MB / 466.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/0.6176, allocations: 0.5041 MB / 466.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.6179, allocations: 95.94 kB / 467 MB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000309/0.6182, allocations: 0.4923 MB / 467.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.6208, allocations: 1.649 MB / 469.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/0.6255, allocations: 4.44 MB / 473.6 MB, free: 5.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.63, allocations: 2.65 MB / 476.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.58e-05/0.6301, allocations: 28 kB / 476.3 MB, free: 2.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0259/0.656, allocations: 8.036 MB / 484.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.6563, allocations: 52.06 kB / 484.3 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01204/0.6683, allocations: 3.573 MB / 487.9 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/0.6799, allocations: 2.688 MB / 490.6 MB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/0.6841, allocations: 1.014 MB / 491.6 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/0.7008, allocations: 8.886 MB / 0.4888 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/0.7059, allocations: 335.5 kB / 0.4891 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/0.7073, allocations: 286.7 kB / 0.4894 GB, free: 9.254 MB / 414.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004288/0.7116, allocations: 1.419 MB / 0.4908 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008697/0.7125, allocations: 233 kB / 0.491 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.7138, allocations: 337.8 kB / 0.4913 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006258/0.72, allocations: 2.521 MB / 0.4938 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/0.7201, allocations: 4 kB / 0.4938 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.7201, allocations: 3.984 kB / 0.4938 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.737, allocations: 6.88 MB / 0.5005 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.7371, allocations: 0 / 0.5005 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/0.738, allocations: 179.7 kB / 0.5007 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004503/0.7425, allocations: 1.43 MB / 0.5021 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.7427, allocations: 40.77 kB / 0.5021 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.7535, allocations: 7.328 MB / 0.5093 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001267/0.7548, allocations: 1.45 MB / 0.5107 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009759/0.7645, allocations: 4.86 MB / 0.5154 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.7659, allocations: 301.9 kB / 0.5157 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/0.7668, allocations: 24.78 kB / 0.5157 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.7685, allocations: 115.9 kB / 0.5158 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.7688, allocations: 84.45 kB / 0.5159 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.769, allocations: 36.77 kB / 0.516 GB, free: 13.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004871/0.7738, allocations: 1.685 MB / 0.5176 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7739, allocations: 0 / 0.5176 GB, free: 11.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006475/0.7804, allocations: 0.7833 MB / 0.5184 GB, free: 10.96 MB / 446.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007057/0.7811, allocations: 169 kB / 0.5185 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009571/0.7907, allocations: 4.421 MB / 0.5228 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.7907, allocations: 0 / 0.5228 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003523/0.7942, allocations: 1.726 MB / 0.5245 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.7971, allocations: 256.7 kB / 0.5248 GB, free: 4.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.239/1.036, allocations: 7.993 MB / 0.5326 GB, free: 146.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/1.039, allocations: 2.289 MB / 0.5348 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000872/1.04, allocations: 208 kB / 0.535 GB, free: 145.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/1.04, allocations: 0 / 0.535 GB, free: 145.3 MB / 446.1 MB Notification: Performance of Templates: time 0.09393/1.134, allocations: 75.24 MB / 0.6085 GB, free: 85.25 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1