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.001247/0.001248, allocations: 112.1 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.001084/0.001084, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2138, allocations: 50.54 MB / 410 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01196/0.2258, allocations: 11.97 MB / 421.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00718/0.233, allocations: 4.207 MB / 426.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009577/0.2339, allocations: 67.81 kB / 426.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.2384, allocations: 2.752 MB / 428.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.2419, allocations: 1.98 MB / 430.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2433, allocations: 0.8111 MB / 431.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004488/0.2478, allocations: 4.679 MB / 436.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003249/0.251, allocations: 3.54 MB / 440 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.2526, allocations: 1.678 MB / 441.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.255, allocations: 2.34 MB / 444 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005098/0.2555, allocations: 352 kB / 444.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.2574, allocations: 1.252 MB / 445.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.2591, allocations: 2.092 MB / 447.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00191/0.261, allocations: 2.404 MB / 450.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006034/0.267, allocations: 7.464 MB / 457.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.267, allocations: 8 kB / 457.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.267, allocations: 0 / 457.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.89e-05/0.2671, allocations: 0 / 457.5 MB, free: 1.828 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.008043/0.2752, allocations: 5.247 MB / 462.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2752, allocations: 12.03 kB / 462.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008263/0.2835, allocations: 2.167 MB / 465 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/0.2879, allocations: 2.477 MB / 467.4 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.2881, allocations: 274.8 kB / 467.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008368/0.2889, allocations: 431.6 kB / 468.1 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.3081, allocations: 12.27 MB / 480.4 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-05/0.3082, allocations: 47.53 kB / 480.4 MB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004264/0.3086, allocations: 171.8 kB / 480.6 MB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003167/0.3118, allocations: 2.162 MB / 482.8 MB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.3311, allocations: 10.24 MB / 493 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/0.376, allocations: 44.12 MB / 0.5245 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.3877, allocations: 4.665 MB / 0.5291 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.39, allocations: 1.718 MB / 0.5308 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.4017, allocations: 8.298 MB / 0.5389 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4017, allocations: 55.81 kB / 0.5389 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 3.957e-06/0.4017, allocations: 3.938 kB / 0.5389 GB, free: 0.6328 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