Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Spring2.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.2 MB / 225.4 MB, free: 0.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004496, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4055, allocations: 48.71 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.06857/0.4741, allocations: 41.49 MB / 373.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03343/0.5076, allocations: 10.07 MB / 383.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.5197, allocations: 203.5 kB / 383.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009654/0.5294, allocations: 2.084 MB / 385.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02798/0.5575, allocations: 6.012 MB / 391.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005164/0.5627, allocations: 0.7956 MB / 392.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008857/0.5716, allocations: 3.082 MB / 395.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.5824, allocations: 4.649 MB / 400.2 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.5861, allocations: 1.238 MB / 401.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.5906, allocations: 1.752 MB / 403.2 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5919, allocations: 168 kB / 403.4 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.5952, allocations: 0.8894 MB / 404.2 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003142/0.5983, allocations: 1.847 MB / 406.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.6003, allocations: 0.9323 MB / 407 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.6118, allocations: 5.974 MB / 413 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6118, allocations: 0 / 413 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.733e-06/0.6119, allocations: 0 / 413 MB, free: 13.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003327/0.6122, allocations: 3.938 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.01955/0.6318, allocations: 4.884 MB / 417.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.6319, allocations: 12.03 kB / 417.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/0.6512, allocations: 2.603 MB / 420.5 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.662, allocations: 3.426 MB / 423.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.6625, allocations: 278.8 kB / 424.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004039/0.6665, allocations: 0.5852 MB / 424.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03776/0.7043, allocations: 11.87 MB / 436.7 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002439/0.7047, allocations: 63.52 kB / 436.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.7058, allocations: 171.8 kB / 436.9 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006039/0.7118, allocations: 2.08 MB / 439 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03811/0.75, allocations: 10.57 MB / 449.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4564/1.206, allocations: 46.9 MB / 496.4 MB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02572/1.232, allocations: 5.082 MB / 0.4898 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03281/1.265, allocations: 11.18 MB / 0.5007 GB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.745e-05/1.265, allocations: 59.59 kB / 0.5008 GB, free: 95.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 8.245e-06/1.265, allocations: 0 / 0.5008 GB, free: 95.75 MB / 410.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] = 2.0 [/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