Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.1 MB / 187.3 MB, free: 1.148 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1012, allocations: 38.77 MB / 272.6 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2957/0.397, allocations: 38.29 MB / 310.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.4281, allocations: 9.324 MB / 320.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/0.4386, allocations: 187.4 kB / 320.4 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007258/0.4459, allocations: 1.924 MB / 322.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02209/0.4681, allocations: 5.518 MB / 327.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.472, allocations: 0.6863 MB / 328.5 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006386/0.4784, allocations: 2.652 MB / 331.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00914/0.4876, allocations: 4.458 MB / 335.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.4909, allocations: 1.137 MB / 336.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.4942, allocations: 1.538 MB / 338.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009908/0.4952, allocations: 156 kB / 338.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.4987, allocations: 0.9479 MB / 339.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003192/0.502, allocations: 1.683 MB / 341.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.5036, allocations: 0.8699 MB / 341.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009975/0.5136, allocations: 5.639 MB / 347.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5137, allocations: 0 / 347.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.5137, allocations: 0 / 347.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.5139, allocations: 0 / 347.6 MB, free: 2.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.0138/0.5277, allocations: 4.329 MB / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5278, allocations: 8.031 kB / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.5441, allocations: 2.486 MB / 354.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008066/0.5522, allocations: 2.86 MB / 357.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.5525, allocations: 266.6 kB / 357.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.5545, allocations: 423.5 kB / 357.9 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03678/0.5913, allocations: 12.11 MB / 370 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.5915, allocations: 47.53 kB / 370.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008192/0.5924, allocations: 171.8 kB / 370.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00578/0.5982, allocations: 2.119 MB / 372.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03646/0.6347, allocations: 10.11 MB / 382.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08338/0.7181, allocations: 44.31 MB / 426.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04597/0.7641, allocations: 6.683 MB / 433.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/0.7854, allocations: 8.419 MB / 441.9 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.7855, allocations: 55.56 kB / 442 MB, free: 1.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 6.271e-06/0.7855, allocations: 0 / 442 MB, free: 1.289 MB / 362.7 MB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed