Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001182/0.001182, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3263/0.3263, allocations: 40 MB / 310.4 MB, free: 9.672 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.2. 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.0005949/0.0005951, allocations: 20 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1306, allocations: 57.97 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.2687/0.3993, allocations: 66.43 MB / 0.4914 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02993/0.4293, allocations: 14.01 MB / 0.5051 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01339/0.4428, allocations: 324.9 kB / 0.5054 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.4531, allocations: 3.419 MB / 0.5088 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03048/0.4836, allocations: 10.2 MB / 0.5187 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005292/0.4889, allocations: 1.284 MB / 0.52 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05073/0.5396, allocations: 37.3 MB / 0.5564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5506, allocations: 6.388 MB / 0.5627 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00593/0.5566, allocations: 2.257 MB / 0.5649 GB, free: 4.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006365/0.563, allocations: 3.673 MB / 0.5684 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.5648, allocations: 244 kB / 0.5687 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.5683, allocations: 1.202 MB / 0.5699 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003628/0.572, allocations: 2.992 MB / 0.5728 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002361/0.5744, allocations: 1.302 MB / 0.574 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.5861, allocations: 8.522 MB / 0.5824 GB, free: 2.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.5861, allocations: 0 / 0.5824 GB, free: 2.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5861, allocations: 3.938 kB / 0.5824 GB, free: 2.684 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004596/0.5866, allocations: 0 / 0.5824 GB, free: 2.684 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.01688/0.6035, allocations: 6.912 MB / 0.5891 GB, free: 11.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6036, allocations: 8.031 kB / 0.5891 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02522/0.6288, allocations: 3.762 MB / 0.5928 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.6423, allocations: 5.386 MB / 0.5981 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/0.6428, allocations: 369.5 kB / 0.5984 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/0.6453, allocations: 0.5151 MB / 0.5989 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03597/0.6812, allocations: 16.25 MB / 0.6148 GB, free: 244 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002732/0.6816, allocations: 83.2 kB / 0.6149 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009788/0.6826, allocations: 231.9 kB / 0.6151 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004659/0.6872, allocations: 2.923 MB / 0.6179 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2929/0.9801, allocations: 13.68 MB / 0.6313 GB, free: 136.7 MB / 494.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.08698/1.067, allocations: 64.73 MB / 0.6945 GB, free: 95.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02373/1.091, allocations: 7.928 MB / 0.7023 GB, free: 93.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006848/1.098, allocations: 4.273 MB / 0.7064 GB, free: 91.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03077/1.129, allocations: 19.27 MB / 0.7253 GB, free: 79.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/1.129, allocations: 64.03 kB / 0.7253 GB, free: 79.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.041e-06/1.129, allocations: 0 / 0.7253 GB, free: 79.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1643/1.293, allocations: 52.55 MB / 0.7766 GB, free: 29.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.293, allocations: 269.8 kB / 0.7769 GB, free: 28.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.304, allocations: 6.056 MB / 0.7828 GB, free: 22.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.305, allocations: 77.7 kB / 0.7829 GB, free: 22.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/1.308, allocations: 4.686 MB / 0.7875 GB, free: 18.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/1.31, allocations: 1.345 MB / 0.7888 GB, free: 16.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007833/1.311, allocations: 196 kB / 0.789 GB, free: 16.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003828/1.311, allocations: 0.711 MB / 0.7896 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005847/1.317, allocations: 4.161 MB / 0.7937 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00879/1.326, allocations: 9.39 MB / 0.8029 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.337, allocations: 6.051 MB / 0.8088 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/1.337, allocations: 52 kB / 0.8088 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.355/1.692, allocations: 17.49 MB / 0.8259 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.692, allocations: 83.25 kB / 0.826 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002583/1.693, allocations: 180.6 kB / 0.8262 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/1.707, allocations: 4.69 MB / 0.8308 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008212/1.715, allocations: 2.115 MB / 0.8328 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03752/1.753, allocations: 23.71 MB / 0.856 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0091/1.762, allocations: 0.5343 MB / 0.8565 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002249/1.764, allocations: 0.534 MB / 0.857 GB, free: 130.5 MB / 0.4981 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 (1130): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(3,88.9%) 49} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00767/1.772, allocations: 3.124 MB / 0.8601 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/1.773, allocations: 0.561 MB / 0.8606 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02249/1.796, allocations: 10.73 MB / 0.8711 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/1.796, allocations: 34.62 kB / 0.8711 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/1.796, allocations: 19.12 kB / 0.8711 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/1.796, allocations: 17.58 kB / 0.8712 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03919/1.835, allocations: 20.49 MB / 0.8912 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/1.836, allocations: 1.312 kB / 0.8912 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.838, allocations: 0.5303 MB / 0.8917 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/1.85, allocations: 4.265 MB / 0.8959 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000682/1.851, allocations: 67.8 kB / 0.8959 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02684/1.877, allocations: 21.53 MB / 0.9169 GB, free: 87.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.878, allocations: 4 kB / 0.9169 GB, free: 87.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/1.904, allocations: 15.59 MB / 0.9322 GB, free: 71.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003696/1.908, allocations: 1.177 MB / 0.9333 GB, free: 70.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.909, allocations: 64.8 kB / 0.9334 GB, free: 70.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/1.912, allocations: 227.7 kB / 0.9336 GB, free: 70.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007426/1.913, allocations: 230.7 kB / 0.9338 GB, free: 70.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/1.913, allocations: 92.98 kB / 0.9339 GB, free: 70.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005835/1.919, allocations: 3.769 MB / 0.9376 GB, free: 66.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.342e-06/1.919, allocations: 3.938 kB / 0.9376 GB, free: 66.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01103/1.93, allocations: 1.929 MB / 0.9395 GB, free: 64.36 MB / 0.4981 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 (266): * Single equations (assignments): 261 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/1.931, allocations: 209.7 kB / 0.9397 GB, free: 64.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01922/1.951, allocations: 10.41 MB / 0.9499 GB, free: 53.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.951, allocations: 4.062 kB / 0.9499 GB, free: 53.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008578/1.959, allocations: 4.069 MB / 0.9538 GB, free: 49.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009211/1.969, allocations: 0.7397 MB / 0.9546 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04654/2.015, allocations: 18.99 MB / 0.9731 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008846/2.024, allocations: 4.866 MB / 0.9778 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007818/2.032, allocations: 2.777 MB / 0.9806 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.033, allocations: 383.4 kB / 0.9809 GB, free: 21.83 MB / 0.4981 GB Notification: Performance of SimCode: time 1.824e-06/2.033, allocations: 0 / 0.9809 GB, free: 21.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.4254/2.459, allocations: 78.73 MB / 1.058 GB, free: 135 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) Environment - environmentSimulation: