Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001118/0.001118, allocations: 106.4 kB / 17.08 MB, free: 5.82 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.001231/0.001231, allocations: 194.2 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2065/0.2065, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1022, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01446/0.1167, allocations: 12.51 MB / 0.5008 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1268, allocations: 4.333 MB / 0.505 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.1293, allocations: 75.75 kB / 0.5051 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005869/0.1352, allocations: 2.889 MB / 0.5079 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.141, allocations: 2.093 MB / 0.5099 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.143, allocations: 0.936 MB / 0.5109 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006877/0.1498, allocations: 5.474 MB / 0.5162 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005043/0.1549, allocations: 4.025 MB / 0.5201 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.1578, allocations: 1.846 MB / 0.5219 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/0.1615, allocations: 2.597 MB / 0.5245 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.1627, allocations: 384 kB / 0.5248 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.1654, allocations: 1.225 MB / 0.526 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002802/0.1683, allocations: 2.322 MB / 0.5283 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003618/0.1719, allocations: 2.606 MB / 0.5309 GB, free: 276 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.232/0.4039, allocations: 7.982 MB / 0.5386 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4039, allocations: 0.5625 kB / 0.5386 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.404, allocations: 0 / 0.5386 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.4042, allocations: 1.531 kB / 0.5387 GB, free: 13.05 MB / 414.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.01625/0.4205, allocations: 5.89 MB / 0.5444 GB, free: 10.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.4206, allocations: 12.48 kB / 0.5444 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4311, allocations: 2.279 MB / 0.5466 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007135/0.4382, allocations: 2.998 MB / 0.5496 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.4385, allocations: 291.9 kB / 0.5498 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/0.4405, allocations: 0.5982 MB / 0.5504 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.463, allocations: 12.11 MB / 0.5623 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.4632, allocations: 61.5 kB / 0.5623 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005718/0.4637, allocations: 182.3 kB / 0.5625 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002666/0.4664, allocations: 2.136 MB / 0.5646 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.4842, allocations: 10.74 MB / 0.5751 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06019/0.5444, allocations: 47.61 MB / 0.6216 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.5588, allocations: 5.381 MB / 0.6268 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/0.5623, allocations: 2.507 MB / 0.6293 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.5799, allocations: 12.31 MB / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.58, allocations: 70.72 kB / 0.6414 GB, free: 10.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=219): time 5.661e-06/0.5801, allocations: 0 / 0.6414 GB, free: 10.75 MB / 494.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] = 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