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.001564/0.001564, allocations: 111.6 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.001946/0.001946, 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.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 76.11 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3016, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01307/0.3147, allocations: 12.45 MB / 0.5438 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009777/0.3245, allocations: 4.345 MB / 0.5481 GB, free: 380 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.3268, allocations: 77.19 kB / 0.5481 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005551/0.3323, allocations: 2.891 MB / 0.551 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.3375, allocations: 2.069 MB / 0.553 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.3394, allocations: 0.9243 MB / 0.5539 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006834/0.3463, allocations: 5.583 MB / 0.5593 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004551/0.3509, allocations: 4.017 MB / 0.5633 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.3535, allocations: 1.818 MB / 0.565 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.3571, allocations: 2.582 MB / 0.5676 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.3581, allocations: 384 kB / 0.5679 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.3608, allocations: 1.209 MB / 0.5691 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.3632, allocations: 2.295 MB / 0.5714 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003399/0.3666, allocations: 2.59 MB / 0.5739 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008426/0.375, allocations: 7.916 MB / 0.5816 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.375, allocations: 0 / 0.5816 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3751, allocations: 0 / 0.5816 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002192/0.3753, allocations: 0 / 0.5816 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.01338/0.3887, allocations: 5.84 MB / 0.5873 GB, free: 8.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3887, allocations: 8.031 kB / 0.5873 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009787/0.3985, allocations: 2.455 MB / 0.5897 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005182/0.4037, allocations: 2.77 MB / 0.5924 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.404, allocations: 287.6 kB / 0.5927 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.4058, allocations: 0.6046 MB / 0.5933 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02076/0.4266, allocations: 12.16 MB / 0.6052 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.4268, allocations: 59.44 kB / 0.6052 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007803/0.4276, allocations: 175.8 kB / 0.6054 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003038/0.4306, allocations: 2.135 MB / 0.6075 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.4511, allocations: 10.79 MB / 0.618 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06125/0.5124, allocations: 47.59 MB / 0.6645 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.5277, allocations: 5.432 MB / 0.6698 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003952/0.5317, allocations: 2.503 MB / 0.6722 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01995/0.5517, allocations: 12.39 MB / 0.6843 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.5518, allocations: 59.81 kB / 0.6844 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=219): time 5.641e-06/0.5518, allocations: 0 / 0.6844 GB, free: 2.133 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