Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.00164/0.00164, allocations: 113.1 kB / 21.86 MB, free: 88 kB / 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.001936/0.001936, allocations: 208.6 kB / 25.14 MB, free: 3.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.4 MB / 258.7 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3338,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3338,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002035/0.002035, allocations: 64.98 kB / 379.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2187, allocations: 53.37 MB / 432.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02009/0.2388, allocations: 18.32 MB / 451.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.2493, allocations: 5.587 MB / 456.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.2514, allocations: 171.1 kB / 456.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009756/0.2611, allocations: 5.494 MB / 462.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.2684, allocations: 3.358 MB / 465.7 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.2714, allocations: 1.623 MB / 467.3 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.2852, allocations: 10.46 MB / 477.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006194/0.2914, allocations: 4.82 MB / 482.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/0.2961, allocations: 3.451 MB / 486.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006639/0.3027, allocations: 4.899 MB / 491 MB, free: 12.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.304, allocations: 0.668 MB / 491.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.3067, allocations: 1.432 MB / 493.1 MB, free: 10.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004115/0.3108, allocations: 4.293 MB / 497.3 MB, free: 6.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004812/0.3156, allocations: 4.506 MB / 0.4901 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.3313, allocations: 14.72 MB / 0.5045 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3313, allocations: 0 / 0.5045 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3313, allocations: 3.938 kB / 0.5045 GB, free: 2.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.3316, allocations: 3.938 kB / 0.5045 GB, free: 2.891 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2860 * Number of variables: 2860 Notification: Performance of Generate backend data structure: time 0.01706/0.3486, allocations: 9.771 MB / 0.514 GB, free: 9.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.3487, allocations: 8.031 kB / 0.514 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.3656, allocations: 3.443 MB / 0.5174 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.3784, allocations: 6.087 MB / 0.5233 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.3787, allocations: 451.4 kB / 0.5238 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001712/0.3804, allocations: 0.7921 MB / 0.5245 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3831/0.7635, allocations: 22.74 MB / 0.5467 GB, free: 84.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002409/0.7638, allocations: 116.1 kB / 0.5469 GB, free: 84.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006208/0.7644, allocations: 297.1 kB / 0.5471 GB, free: 84.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004332/0.7687, allocations: 3.863 MB / 0.5509 GB, free: 83.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04216/0.8109, allocations: 22.11 MB / 0.5725 GB, free: 68.94 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0843/0.8952, allocations: 93.1 MB / 0.6634 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06144/0.9566, allocations: 13.46 MB / 0.6766 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01035/0.967, allocations: 7.521 MB / 0.6839 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.9673, allocations: 149.7 kB / 0.684 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.9674, allocations: 64.5 kB / 0.6841 GB, free: 1.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=275): time 5.25e-06/0.9674, allocations: 4 kB / 0.6841 GB, free: 1.422 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: fixedTranslation5.frame_b.R.T[2,1] = 2.0 * (freeMotion.Q[2] * freeMotion.Q[1] - freeMotion.Q[3] * freeMotion.Q[4]) [/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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.5978998211212456] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'referenceSystem.pointMass1.w_a[1]', 'referenceSystem.pointMass1.w_a[2]', 'referenceSystem.pointMass1.w_a[3]', 'referenceSystem.pointMass3.v_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[2]', 'referenceSystem.pointMass6.frame_a.r_0[3]', 'referenceSystem.pointMass6.v_0[2]', 'referenceSystem.pointMass6.v_0[3]'] 1.4712514290586114 1.480277183 1.146624585 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f29df139810>