Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|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.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 109.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 79.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3745, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01431/0.3888, allocations: 12.45 MB / 0.5438 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3992, allocations: 4.353 MB / 0.5481 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.4018, allocations: 76.22 kB / 0.5482 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006734/0.4086, allocations: 2.886 MB / 0.551 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.4157, allocations: 2.115 MB / 0.553 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.4182, allocations: 0.9321 MB / 0.5539 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008156/0.4264, allocations: 5.595 MB / 0.5594 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005794/0.4322, allocations: 4.013 MB / 0.5633 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.4357, allocations: 1.822 MB / 0.5651 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/0.4401, allocations: 2.578 MB / 0.5676 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.4417, allocations: 395.9 kB / 0.568 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.4451, allocations: 1.209 MB / 0.5692 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003441/0.4486, allocations: 2.287 MB / 0.5714 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005448/0.4541, allocations: 2.59 MB / 0.574 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.4677, allocations: 7.904 MB / 0.5817 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4678, allocations: 0 / 0.5817 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4678, allocations: 0 / 0.5817 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003521/0.4682, allocations: 0 / 0.5817 GB, free: 14.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01652/0.4847, allocations: 5.844 MB / 0.5874 GB, free: 8.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.4848, allocations: 8.031 kB / 0.5874 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.4965, allocations: 2.467 MB / 0.5898 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00709/0.5036, allocations: 2.762 MB / 0.5925 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.504, allocations: 283.6 kB / 0.5928 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/0.5065, allocations: 0.6085 MB / 0.5934 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.5336, allocations: 12.15 MB / 0.6052 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/0.534, allocations: 55.44 kB / 0.6053 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/0.5355, allocations: 179.8 kB / 0.6054 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.5392, allocations: 2.131 MB / 0.6075 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/0.5646, allocations: 10.81 MB / 0.6181 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07601/0.6406, allocations: 47.59 MB / 0.6646 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/0.658, allocations: 5.432 MB / 0.6699 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004656/0.6627, allocations: 2.495 MB / 0.6723 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02325/0.686, allocations: 12.39 MB / 0.6844 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/0.6861, allocations: 55.88 kB / 0.6844 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=219): time 6.092e-06/0.6861, allocations: 0 / 0.6844 GB, free: 2.129 MB / 0.5294 GB [/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] = 2.0 [/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 ModelicaTest.MultiBody.Forces.Spring2 could not be translated