Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.001405, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 185.9 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3078, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01328/0.3212, allocations: 12.49 MB / 0.5318 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009295/0.3305, allocations: 4.332 MB / 0.536 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3328, allocations: 80.41 kB / 0.5361 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005674/0.3385, allocations: 2.885 MB / 0.5389 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005727/0.3443, allocations: 2.148 MB / 0.541 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.3465, allocations: 0.9337 MB / 0.5419 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00861/0.3552, allocations: 5.45 MB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00683/0.362, allocations: 4.022 MB / 0.5512 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004915/0.367, allocations: 1.838 MB / 0.553 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.3716, allocations: 2.59 MB / 0.5555 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.3732, allocations: 384 kB / 0.5559 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.3764, allocations: 1.233 MB / 0.5571 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.38, allocations: 2.311 MB / 0.5593 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005031/0.385, allocations: 2.606 MB / 0.5619 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009797/0.3949, allocations: 7.999 MB / 0.5697 GB, free: 8.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3949, allocations: 3.984 kB / 0.5697 GB, free: 8.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3949, allocations: 0 / 0.5697 GB, free: 8.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.3951, allocations: 0 / 0.5697 GB, free: 8.586 MB / 430.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.01186/0.407, allocations: 6.022 MB / 0.5756 GB, free: 2.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.407, allocations: 12.03 kB / 0.5756 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00999/0.417, allocations: 2.318 MB / 0.5778 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/0.423, allocations: 2.865 MB / 0.5806 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4232, allocations: 287.6 kB / 0.5809 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.4252, allocations: 0.6008 MB / 0.5815 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/0.448, allocations: 12.12 MB / 0.5933 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.4482, allocations: 51.56 kB / 0.5934 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005325/0.4487, allocations: 179.8 kB / 0.5935 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003314/0.452, allocations: 2.139 MB / 0.5956 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.4733, allocations: 10.74 MB / 0.6061 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0611/0.5344, allocations: 47.7 MB / 0.6527 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/0.5502, allocations: 5.394 MB / 0.658 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003632/0.5539, allocations: 2.502 MB / 0.6604 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01887/0.5728, allocations: 12.32 MB / 0.6724 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.5729, allocations: 63.81 kB / 0.6725 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=219): time 5.59e-06/0.5729, allocations: 0 / 0.6725 GB, free: 12.34 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