Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.001883/0.001883, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002287/0.002287, allocations: 219.5 kB / 24.49 MB, free: 3.93 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+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(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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2134, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.01957/0.233, allocations: 15.84 MB / 448.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.244, allocations: 5.389 MB / 453.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.2455, allocations: 171.1 kB / 453.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.2556, allocations: 5.268 MB / 459 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007543/0.2631, allocations: 3.373 MB / 462.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.2662, allocations: 1.623 MB / 464 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.2793, allocations: 10.46 MB / 474.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006906/0.2862, allocations: 5.256 MB / 479.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.2917, allocations: 3.447 MB / 483.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007017/0.2987, allocations: 4.903 MB / 488.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.3002, allocations: 0.6719 MB / 488.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.3032, allocations: 1.428 MB / 490.2 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004253/0.3074, allocations: 4.293 MB / 494.5 MB, free: 8.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.3114, allocations: 3.348 MB / 497.8 MB, free: 4.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.3274, allocations: 14.83 MB / 0.5006 GB, free: 6.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3274, allocations: 0 / 0.5006 GB, free: 6.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.3274, allocations: 7.922 kB / 0.5007 GB, free: 6.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002348/0.3276, allocations: 4 kB / 0.5007 GB, free: 6.074 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.01884/0.3464, allocations: 9.769 MB / 0.5102 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3465, allocations: 8.031 kB / 0.5102 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.3644, allocations: 3.443 MB / 0.5136 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.379, allocations: 6.126 MB / 0.5195 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.3794, allocations: 443.5 kB / 0.52 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.3815, allocations: 0.7921 MB / 0.5207 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3825/0.764, allocations: 22.75 MB / 0.543 GB, free: 87.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/0.7643, allocations: 111 kB / 0.5431 GB, free: 87.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006928/0.765, allocations: 291.1 kB / 0.5433 GB, free: 87.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004858/0.7698, allocations: 3.868 MB / 0.5471 GB, free: 86.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04425/0.8141, allocations: 22.06 MB / 0.5687 GB, free: 71.54 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.08863/0.9027, allocations: 89.12 MB / 0.6557 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06423/0.9669, allocations: 13.47 MB / 0.6688 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/0.9771, allocations: 7.515 MB / 0.6762 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.9775, allocations: 137.7 kB / 0.6763 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.9776, allocations: 64.69 kB / 0.6764 GB, free: 8.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=275): time 5.801e-06/0.9776, allocations: 0 / 0.6764 GB, free: 8.133 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:8018:5-8018: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.6077309789980063] 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.4998773650004296 1.509324895 1.1795720189999999 Calling exit ...