Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 113.7 kB / 16.63 MB, free: 6.34 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.001209/0.001209, allocations: 188 kB / 17.55 MB, free: 5.801 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.375/1.375, allocations: 205.1 MB / 223.4 MB, free: 12.47 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 47.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08982, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2597/0.3495, allocations: 73.22 MB / 399.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03486/0.3844, allocations: 14.59 MB / 414 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01705/0.4016, allocations: 322.3 kB / 414.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007493/0.4091, allocations: 4.21 MB / 418.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00773/0.4169, allocations: 2.573 MB / 421.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.4202, allocations: 1.376 MB / 422.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.4325, allocations: 8.381 MB / 430.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009639/0.4421, allocations: 5.672 MB / 436.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005861/0.448, allocations: 2.756 MB / 439.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007053/0.4551, allocations: 4.273 MB / 443.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.4575, allocations: 0.5391 MB / 444 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.4619, allocations: 1.633 MB / 445.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005701/0.4676, allocations: 3.399 MB / 449.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008002/0.4757, allocations: 3.699 MB / 452.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.4918, allocations: 10.96 MB / 463.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4918, allocations: 0 / 463.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4918, allocations: 0 / 463.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004173/0.4922, allocations: 0 / 463.7 MB, free: 10.21 MB / 366.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.02465/0.5169, allocations: 8.231 MB / 472 MB, free: 2.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.517, allocations: 12.03 kB / 472 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02943/0.5464, allocations: 3.68 MB / 475.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.56, allocations: 5.489 MB / 481.2 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/0.5605, allocations: 378 kB / 481.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/0.563, allocations: 0.5136 MB / 482 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03489/0.5979, allocations: 16.23 MB / 498.3 MB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003814/0.5983, allocations: 83.2 kB / 498.3 MB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/0.6001, allocations: 238 kB / 498.6 MB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005044/0.6052, allocations: 2.925 MB / 0.4898 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.6352, allocations: 13.71 MB / 0.5031 GB, free: 6.02 MB / 414.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.265/0.9003, allocations: 64.84 MB / 0.5665 GB, free: 123.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/0.9208, allocations: 7.866 MB / 0.5741 GB, free: 121.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/0.9257, allocations: 4.344 MB / 0.5784 GB, free: 119.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02253/0.9482, allocations: 19.37 MB / 0.5973 GB, free: 108.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9483, allocations: 68.17 kB / 0.5974 GB, free: 108.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 5.14e-06/0.9483, allocations: 3.469 kB / 0.5974 GB, free: 108.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1537/1.102, allocations: 49.9 MB / 0.6461 GB, free: 60.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/1.102, allocations: 273.3 kB / 0.6464 GB, free: 60.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009307/1.111, allocations: 6.094 MB / 0.6523 GB, free: 54.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008794/1.112, allocations: 81.7 kB / 0.6524 GB, free: 53.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/1.115, allocations: 4.675 MB / 0.657 GB, free: 49.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.117, allocations: 1.374 MB / 0.6583 GB, free: 47.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004394/1.121, allocations: 1.912 MB / 0.6602 GB, free: 46.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/1.121, allocations: 305.1 kB / 0.6605 GB, free: 45.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005359/1.127, allocations: 4.224 MB / 0.6646 GB, free: 41.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007825/1.134, allocations: 9.457 MB / 0.6738 GB, free: 29.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/1.148, allocations: 14.63 MB / 0.6881 GB, free: 12.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001706/1.149, allocations: 52 kB / 0.6882 GB, free: 12.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03642/1.185, allocations: 17.55 MB / 0.7053 GB, free: 10.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/1.185, allocations: 84 kB / 0.7054 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003076/1.186, allocations: 180 kB / 0.7056 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/1.201, allocations: 4.562 MB / 0.71 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00747/1.208, allocations: 2.129 MB / 0.7121 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2431/1.451, allocations: 25.38 MB / 0.7369 GB, free: 149.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008686/1.46, allocations: 0.5251 MB / 0.7374 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/1.462, allocations: 0.545 MB / 0.7379 GB, free: 149.7 MB / 462.1 MB 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.006205/1.468, allocations: 3.124 MB / 0.741 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.47, allocations: 0.5696 MB / 0.7415 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/1.49, allocations: 10.7 MB / 0.752 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-05/1.49, allocations: 42.7 kB / 0.752 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.456e-05/1.491, allocations: 19.69 kB / 0.752 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/1.491, allocations: 17.36 kB / 0.752 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/1.529, allocations: 20.53 MB / 0.7721 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/1.529, allocations: 0 / 0.7721 GB, free: 129.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.532, allocations: 0.5382 MB / 0.7726 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01242/1.544, allocations: 4.201 MB / 0.7767 GB, free: 125.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007589/1.545, allocations: 67.95 kB / 0.7768 GB, free: 125.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0264/1.571, allocations: 23.13 MB / 0.7994 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.571, allocations: 1.875 kB / 0.7994 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/1.597, allocations: 15.63 MB / 0.8146 GB, free: 86.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003658/1.601, allocations: 1.182 MB / 0.8158 GB, free: 85.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.602, allocations: 61.97 kB / 0.8158 GB, free: 85.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/1.606, allocations: 215.7 kB / 0.8161 GB, free: 85.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007761/1.606, allocations: 226.1 kB / 0.8163 GB, free: 84.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.607, allocations: 100.4 kB / 0.8164 GB, free: 84.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004527/1.611, allocations: 3.801 MB / 0.8201 GB, free: 80.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.611, allocations: 3.969 kB / 0.8201 GB, free: 80.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008325/1.62, allocations: 1.936 MB / 0.822 GB, free: 79.01 MB / 462.1 MB 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.0006532/1.62, allocations: 216.6 kB / 0.8222 GB, free: 78.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0241/1.644, allocations: 15.43 MB / 0.8372 GB, free: 63.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.644, allocations: 0 / 0.8372 GB, free: 63.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005639/1.65, allocations: 4.113 MB / 0.8413 GB, free: 59.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/1.656, allocations: 0.7784 MB / 0.842 GB, free: 58.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.678, allocations: 19.72 MB / 0.8613 GB, free: 38.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004194/1.682, allocations: 4.871 MB / 0.866 GB, free: 33.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006167/1.689, allocations: 2.789 MB / 0.8688 GB, free: 31.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.69, allocations: 383.4 kB / 0.8691 GB, free: 30.75 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/1.69, allocations: 0 / 0.8691 GB, free: 30.75 MB / 462.1 MB Notification: Performance of Templates: time 0.3092/1.999, allocations: 84.89 MB / 0.952 GB, free: 102.4 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)