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.008974/0.008974, allocations: 98.36 kB / 15.73 MB, free: 6.047 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.001517/0.001517, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3565/0.3565, allocations: 38 MB / 307.9 MB, free: 9.996 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.001765/0.001765, allocations: 67.91 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3528, allocations: 56.45 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01742/0.3702, allocations: 17.38 MB / 0.495 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.3853, allocations: 5.493 MB / 0.5003 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006038/0.3914, allocations: 118.1 kB / 0.5004 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009347/0.4008, allocations: 4.365 MB / 0.5047 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008899/0.4097, allocations: 2.759 MB / 0.5074 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.4141, allocations: 1.468 MB / 0.5088 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.015/0.4291, allocations: 8.154 MB / 0.5168 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008929/0.4381, allocations: 5.38 MB / 0.5221 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006235/0.4443, allocations: 2.679 MB / 0.5247 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006632/0.451, allocations: 3.863 MB / 0.5284 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.4531, allocations: 0.5391 MB / 0.529 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.4584, allocations: 1.623 MB / 0.5306 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005312/0.4638, allocations: 3.413 MB / 0.5339 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007291/0.4711, allocations: 3.659 MB / 0.5375 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.4859, allocations: 11.23 MB / 0.5484 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4859, allocations: 3.984 kB / 0.5484 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4859, allocations: 0 / 0.5484 GB, free: 11.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002931/0.4862, allocations: 0 / 0.5484 GB, free: 11.19 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.01845/0.5047, allocations: 8.221 MB / 0.5565 GB, free: 2.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5047, allocations: 15.89 kB / 0.5565 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02933/0.5341, allocations: 3.677 MB / 0.5601 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.5499, allocations: 5.598 MB / 0.5655 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/0.5503, allocations: 373.8 kB / 0.5659 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.5527, allocations: 0.5152 MB / 0.5664 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03412/0.5869, allocations: 16.24 MB / 0.5822 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/0.5871, allocations: 83.3 kB / 0.5823 GB, free: 7.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007402/0.5879, allocations: 235.8 kB / 0.5826 GB, free: 7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004926/0.5928, allocations: 2.93 MB / 0.5854 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03048/0.6233, allocations: 13.69 MB / 0.5988 GB, free: 6.348 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.3552/0.9786, allocations: 64.54 MB / 0.6618 GB, free: 85.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02416/1.003, allocations: 7.864 MB / 0.6695 GB, free: 83.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006636/1.009, allocations: 4.348 MB / 0.6737 GB, free: 81.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03188/1.041, allocations: 19.39 MB / 0.6927 GB, free: 71.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/1.041, allocations: 68.91 kB / 0.6927 GB, free: 71.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 6.301e-06/1.041, allocations: 0 / 0.6927 GB, free: 71.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=372): time 0.1575/1.199, allocations: 49.91 MB / 0.7415 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/1.199, allocations: 265.8 kB / 0.7417 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00723/1.206, allocations: 6.091 MB / 0.7477 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008016/1.207, allocations: 85.7 kB / 0.7478 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002264/1.209, allocations: 4.671 MB / 0.7523 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/1.211, allocations: 1.37 MB / 0.7537 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002443/1.213, allocations: 1.92 MB / 0.7555 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/1.214, allocations: 305.1 kB / 0.7558 GB, free: 18.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/1.219, allocations: 4.22 MB / 0.7599 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007101/1.226, allocations: 9.456 MB / 0.7692 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/1.244, allocations: 14.64 MB / 0.7835 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001459/1.245, allocations: 52 kB / 0.7835 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04161/1.286, allocations: 17.55 MB / 0.8007 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.286, allocations: 84.06 kB / 0.8007 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002714/1.287, allocations: 188 kB / 0.8009 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01555/1.302, allocations: 4.551 MB / 0.8054 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008455/1.311, allocations: 2.129 MB / 0.8074 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03889/1.35, allocations: 25.38 MB / 0.8322 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008304/1.358, allocations: 0.5188 MB / 0.8327 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.36, allocations: 0.5467 MB / 0.8333 GB, free: 13.39 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.007302/1.367, allocations: 3.117 MB / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/1.369, allocations: 0.5669 MB / 0.8369 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02395/1.393, allocations: 10.71 MB / 0.8473 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/1.393, allocations: 44 kB / 0.8474 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-05/1.393, allocations: 16 kB / 0.8474 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.91e-05/1.393, allocations: 19.94 kB / 0.8474 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3404/1.734, allocations: 20.38 MB / 0.8673 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/1.734, allocations: 0.9062 kB / 0.8673 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/1.737, allocations: 0.5315 MB / 0.8678 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/1.752, allocations: 4.176 MB / 0.8719 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001244/1.753, allocations: 69.09 kB / 0.872 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03326/1.787, allocations: 23.12 MB / 0.8945 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.787, allocations: 7.078 kB / 0.8945 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02717/1.814, allocations: 15.63 MB / 0.9098 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004518/1.818, allocations: 1.179 MB / 0.911 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/1.82, allocations: 63.39 kB / 0.911 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.823, allocations: 213.1 kB / 0.9112 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000912/1.824, allocations: 226.3 kB / 0.9114 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/1.824, allocations: 100.5 kB / 0.9115 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006289/1.831, allocations: 3.811 MB / 0.9153 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.831, allocations: 0 / 0.9153 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01147/1.842, allocations: 1.927 MB / 0.9171 GB, free: 180.4 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.0008457/1.843, allocations: 217.6 kB / 0.9174 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.858, allocations: 10.52 MB / 0.9276 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.858, allocations: 0 / 0.9276 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005096/1.863, allocations: 4.129 MB / 0.9317 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/1.867, allocations: 0.778 MB / 0.9324 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.89, allocations: 16.29 MB / 0.9483 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005426/1.896, allocations: 4.883 MB / 0.9531 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00598/1.902, allocations: 2.789 MB / 0.9558 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.903, allocations: 376.8 kB / 0.9562 GB, free: 143.6 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/1.903, allocations: 0 / 0.9562 GB, free: 143.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1202/2.023, allocations: 80.99 MB / 1.035 GB, free: 62.73 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)