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.007582/0.007583, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.001455/0.001455, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.503/1.503, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1873/0.1873, allocations: 38 MB / 307.9 MB, free: 5.988 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.001476/0.001476, allocations: 79.88 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 56.46 MB / 489.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01744/0.1401, allocations: 17.36 MB / 0.495 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1529, allocations: 5.51 MB / 0.5003 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003541/0.1565, allocations: 111.7 kB / 0.5004 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008236/0.1648, allocations: 4.368 MB / 0.5047 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007786/0.1726, allocations: 2.844 MB / 0.5075 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.1761, allocations: 1.459 MB / 0.5089 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.2802/0.4563, allocations: 8.144 MB / 0.5169 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008549/0.4649, allocations: 5.384 MB / 0.5221 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006617/0.4715, allocations: 2.678 MB / 0.5247 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008156/0.4797, allocations: 3.865 MB / 0.5285 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002627/0.4824, allocations: 0.5365 MB / 0.529 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.4875, allocations: 1.624 MB / 0.5306 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005429/0.493, allocations: 3.411 MB / 0.534 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008506/0.5015, allocations: 3.662 MB / 0.5375 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.5189, allocations: 11.24 MB / 0.5485 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5189, allocations: 0 / 0.5485 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5189, allocations: 0 / 0.5485 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004566/0.5194, allocations: 1.406 kB / 0.5485 GB, free: 12.87 MB / 414.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.02714/0.5465, allocations: 8.232 MB / 0.5565 GB, free: 7.523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.5466, allocations: 17.77 kB / 0.5566 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02786/0.5745, allocations: 3.671 MB / 0.5601 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/0.5892, allocations: 5.592 MB / 0.5656 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004257/0.5897, allocations: 369.8 kB / 0.566 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.5921, allocations: 0.516 MB / 0.5665 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/0.6311, allocations: 16.25 MB / 0.5823 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004973/0.6316, allocations: 78.36 kB / 0.5824 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002401/0.6341, allocations: 240 kB / 0.5826 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004901/0.639, allocations: 2.922 MB / 0.5855 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03155/0.6706, allocations: 13.71 MB / 0.5989 GB, free: 12.64 MB / 462.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.1016/0.7722, allocations: 64.55 MB / 0.6619 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/0.795, allocations: 7.87 MB / 0.6696 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007623/0.8027, allocations: 4.345 MB / 0.6738 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06322/0.8659, allocations: 19.36 MB / 0.6927 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.8661, allocations: 70.89 kB / 0.6928 GB, free: 10.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 1.287e-05/0.8662, allocations: 0 / 0.6928 GB, free: 10.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=372): time 0.4804/1.347, allocations: 49.92 MB / 0.7416 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.347, allocations: 273 kB / 0.7418 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.358, allocations: 6.089 MB / 0.7478 GB, free: 197 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000887/1.359, allocations: 85.67 kB / 0.7478 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002663/1.362, allocations: 4.678 MB / 0.7524 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.363, allocations: 1.373 MB / 0.7538 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002679/1.366, allocations: 1.911 MB / 0.7556 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/1.366, allocations: 301.1 kB / 0.7559 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005592/1.372, allocations: 4.224 MB / 0.76 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007468/1.379, allocations: 9.455 MB / 0.7693 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/1.393, allocations: 14.63 MB / 0.7836 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.394, allocations: 54.81 kB / 0.7836 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03544/1.429, allocations: 17.55 MB / 0.8007 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.429, allocations: 81.41 kB / 0.8008 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/1.429, allocations: 180 kB / 0.801 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/1.442, allocations: 4.549 MB / 0.8054 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/1.449, allocations: 2.129 MB / 0.8075 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02819/1.477, allocations: 25.37 MB / 0.8323 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008317/1.485, allocations: 0.5228 MB / 0.8328 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/1.487, allocations: 0.543 MB / 0.8333 GB, free: 126.1 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.006232/1.493, allocations: 3.128 MB / 0.8364 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001609/1.495, allocations: 0.5708 MB / 0.8369 GB, free: 122.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01957/1.514, allocations: 10.7 MB / 0.8474 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/1.515, allocations: 47.83 kB / 0.8474 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/1.515, allocations: 21.86 kB / 0.8475 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-05/1.515, allocations: 15.94 kB / 0.8475 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03398/1.549, allocations: 20.36 MB / 0.8674 GB, free: 91.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.861e-05/1.549, allocations: 1.312 kB / 0.8674 GB, free: 91.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/1.552, allocations: 0.5344 MB / 0.8679 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/1.564, allocations: 4.177 MB / 0.872 GB, free: 86.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000829/1.564, allocations: 63.98 kB / 0.872 GB, free: 86.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02714/1.592, allocations: 23.14 MB / 0.8946 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.592, allocations: 0 / 0.8946 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02487/1.617, allocations: 15.63 MB / 0.9099 GB, free: 47.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/1.62, allocations: 1.185 MB / 0.9111 GB, free: 46.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.621, allocations: 60.5 kB / 0.9111 GB, free: 46.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/1.624, allocations: 221.3 kB / 0.9113 GB, free: 45.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007654/1.624, allocations: 222.2 kB / 0.9115 GB, free: 45.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/1.625, allocations: 91.98 kB / 0.9116 GB, free: 45.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005456/1.63, allocations: 3.801 MB / 0.9153 GB, free: 41.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.63, allocations: 0 / 0.9153 GB, free: 41.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009366/1.639, allocations: 1.937 MB / 0.9172 GB, free: 39.77 MB / 0.5762 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.000788/1.64, allocations: 225.1 kB / 0.9174 GB, free: 39.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01461/1.655, allocations: 10.53 MB / 0.9277 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.655, allocations: 0 / 0.9277 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/1.66, allocations: 4.121 MB / 0.9318 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/1.665, allocations: 0.7702 MB / 0.9325 GB, free: 24.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2716/1.936, allocations: 16.29 MB / 0.9484 GB, free: 181.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/1.947, allocations: 4.877 MB / 0.9532 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008817/1.956, allocations: 2.784 MB / 0.9559 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/1.958, allocations: 385.2 kB / 0.9563 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.893e-06/1.958, allocations: 0.7188 kB / 0.9563 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1256/2.084, allocations: 80.26 MB / 1.035 GB, free: 127.2 MB / 0.5762 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)