Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007151/0.007151, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001218/0.001218, allocations: 189.5 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3951/0.3951, allocations: 38 MB / 307.9 MB, free: 10.37 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 71.88 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3298, allocations: 56.46 MB / 489.5 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01647/0.3463, allocations: 17.37 MB / 0.495 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.3597, allocations: 5.496 MB / 0.5003 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005076/0.3648, allocations: 117.7 kB / 0.5004 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009121/0.374, allocations: 4.367 MB / 0.5047 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.3841, allocations: 2.758 MB / 0.5074 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005017/0.3891, allocations: 1.461 MB / 0.5088 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01695/0.4062, allocations: 8.161 MB / 0.5168 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008509/0.4148, allocations: 5.383 MB / 0.5221 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.4208, allocations: 2.698 MB / 0.5247 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006664/0.4275, allocations: 3.84 MB / 0.5284 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002294/0.4298, allocations: 0.5391 MB / 0.529 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.4345, allocations: 1.623 MB / 0.5305 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005337/0.4399, allocations: 3.355 MB / 0.5338 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007614/0.4475, allocations: 3.655 MB / 0.5374 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.4629, allocations: 11.24 MB / 0.5484 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4629, allocations: 0 / 0.5484 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.463, allocations: 0 / 0.5484 GB, free: 11.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000409/0.4634, allocations: 0 / 0.5484 GB, free: 11.23 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02063/0.484, allocations: 8.233 MB / 0.5564 GB, free: 2.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4841, allocations: 11.89 kB / 0.5564 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03046/0.5145, allocations: 3.677 MB / 0.56 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.5301, allocations: 5.598 MB / 0.5655 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.5305, allocations: 373.8 kB / 0.5658 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002596/0.5332, allocations: 0.5113 MB / 0.5663 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03866/0.5718, allocations: 16.25 MB / 0.5822 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/0.5722, allocations: 75.36 kB / 0.5823 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/0.5737, allocations: 235.8 kB / 0.5825 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005334/0.579, allocations: 2.923 MB / 0.5854 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0301/0.6092, allocations: 13.7 MB / 0.5987 GB, free: 6.371 MB / 478.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.3721/0.9813, allocations: 64.54 MB / 0.6618 GB, free: 83.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02628/1.008, allocations: 7.864 MB / 0.6694 GB, free: 82.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006463/1.014, allocations: 4.353 MB / 0.6737 GB, free: 80.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0332/1.047, allocations: 19.38 MB / 0.6926 GB, free: 70.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/1.047, allocations: 67.53 kB / 0.6927 GB, free: 70.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 6.212e-06/1.047, allocations: 0 / 0.6927 GB, free: 70.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=372): time 0.166/1.213, allocations: 49.9 MB / 0.7414 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/1.214, allocations: 277.4 kB / 0.7417 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009031/1.223, allocations: 6.098 MB / 0.7476 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.224, allocations: 81.7 kB / 0.7477 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/1.226, allocations: 4.672 MB / 0.7523 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001836/1.228, allocations: 1.369 MB / 0.7536 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002795/1.231, allocations: 1.916 MB / 0.7555 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/1.231, allocations: 301.1 kB / 0.7558 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/1.236, allocations: 4.224 MB / 0.7599 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00736/1.243, allocations: 9.452 MB / 0.7691 GB, free: 92 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/1.263, allocations: 14.63 MB / 0.7834 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/1.263, allocations: 52 kB / 0.7835 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04724/1.311, allocations: 17.56 MB / 0.8006 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003037/1.311, allocations: 84 kB / 0.8007 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002956/1.311, allocations: 180.2 kB / 0.8009 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/1.327, allocations: 4.543 MB / 0.8053 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008567/1.336, allocations: 2.133 MB / 0.8074 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04153/1.377, allocations: 25.39 MB / 0.8322 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008785/1.386, allocations: 0.5188 MB / 0.8327 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/1.388, allocations: 0.5351 MB / 0.8332 GB, free: 11.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1136): * Single equations (assignments): 1131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007821/1.396, allocations: 3.128 MB / 0.8363 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/1.398, allocations: 0.5669 MB / 0.8368 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02458/1.423, allocations: 10.71 MB / 0.8473 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-05/1.423, allocations: 39.91 kB / 0.8473 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-05/1.423, allocations: 16 kB / 0.8473 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.921e-05/1.423, allocations: 19.94 kB / 0.8473 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2831/1.706, allocations: 20.37 MB / 0.8672 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.706, allocations: 1.062 kB / 0.8672 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/1.709, allocations: 0.5354 MB / 0.8678 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/1.725, allocations: 4.174 MB / 0.8718 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008106/1.725, allocations: 64.09 kB / 0.8719 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03161/1.757, allocations: 23.12 MB / 0.8945 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.757, allocations: 5.312 kB / 0.8945 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02834/1.785, allocations: 15.63 MB / 0.9098 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004362/1.79, allocations: 1.181 MB / 0.9109 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/1.792, allocations: 63.19 kB / 0.911 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.795, allocations: 214.3 kB / 0.9112 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/1.796, allocations: 223.4 kB / 0.9114 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/1.796, allocations: 97.2 kB / 0.9115 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005528/1.802, allocations: 3.809 MB / 0.9152 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.2e-07/1.802, allocations: 0 / 0.9152 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01019/1.812, allocations: 1.935 MB / 0.9171 GB, free: 178.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009481/1.813, allocations: 221.4 kB / 0.9173 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.828, allocations: 10.53 MB / 0.9276 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.828, allocations: 0 / 0.9276 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005628/1.834, allocations: 4.121 MB / 0.9316 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005662/1.839, allocations: 0.7756 MB / 0.9324 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/1.866, allocations: 16.29 MB / 0.9483 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005653/1.872, allocations: 4.884 MB / 0.953 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006033/1.878, allocations: 2.785 MB / 0.9558 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.879, allocations: 376.6 kB / 0.9561 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/1.879, allocations: 0 / 0.9561 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1296/2.009, allocations: 80.25 MB / 1.034 GB, free: 59.97 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)