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.0007694/0.0007694, allocations: 86.72 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.0008585/0.0008586, 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.28/1.28, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.2809/0.2809, allocations: 38.04 MB / 308.4 MB, free: 10.41 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.0005341/0.0005342, allocations: 12 kB / 376.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 57.52 MB / 434 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.2563/0.3659, allocations: 66.45 MB / 0.4887 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02948/0.3954, allocations: 14.01 MB / 0.5024 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01558/0.411, allocations: 321.1 kB / 0.5027 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.4222, allocations: 3.415 MB / 0.506 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03291/0.4552, allocations: 10.21 MB / 0.516 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.4607, allocations: 1.288 MB / 0.5172 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04892/0.5097, allocations: 37.32 MB / 0.5537 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.5207, allocations: 6.389 MB / 0.5599 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.5258, allocations: 2.261 MB / 0.5621 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006064/0.5319, allocations: 3.689 MB / 0.5657 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.5333, allocations: 248 kB / 0.566 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.5367, allocations: 1.198 MB / 0.5671 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004167/0.5409, allocations: 3.008 MB / 0.5701 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.5434, allocations: 1.306 MB / 0.5714 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.5557, allocations: 8.538 MB / 0.5797 GB, free: 7.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5558, allocations: 0 / 0.5797 GB, free: 7.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5558, allocations: 4 kB / 0.5797 GB, free: 7.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004339/0.5562, allocations: 0 / 0.5797 GB, free: 7.023 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01722/0.5734, allocations: 6.924 MB / 0.5865 GB, free: 16 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5735, allocations: 8.031 kB / 0.5865 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02368/0.5972, allocations: 3.758 MB / 0.5901 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.61, allocations: 5.402 MB / 0.5954 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.6103, allocations: 365.5 kB / 0.5958 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/0.6125, allocations: 0.5073 MB / 0.5963 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/0.6434, allocations: 16.26 MB / 0.6121 GB, free: 4.555 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.6437, allocations: 83.22 kB / 0.6122 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007629/0.6444, allocations: 235.8 kB / 0.6124 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004467/0.6489, allocations: 2.927 MB / 0.6153 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/0.6787, allocations: 13.7 MB / 0.6287 GB, free: 3.582 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.3305/1.009, allocations: 64.81 MB / 0.692 GB, free: 99.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02343/1.033, allocations: 7.959 MB / 0.6997 GB, free: 96.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007497/1.04, allocations: 4.335 MB / 0.704 GB, free: 94.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02909/1.069, allocations: 19.36 MB / 0.7229 GB, free: 84.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/1.069, allocations: 67.66 kB / 0.723 GB, free: 84.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.492e-06/1.069, allocations: 0 / 0.723 GB, free: 84.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=372): time 0.1424/1.212, allocations: 50.57 MB / 0.7723 GB, free: 37.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/1.212, allocations: 265.8 kB / 0.7726 GB, free: 37.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007455/1.219, allocations: 6.055 MB / 0.7785 GB, free: 31.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001197/1.221, allocations: 81.7 kB / 0.7786 GB, free: 31.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002685/1.223, allocations: 4.678 MB / 0.7831 GB, free: 26.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.225, allocations: 1.374 MB / 0.7845 GB, free: 25.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/1.225, allocations: 195.9 kB / 0.7847 GB, free: 24.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003563/1.226, allocations: 0.7073 MB / 0.7854 GB, free: 24.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00518/1.231, allocations: 4.184 MB / 0.7895 GB, free: 19.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00797/1.239, allocations: 9.426 MB / 0.7987 GB, free: 7.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007846/1.247, allocations: 6.072 MB / 0.8046 GB, free: 1.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.293e-05/1.247, allocations: 52 kB / 0.8046 GB, free: 1.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03528/1.282, allocations: 17.5 MB / 0.8217 GB, free: 276 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.282, allocations: 84 kB / 0.8218 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/1.283, allocations: 184.8 kB / 0.822 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2967/1.579, allocations: 4.604 MB / 0.8265 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007243/1.587, allocations: 2.13 MB / 0.8286 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03205/1.619, allocations: 23.72 MB / 0.8517 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008406/1.627, allocations: 0.526 MB / 0.8522 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/1.629, allocations: 0.5358 MB / 0.8528 GB, free: 136 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 (1136): * Single equations (assignments): 1131 * 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,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007147/1.637, allocations: 3.133 MB / 0.8558 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.638, allocations: 0.5663 MB / 0.8564 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02466/1.663, allocations: 10.73 MB / 0.8669 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.131e-05/1.663, allocations: 38.09 kB / 0.8669 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.568e-05/1.663, allocations: 17.69 kB / 0.8669 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.321e-05/1.663, allocations: 19.3 kB / 0.8669 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03871/1.702, allocations: 20.53 MB / 0.887 GB, free: 124 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-05/1.702, allocations: 3.844 kB / 0.887 GB, free: 124 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/1.704, allocations: 0.5365 MB / 0.8875 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/1.716, allocations: 4.212 MB / 0.8916 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008095/1.717, allocations: 63.98 kB / 0.8917 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02608/1.743, allocations: 21.55 MB / 0.9127 GB, free: 98.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.743, allocations: 4 kB / 0.9127 GB, free: 98.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/1.768, allocations: 15.63 MB / 0.928 GB, free: 83.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003396/1.772, allocations: 1.185 MB / 0.9292 GB, free: 81.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.773, allocations: 62.11 kB / 0.9292 GB, free: 81.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/1.776, allocations: 219.7 kB / 0.9294 GB, free: 81.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/1.777, allocations: 234.8 kB / 0.9296 GB, free: 81.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.777, allocations: 96.86 kB / 0.9297 GB, free: 81.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005491/1.783, allocations: 3.773 MB / 0.9334 GB, free: 77.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.783, allocations: 0 / 0.9334 GB, free: 77.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0104/1.793, allocations: 1.935 MB / 0.9353 GB, free: 75.63 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 (272): * Single equations (assignments): 267 * 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.0009366/1.794, allocations: 211.9 kB / 0.9355 GB, free: 75.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01547/1.81, allocations: 10.46 MB / 0.9457 GB, free: 65.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/1.81, allocations: 6.516 kB / 0.9457 GB, free: 65.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00551/1.815, allocations: 4.12 MB / 0.9498 GB, free: 60.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.82, allocations: 0.743 MB / 0.9505 GB, free: 60.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/1.843, allocations: 19.03 MB / 0.9691 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/1.848, allocations: 4.875 MB / 0.9738 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006262/1.854, allocations: 2.797 MB / 0.9766 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.855, allocations: 387.3 kB / 0.9769 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of SimCode: time 1.933e-06/1.855, allocations: 0 / 0.9769 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.3852/2.24, allocations: 78.64 MB / 1.054 GB, free: 121.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: