Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Spring2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.737/2.737, allocations: 234.9 MB / 251.1 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007073/0.0007076, allocations: 12 kB / 315 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4148, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.0707/0.4856, allocations: 41.52 MB / 411.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03643/0.5221, allocations: 10.07 MB / 421.4 MB, free: 7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01246/0.5347, allocations: 203.5 kB / 421.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009889/0.5446, allocations: 2.088 MB / 423.7 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02932/0.574, allocations: 6.016 MB / 429.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.5798, allocations: 0.7723 MB / 430.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00972/0.5896, allocations: 3.085 MB / 433.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.6017, allocations: 4.645 MB / 438.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.606, allocations: 1.246 MB / 439.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.6111, allocations: 1.741 MB / 441.2 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.613, allocations: 168 kB / 441.4 MB, free: 2.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.6175, allocations: 0.9129 MB / 442.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004364/0.622, allocations: 1.839 MB / 444.1 MB, free: 184 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.6249, allocations: 0.9284 MB / 445 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.6376, allocations: 5.99 MB / 451 MB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6377, allocations: 0 / 451 MB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.6377, allocations: 0 / 451 MB, free: 9.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003815/0.6381, allocations: 0 / 451 MB, free: 9.238 MB / 378.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.02118/0.6593, allocations: 4.884 MB / 455.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.6594, allocations: 8.031 kB / 455.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/0.6802, allocations: 2.677 MB / 458.6 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.6922, allocations: 3.454 MB / 462.1 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005575/0.6929, allocations: 274.8 kB / 462.3 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004581/0.6975, allocations: 0.5852 MB / 462.9 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0433/0.7409, allocations: 11.89 MB / 474.8 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003427/0.7413, allocations: 55.52 kB / 474.8 MB, free: 480 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002415/0.7437, allocations: 171.8 kB / 475 MB, free: 308 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3745/1.118, allocations: 2.077 MB / 477.1 MB, free: 89.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04004/1.158, allocations: 10.57 MB / 487.7 MB, free: 86.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09935/1.258, allocations: 46.98 MB / 0.5221 GB, free: 39.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02509/1.283, allocations: 5.083 MB / 0.5271 GB, free: 34.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03303/1.316, allocations: 11.23 MB / 0.538 GB, free: 22.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/1.316, allocations: 59.81 kB / 0.5381 GB, free: 22.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 7.915e-06/1.316, allocations: 0 / 0.5381 GB, free: 22.84 MB / 394.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