Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Spring2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 195.2 kB / 16.75 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 226.5 MB / 244.1 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008461, allocations: 90.73 kB / 296.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.354/0.354, allocations: 44.81 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003993, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4768, allocations: 62.97 MB / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.0324/0.5093, allocations: 46.15 MB / 0.5616 GB, free: 3.883 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.5314, allocations: 10.18 MB / 0.5715 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009407/0.5408, allocations: 216.8 kB / 0.5717 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007966/0.5488, allocations: 2.381 MB / 0.5741 GB, free: 12.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02127/0.5701, allocations: 7.205 MB / 0.5811 GB, free: 7.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.574, allocations: 0.8426 MB / 0.5819 GB, free: 6.336 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008381/0.5824, allocations: 6.216 MB / 0.588 GB, free: 108 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008931/0.5913, allocations: 5.177 MB / 0.593 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.5965, allocations: 1.526 MB / 0.5945 GB, free: 9.301 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006105/0.6026, allocations: 2.446 MB / 0.5969 GB, free: 6.848 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/0.6039, allocations: 176 kB / 0.5971 GB, free: 6.676 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.6076, allocations: 1.053 MB / 0.5981 GB, free: 5.621 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.6108, allocations: 2.049 MB / 0.6001 GB, free: 3.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.6146, allocations: 2.227 MB / 0.6023 GB, free: 1.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00969/0.6243, allocations: 6.065 MB / 0.6082 GB, free: 11.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.6243, allocations: 0 / 0.6082 GB, free: 11.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.719e-06/0.6244, allocations: 0 / 0.6082 GB, free: 11.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003869/0.6248, allocations: 0 / 0.6082 GB, free: 11.24 MB / 426.7 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.01623/0.641, allocations: 4.858 MB / 0.613 GB, free: 6.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/0.6411, allocations: 8.031 kB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.6528, allocations: 2.498 MB / 0.6154 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008668/0.6615, allocations: 2.73 MB / 0.6181 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.662, allocations: 291.5 kB / 0.6183 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/0.6657, allocations: 0.5968 MB / 0.6189 GB, free: 132 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03701/0.7027, allocations: 12.11 MB / 0.6308 GB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006027/0.7034, allocations: 51.53 kB / 0.6308 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003206/0.7066, allocations: 175.8 kB / 0.631 GB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005443/0.7121, allocations: 2.147 MB / 0.6331 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03294/0.7451, allocations: 10.73 MB / 0.6435 GB, free: 6.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5611/1.306, allocations: 47.75 MB / 0.6902 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/1.322, allocations: 5.386 MB / 0.6954 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004311/1.326, allocations: 2.489 MB / 0.6979 GB, free: 99.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02312/1.349, allocations: 12.31 MB / 0.7099 GB, free: 92.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.345e-05/1.349, allocations: 56.88 kB / 0.7099 GB, free: 92.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=219): time 7.874e-06/1.349, allocations: 0 / 0.7099 GB, free: 92.57 MB / 490.7 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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed