Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008745/0.0008746, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005629/0.005629, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.344/1.344, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3371/0.3371, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005652/0.0005652, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.3072/0.4273, allocations: 71.45 MB / 0.4942 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03508/0.4624, allocations: 14.63 MB / 0.5084 GB, free: 372 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01892/0.4814, allocations: 325.4 kB / 0.5088 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.4846, allocations: 0.6337 MB / 0.5094 GB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.4952, allocations: 2.608 MB / 0.5119 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.4994, allocations: 1.346 MB / 0.5132 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01929/0.5187, allocations: 11.4 MB / 0.5244 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0129/0.5317, allocations: 7.111 MB / 0.5313 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006511/0.5383, allocations: 2.087 MB / 0.5334 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006967/0.5453, allocations: 3.678 MB / 0.5369 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.5466, allocations: 252 kB / 0.5372 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.5504, allocations: 1.404 MB / 0.5386 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003701/0.5541, allocations: 3.042 MB / 0.5415 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004623/0.5588, allocations: 3.278 MB / 0.5447 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.5722, allocations: 10.44 MB / 0.5549 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5723, allocations: 0 / 0.5549 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5723, allocations: 0 / 0.5549 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004376/0.5727, allocations: 0 / 0.5549 GB, free: 0.8438 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.01857/0.5913, allocations: 6.822 MB / 0.5616 GB, free: 9.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5914, allocations: 15.97 kB / 0.5616 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/0.6214, allocations: 3.763 MB / 0.5653 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.6352, allocations: 5.485 MB / 0.5706 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.6357, allocations: 373.8 kB / 0.571 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.6376, allocations: 0.5116 MB / 0.5715 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03339/0.671, allocations: 16.29 MB / 0.5874 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002657/0.6713, allocations: 79.3 kB / 0.5875 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/0.672, allocations: 235.8 kB / 0.5877 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/0.6765, allocations: 2.915 MB / 0.5906 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/0.7061, allocations: 13.75 MB / 0.604 GB, free: 13.32 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.3166/1.023, allocations: 64.76 MB / 0.6672 GB, free: 103.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/1.044, allocations: 7.937 MB / 0.675 GB, free: 102.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005261/1.049, allocations: 4.282 MB / 0.6792 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02854/1.078, allocations: 19.27 MB / 0.698 GB, free: 90.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/1.078, allocations: 70.97 kB / 0.698 GB, free: 90.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.993e-06/1.078, allocations: 0 / 0.698 GB, free: 90.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1644/1.242, allocations: 52.58 MB / 0.7494 GB, free: 57.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/1.242, allocations: 277.7 kB / 0.7497 GB, free: 57.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007467/1.25, allocations: 6.095 MB / 0.7556 GB, free: 51.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009096/1.251, allocations: 88.44 kB / 0.7557 GB, free: 51.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/1.253, allocations: 4.668 MB / 0.7602 GB, free: 46.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.255, allocations: 1.349 MB / 0.7616 GB, free: 45.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009868/1.256, allocations: 0.8187 MB / 0.7624 GB, free: 44.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/1.256, allocations: 301.1 kB / 0.7627 GB, free: 44.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00518/1.261, allocations: 4.2 MB / 0.7668 GB, free: 39.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00695/1.268, allocations: 9.441 MB / 0.776 GB, free: 27.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/1.283, allocations: 14.58 MB / 0.7902 GB, free: 10.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/1.283, allocations: 52 kB / 0.7903 GB, free: 10.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03616/1.319, allocations: 17.58 MB / 0.8074 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/1.319, allocations: 87.94 kB / 0.8075 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003282/1.32, allocations: 180 kB / 0.8077 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/1.336, allocations: 4.615 MB / 0.8122 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007989/1.344, allocations: 2.121 MB / 0.8143 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2788/1.623, allocations: 23.8 MB / 0.8375 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00805/1.631, allocations: 0.5262 MB / 0.838 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.632, allocations: 0.5353 MB / 0.8385 GB, free: 151.2 MB / 0.5137 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 (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 {(1,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005321/1.638, allocations: 3.121 MB / 0.8416 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.639, allocations: 0.5728 MB / 0.8422 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02122/1.66, allocations: 10.74 MB / 0.8526 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/1.66, allocations: 44.72 kB / 0.8527 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.66, allocations: 16.03 kB / 0.8527 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/1.66, allocations: 17.69 kB / 0.8527 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04596/1.706, allocations: 20.51 MB / 0.8727 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-05/1.706, allocations: 1.344 kB / 0.8727 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/1.709, allocations: 0.5339 MB / 0.8733 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01527/1.725, allocations: 4.269 MB / 0.8774 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009174/1.726, allocations: 63.61 kB / 0.8775 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03028/1.756, allocations: 21.56 MB / 0.8985 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.756, allocations: 3.938 kB / 0.8985 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02848/1.785, allocations: 15.63 MB / 0.9138 GB, free: 122.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004359/1.789, allocations: 1.178 MB / 0.915 GB, free: 121.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002519/1.791, allocations: 62.91 kB / 0.915 GB, free: 121.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0047/1.796, allocations: 231.7 kB / 0.9152 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/1.798, allocations: 222.1 kB / 0.9155 GB, free: 120.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006552/1.798, allocations: 95.98 kB / 0.9155 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008429/1.807, allocations: 3.808 MB / 0.9193 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.81e-07/1.807, allocations: 0 / 0.9193 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01169/1.819, allocations: 1.934 MB / 0.9212 GB, free: 115 MB / 0.5137 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 (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.001427/1.82, allocations: 217.3 kB / 0.9214 GB, free: 114.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01674/1.837, allocations: 10.44 MB / 0.9316 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.837, allocations: 0 / 0.9316 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006317/1.843, allocations: 4.084 MB / 0.9355 GB, free: 100.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00758/1.851, allocations: 0.7252 MB / 0.9363 GB, free: 99.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/1.884, allocations: 19.74 MB / 0.9555 GB, free: 79.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007482/1.891, allocations: 4.874 MB / 0.9603 GB, free: 75.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007202/1.899, allocations: 2.773 MB / 0.963 GB, free: 72.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.9, allocations: 375.4 kB / 0.9634 GB, free: 71.87 MB / 0.5137 GB Notification: Performance of SimCode: time 1.813e-06/1.9, allocations: 4 kB / 0.9634 GB, free: 71.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.3611/2.261, allocations: 80.36 MB / 1.042 GB, free: 139.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) Environment - environmentSimulation: