Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 71.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2131, allocations: 50.55 MB / 410 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01185/0.225, allocations: 11.96 MB / 421.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.2322, allocations: 4.207 MB / 426.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.2335, allocations: 71.81 kB / 426.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004692/0.2382, allocations: 2.745 MB / 428.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.2421, allocations: 1.933 MB / 430.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.2437, allocations: 0.8033 MB / 431.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00524/0.2489, allocations: 4.691 MB / 436.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00362/0.2526, allocations: 3.541 MB / 439.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.2545, allocations: 1.678 MB / 441.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.2569, allocations: 2.329 MB / 443.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005571/0.2574, allocations: 352 kB / 444.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.2594, allocations: 1.256 MB / 445.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.261, allocations: 2.096 MB / 447.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.2629, allocations: 2.408 MB / 450 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.269, allocations: 7.466 MB / 457.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.269, allocations: 3.938 kB / 457.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.269, allocations: 0 / 457.5 MB, free: 1.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.269, allocations: 0 / 457.5 MB, free: 1.977 MB / 366.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.007792/0.2768, allocations: 5.239 MB / 462.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2769, allocations: 12.02 kB / 462.7 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008023/0.2849, allocations: 2.171 MB / 464.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/0.2891, allocations: 2.473 MB / 467.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.2893, allocations: 274.8 kB / 467.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008246/0.2901, allocations: 427.6 kB / 468.1 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.3083, allocations: 12.27 MB / 480.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.84e-05/0.3085, allocations: 51.53 kB / 480.4 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004296/0.3089, allocations: 171.8 kB / 480.5 MB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003013/0.3119, allocations: 2.166 MB / 482.7 MB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.331, allocations: 10.24 MB / 493 MB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04331/0.3743, allocations: 44.12 MB / 0.5245 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.3855, allocations: 4.649 MB / 0.529 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.388, allocations: 1.726 MB / 0.5307 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.3997, allocations: 8.294 MB / 0.5388 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.3997, allocations: 51.88 kB / 0.5389 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 3.827e-06/0.3998, allocations: 0 / 0.5389 GB, free: 0.8125 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: spring2.frame_a.r_0[1] = 0.8999999999999999 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem could not be translated