Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 110.4 kB / 21.2 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 217.6 kB / 24.5 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2583/0.2583, allocations: 46.97 MB / 361.6 MB, free: 4.023 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|Spherical1.phi.1.|Spherical1.phi.2.|Spherical1.phi.3.|Spherical1.phi_d.1.|Spherical1.phi_d.2.|Spherical1.phi_d.3.|Spherical2.phi.1.|Spherical2.phi.2.|Spherical2.phi.3.|Spherical2.phi_d.1.|Spherical2.phi_d.2.|Spherical2.phi_d.3.|Spherical3.Q.1.|Spherical3.Q.2.|Spherical3.Q.3.|Spherical3.Q.4.|Spherical3.w_rel.1.|Spherical3.w_rel.2.|Spherical3.w_rel.3.|Spherical4.Q.1.|Spherical4.Q.2.|Spherical4.Q.3.|Spherical4.Q.4.|Spherical4.w_rel.1.|Spherical4.w_rel.2.|Spherical4.w_rel.3.|boxBody5.body.Q.1.|boxBody5.body.Q.2.|boxBody5.body.Q.3.|boxBody5.body.Q.4.|boxBody5.body.w_a.1.|boxBody5.body.w_a.2.|boxBody5.body.w_a.3.|boxBody6.body.Q.1.|boxBody6.body.Q.2.|boxBody6.body.Q.3.|boxBody6.body.Q.4.|boxBody6.body.w_a.1.|boxBody6.body.w_a.2.|boxBody6.body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.SphericalDoublePendulum") translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|Spherical1.phi.1.|Spherical1.phi.2.|Spherical1.phi.3.|Spherical1.phi_d.1.|Spherical1.phi_d.2.|Spherical1.phi_d.3.|Spherical2.phi.1.|Spherical2.phi.2.|Spherical2.phi.3.|Spherical2.phi_d.1.|Spherical2.phi_d.2.|Spherical2.phi_d.3.|Spherical3.Q.1.|Spherical3.Q.2.|Spherical3.Q.3.|Spherical3.Q.4.|Spherical3.w_rel.1.|Spherical3.w_rel.2.|Spherical3.w_rel.3.|Spherical4.Q.1.|Spherical4.Q.2.|Spherical4.Q.3.|Spherical4.Q.4.|Spherical4.w_rel.1.|Spherical4.w_rel.2.|Spherical4.w_rel.3.|boxBody5.body.Q.1.|boxBody5.body.Q.2.|boxBody5.body.Q.3.|boxBody5.body.Q.4.|boxBody5.body.w_a.1.|boxBody5.body.w_a.2.|boxBody5.body.w_a.3.|boxBody6.body.Q.1.|boxBody6.body.Q.2.|boxBody6.body.Q.3.|boxBody6.body.Q.4.|boxBody6.body.w_a.1.|boxBody6.body.w_a.2.|boxBody6.body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.SphericalDoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.0198/0.3832, allocations: 16.25 MB / 0.5777 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3976, allocations: 6.182 MB / 0.5837 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.4018, allocations: 202.8 kB / 0.5839 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.4136, allocations: 5.705 MB / 0.5895 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00995/0.4236, allocations: 3.666 MB / 0.5931 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.4278, allocations: 1.81 MB / 0.5948 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02231/0.4501, allocations: 15.99 MB / 0.6104 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008998/0.4591, allocations: 5.827 MB / 0.6161 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007795/0.4669, allocations: 3.634 MB / 0.6197 GB, free: 8.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00932/0.4762, allocations: 5.289 MB / 0.6248 GB, free: 3.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002753/0.479, allocations: 0.6953 MB / 0.6255 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005608/0.4846, allocations: 2.083 MB / 0.6276 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0067/0.4913, allocations: 4.765 MB / 0.6322 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006684/0.4979, allocations: 3.597 MB / 0.6357 GB, free: 8.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.5181, allocations: 14.59 MB / 0.65 GB, free: 9.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.5181, allocations: 7.984 kB / 0.65 GB, free: 9.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5181, allocations: 0 / 0.65 GB, free: 9.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005331/0.5186, allocations: 3.938 kB / 0.65 GB, free: 9.52 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2557 * Number of variables: 2557 Notification: Performance of Generate backend data structure: time 0.03823/0.5568, allocations: 11.62 MB / 0.6613 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.5569, allocations: 8.031 kB / 0.6613 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08494/0.6418, allocations: 12.87 MB / 0.6739 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02687/0.6687, allocations: 9.518 MB / 0.6832 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/0.6692, allocations: 443.8 kB / 0.6836 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004065/0.6732, allocations: 0.9636 MB / 0.6846 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0419/0.7151, allocations: 19.55 MB / 0.7037 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003943/0.7155, allocations: 123.1 kB / 0.7038 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.7166, allocations: 283.7 kB / 0.704 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.7209, allocations: 2.912 MB / 0.7069 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/0.7589, allocations: 17.07 MB / 0.7236 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6016/1.361, allocations: 74.19 MB / 0.796 GB, free: 90.36 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/1.382, allocations: 8.7 MB / 0.8045 GB, free: 81.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005663/1.388, allocations: 5.178 MB / 0.8096 GB, free: 76.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/1.389, allocations: 329.5 kB / 0.8099 GB, free: 76.18 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.389, allocations: 76.59 kB / 0.8099 GB, free: 76.09 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=322): time 6.462e-06/1.389, allocations: 0 / 0.8099 GB, free: 76.09 MB / 0.5607 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = Spherical4.Q[1] ^ 2.0 + Spherical4.Q[2] ^ 2.0 + Spherical4.Q[3] ^ 2.0 + Spherical4.Q[4] ^ 2.0 - 1.0 [/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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.SphericalDoublePendulum could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.386008852001396] Failed to read output from testmodel.py, exit status != 0: ['time', 'Spherical1.phi[1]', 'Spherical1.phi[2]', 'Spherical1.phi[3]', 'Spherical1.phi_d[1]', 'Spherical1.phi_d[2]', 'Spherical1.phi_d[3]', 'Spherical2.phi[1]', 'Spherical2.phi[2]', 'Spherical2.phi[3]', 'Spherical2.phi_d[1]', 'Spherical2.phi_d[2]', 'Spherical2.phi_d[3]', 'Spherical3.Q[1]', 'Spherical3.Q[2]', 'Spherical3.Q[3]', 'Spherical3.Q[4]', 'Spherical3.w_rel[1]', 'Spherical3.w_rel[2]', 'Spherical3.w_rel[3]', 'Spherical4.Q[1]', 'Spherical4.Q[2]', 'Spherical4.Q[3]', 'Spherical4.Q[4]', 'Spherical4.w_rel[1]', 'Spherical4.w_rel[2]', 'Spherical4.w_rel[3]', 'boxBody5.body.Q[1]', 'boxBody5.body.Q[2]', 'boxBody5.body.Q[3]', 'boxBody5.body.Q[4]', 'boxBody5.body.w_a[1]', 'boxBody5.body.w_a[2]', 'boxBody5.body.w_a[3]', 'boxBody6.body.Q[1]', 'boxBody6.body.Q[2]', 'boxBody6.body.Q[3]', 'boxBody6.body.Q[4]', 'boxBody6.body.w_a[1]', 'boxBody6.body.w_a[2]', 'boxBody6.body.w_a[3]'] 1.591367002001789 1.602212902 1.080613498 Calling exit ...