Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2203/0.2203, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 83.86 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3126, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01425/0.3269, allocations: 12.53 MB / 0.5734 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009222/0.3361, allocations: 4.394 MB / 0.5777 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.3378, allocations: 75.75 kB / 0.5778 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005574/0.3433, allocations: 2.935 MB / 0.5807 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.3485, allocations: 2.117 MB / 0.5827 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.3504, allocations: 0.9243 MB / 0.5836 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007438/0.3578, allocations: 5.591 MB / 0.5891 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003837/0.3617, allocations: 2.924 MB / 0.592 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.3644, allocations: 1.826 MB / 0.5937 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.3686, allocations: 2.8 MB / 0.5965 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.3694, allocations: 384 kB / 0.5968 GB, free: 364 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.3717, allocations: 1.256 MB / 0.5981 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002265/0.3739, allocations: 2.333 MB / 0.6004 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.3766, allocations: 2.594 MB / 0.6029 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.3855, allocations: 7.941 MB / 0.6106 GB, free: 2.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3855, allocations: 4 kB / 0.6106 GB, free: 2.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3855, allocations: 0 / 0.6106 GB, free: 2.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000204/0.3857, allocations: 0 / 0.6106 GB, free: 2.172 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01277/0.3985, allocations: 5.98 MB / 0.6165 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3985, allocations: 8.031 kB / 0.6165 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.4092, allocations: 2.49 MB / 0.6189 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/0.4159, allocations: 2.782 MB / 0.6216 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.4162, allocations: 295.5 kB / 0.6219 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.4184, allocations: 0.597 MB / 0.6225 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.4429, allocations: 12.15 MB / 0.6344 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/0.443, allocations: 59.56 kB / 0.6344 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005933/0.4436, allocations: 175.8 kB / 0.6346 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003486/0.4471, allocations: 2.135 MB / 0.6367 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02279/0.4699, allocations: 10.79 MB / 0.6472 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06799/0.5379, allocations: 47.68 MB / 0.6938 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/0.5538, allocations: 5.293 MB / 0.699 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.5577, allocations: 2.413 MB / 0.7013 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02107/0.5788, allocations: 12.41 MB / 0.7134 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.5788, allocations: 63.81 kB / 0.7135 GB, free: 5.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=219): time 4.929e-06/0.5788, allocations: 0 / 0.7135 GB, free: 5.891 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Forces.Spring2 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.371748104225844] Failed to read output from testmodel.py, exit status != 0: ['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]'] 0.8928107009269297 0.902082488 0.5143343960000001 Calling exit ...