Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001385, allocations: 195.8 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.5 MB / 245.3 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000814/0.0008141, allocations: 104.3 kB / 297.4 MB, free: 6.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2156, allocations: 51.3 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0307/0.2463, allocations: 42.55 MB / 451.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02153/0.2679, allocations: 9.453 MB / 460.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007915/0.2759, allocations: 199.5 kB / 460.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006759/0.2826, allocations: 2.193 MB / 463.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.3008, allocations: 6.595 MB / 469.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.3046, allocations: 0.745 MB / 470.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.3122, allocations: 5.342 MB / 475.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006917/0.3191, allocations: 4.738 MB / 480.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.3216, allocations: 1.393 MB / 481.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.3244, allocations: 2.185 MB / 484.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005409/0.325, allocations: 160 kB / 484.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.3272, allocations: 1.119 MB / 485.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.3288, allocations: 1.87 MB / 487.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.3307, allocations: 2.075 MB / 489.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.3363, allocations: 5.702 MB / 495 MB, free: 5.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3364, allocations: 0 / 495 MB, free: 5.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3364, allocations: 0 / 495 MB, free: 5.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.3366, allocations: 4 kB / 495 MB, free: 5.098 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.008451/0.345, allocations: 4.328 MB / 499.3 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3451, allocations: 8.031 kB / 499.3 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007601/0.3527, allocations: 2.21 MB / 0.4898 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/0.3576, allocations: 2.442 MB / 0.4922 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3579, allocations: 278.8 kB / 0.4925 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009444/0.3588, allocations: 427.6 kB / 0.4929 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3005/0.6593, allocations: 12.21 MB / 0.5048 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.6596, allocations: 48.2 kB / 0.5048 GB, free: 90.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005985/0.6602, allocations: 171.4 kB / 0.505 GB, free: 90.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004069/0.6643, allocations: 2.168 MB / 0.5071 GB, free: 89.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.6883, allocations: 10.19 MB / 0.5171 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0499/0.7383, allocations: 44.3 MB / 0.5603 GB, free: 41.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009604/0.7479, allocations: 4.602 MB / 0.5648 GB, free: 36.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.75, allocations: 1.719 MB / 0.5665 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.7602, allocations: 8.235 MB / 0.5745 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.7603, allocations: 51.88 kB / 0.5746 GB, free: 26.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 6.482e-06/0.7603, allocations: 0 / 0.5746 GB, free: 26.27 MB / 378.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] = 0.8999999999999999 [/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