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.HeatLosses.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.001871/0.001871, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.002378/0.002378, allocations: 212 kB / 24.48 MB, free: 4.207 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.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.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.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.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.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") [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.00322/0.00322, allocations: 67.95 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.265, allocations: 53.31 MB / 432.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.01726/0.2823, allocations: 15.18 MB / 447.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009299/0.2916, allocations: 4.803 MB / 452.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.2928, allocations: 87.75 kB / 452.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006311/0.2991, allocations: 3.511 MB / 455.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004949/0.304, allocations: 2.408 MB / 458.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.306, allocations: 1.006 MB / 459.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007812/0.3138, allocations: 6.198 MB / 465.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/0.3179, allocations: 3.384 MB / 468.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.3206, allocations: 2.153 MB / 470.8 MB, free: 436 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.3248, allocations: 3.228 MB / 474 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008322/0.3256, allocations: 440 kB / 474.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.3281, allocations: 1.385 MB / 475.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.3308, allocations: 2.773 MB / 478.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00322/0.334, allocations: 3.083 MB / 481.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3442, allocations: 9.354 MB / 491.1 MB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3442, allocations: 3.984 kB / 491.1 MB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3442, allocations: 3.938 kB / 491.1 MB, free: 12.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.3443, allocations: 0 / 491.1 MB, free: 12.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.01328/0.3576, allocations: 6.995 MB / 498.1 MB, free: 5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3576, allocations: 12.03 kB / 498.1 MB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.3697, allocations: 2.832 MB / 0.4892 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00782/0.3775, allocations: 3.188 MB / 0.4923 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.3778, allocations: 348.7 kB / 0.4926 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.3797, allocations: 0.675 MB / 0.4933 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03668/0.4164, allocations: 17.48 MB / 0.5103 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.4165, allocations: 55.52 kB / 0.5104 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006328/0.4171, allocations: 219.8 kB / 0.5106 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004778/0.4219, allocations: 2.843 MB / 0.5134 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03654/0.4585, allocations: 15.34 MB / 0.5284 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2377/0.6962, allocations: 58.77 MB / 0.5858 GB, free: 54.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/0.7121, allocations: 7.011 MB / 0.5926 GB, free: 49.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.7153, allocations: 3.125 MB / 0.5957 GB, free: 46.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01766/0.733, allocations: 14.56 MB / 0.6099 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.733, allocations: 64.5 kB / 0.6099 GB, free: 31.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 6.122e-06/0.733, allocations: 0 / 0.6099 GB, free: 31.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.0598/0.7928, allocations: 25.34 MB / 0.6347 GB, free: 5.879 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.7929, allocations: 162.5 kB / 0.6348 GB, free: 5.688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.7982, allocations: 5.102 MB / 0.6398 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005436/0.7987, allocations: 72.05 kB / 0.6399 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003214/0.802, allocations: 4.346 MB / 0.6441 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001551/0.8035, allocations: 1.229 MB / 0.6453 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002529/0.806, allocations: 1.739 MB / 0.647 GB, free: 9.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8062, allocations: 301.1 kB / 0.6473 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005851/0.812, allocations: 3.386 MB / 0.6506 GB, free: 5.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/0.8221, allocations: 8.353 MB / 0.6588 GB, free: 11.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/0.8396, allocations: 12.58 MB / 0.6711 GB, free: 11.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.8397, allocations: 52 kB / 0.6711 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=1145) (initialization): time 0.04941/0.8892, allocations: 16.67 MB / 0.6874 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.8893, allocations: 80 kB / 0.6875 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03356/0.9228, allocations: 9.298 MB / 0.6965 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03227/0.9551, allocations: 6.429 MB / 0.7028 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006968/0.9621, allocations: 2.039 MB / 0.7048 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02995/0.992, allocations: 19.36 MB / 0.7237 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/0.9987, allocations: 0.5501 MB / 0.7243 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/0.9999, allocations: 0.5078 MB / 0.7248 GB, free: 3.938 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1076 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004685/1.005, allocations: 2.712 MB / 0.7274 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009804/1.006, allocations: 0.4889 MB / 0.7279 GB, free: 0.7188 MB / 0.5294 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 255 equation(s) and 244 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004921/1.011, allocations: 2.616 MB / 0.7304 GB, free: 14.08 MB / 0.545 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1695515918545425] Failed to read output from testmodel.py, exit status != 0: ['time', '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.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]', 'body3.frame_a.r_0[1]', 'body3.frame_a.r_0[2]', 'body3.frame_a.r_0[3]', 'body3.v_0[1]', 'body3.v_0[2]', 'body3.v_0[3]', 'body3.w_a[1]', 'body3.w_a[2]', 'body3.w_a[3]', 'springDamperSeries.s_damper'] 1.021558079868555 1.033376379 0.6859742980000001 Calling exit ...