Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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) 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(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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001748/0.001748, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009421/0.0009421, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2121, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01209/0.2242, allocations: 12 MB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.2314, allocations: 4.207 MB / 417.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2327, allocations: 67.81 kB / 417.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.2374, allocations: 2.756 MB / 420.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.2412, allocations: 2.014 MB / 422.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2426, allocations: 0.819 MB / 423.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004307/0.2469, allocations: 4.597 MB / 427.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.2501, allocations: 3.541 MB / 431.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.2517, allocations: 1.694 MB / 433.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.254, allocations: 2.332 MB / 435.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005052/0.2545, allocations: 356 kB / 435.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.2564, allocations: 1.283 MB / 437.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.2581, allocations: 2.116 MB / 439.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.26, allocations: 2.423 MB / 441.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.2661, allocations: 7.532 MB / 449.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2661, allocations: 0 / 449.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2661, allocations: 0 / 449.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.168e-05/0.2662, allocations: 0 / 449.2 MB, free: 8.938 MB / 366.1 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.008114/0.2743, allocations: 5.28 MB / 454.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2743, allocations: 12.03 kB / 454.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008099/0.2824, allocations: 2.108 MB / 456.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.287, allocations: 2.532 MB / 459.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.2872, allocations: 274.8 kB / 459.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008603/0.2881, allocations: 431.4 kB / 459.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.3073, allocations: 12.22 MB / 472 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.3075, allocations: 55.52 kB / 472.1 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/0.3079, allocations: 175.8 kB / 472.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003186/0.3111, allocations: 2.162 MB / 474.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.3303, allocations: 10.2 MB / 484.6 MB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0455/0.3758, allocations: 44.12 MB / 0.5163 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.3872, allocations: 4.598 MB / 0.5208 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.3894, allocations: 1.717 MB / 0.5225 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.4012, allocations: 8.245 MB / 0.5305 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4012, allocations: 51.88 kB / 0.5306 GB, free: 7.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 3.637e-06/0.4012, allocations: 0 / 0.5306 GB, free: 7.945 MB / 462.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] = 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem could not be translated