Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.SphericalDoublePendulum") translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 105.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 184.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.88 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3923, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.01917/0.4115, allocations: 18.88 MB / 0.538 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4275, allocations: 6.378 MB / 0.5442 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005521/0.433, allocations: 166.1 kB / 0.5444 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.4449, allocations: 5.869 MB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.456, allocations: 3.684 MB / 0.5537 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.4606, allocations: 1.802 MB / 0.5555 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02065/0.4813, allocations: 15.28 MB / 0.5704 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.4931, allocations: 7.575 MB / 0.5778 GB, free: 228 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007899/0.501, allocations: 3.587 MB / 0.5813 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008423/0.5095, allocations: 4.876 MB / 0.5861 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.5126, allocations: 0.6992 MB / 0.5867 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00602/0.5186, allocations: 2.169 MB / 0.5889 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006644/0.5253, allocations: 4.731 MB / 0.5935 GB, free: 124 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01021/0.5355, allocations: 4.751 MB / 0.5981 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02227/0.5578, allocations: 14.5 MB / 0.6123 GB, free: 12.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.5579, allocations: 0 / 0.6123 GB, free: 12.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5579, allocations: 4 kB / 0.6123 GB, free: 12.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006721/0.5586, allocations: 4 kB / 0.6123 GB, free: 12.78 MB / 478.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.03716/0.5958, allocations: 11.23 MB / 0.6233 GB, free: 1.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5958, allocations: 8.031 kB / 0.6233 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08961/0.6855, allocations: 11.78 MB / 0.6348 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/0.7155, allocations: 9.937 MB / 0.6445 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005455/0.7161, allocations: 443.8 kB / 0.6449 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005453/0.7216, allocations: 0.9554 MB / 0.6458 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04507/0.7667, allocations: 19.26 MB / 0.6646 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006225/0.7674, allocations: 107 kB / 0.6647 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003451/0.7708, allocations: 283.8 kB / 0.665 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005044/0.7759, allocations: 2.916 MB / 0.6678 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04167/0.8176, allocations: 17.14 MB / 0.6846 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6563/1.474, allocations: 79.57 MB / 0.7623 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02552/1.5, allocations: 9.435 MB / 0.7715 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008179/1.508, allocations: 5.451 MB / 0.7768 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.509, allocations: 1.002 MB / 0.7778 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/1.509, allocations: 76.38 kB / 0.7779 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=322): time 7.504e-06/1.509, allocations: 0 / 0.7779 GB, free: 103.6 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.SphericalDoublePendulum could not be translated