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.004865/0.004865, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001305/0.001305, allocations: 195.2 kB / 16.67 MB, free: 5.93 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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3237/0.3237, allocations: 38.01 MB / 307.9 MB, free: 10.03 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.001504/0.001504, allocations: 71.89 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3969, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.0161/0.413, allocations: 17.35 MB / 0.4949 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.4291, allocations: 5.5 MB / 0.5003 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007029/0.4362, allocations: 117.5 kB / 0.5004 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00943/0.4457, allocations: 4.361 MB / 0.5047 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.4559, allocations: 2.752 MB / 0.5074 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.4612, allocations: 1.464 MB / 0.5088 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.4757, allocations: 8.149 MB / 0.5168 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0083/0.4841, allocations: 5.384 MB / 0.522 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/0.4902, allocations: 2.687 MB / 0.5246 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.4976, allocations: 3.84 MB / 0.5284 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.5004, allocations: 0.5352 MB / 0.5289 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00626/0.5067, allocations: 1.619 MB / 0.5305 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00557/0.5123, allocations: 3.335 MB / 0.5338 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007824/0.5201, allocations: 3.659 MB / 0.5373 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01569/0.5359, allocations: 11.22 MB / 0.5483 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5359, allocations: 0 / 0.5483 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5359, allocations: 3.938 kB / 0.5483 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003859/0.5363, allocations: 0 / 0.5483 GB, free: 11.33 MB / 430.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.02188/0.5582, allocations: 8.218 MB / 0.5563 GB, free: 3.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.5583, allocations: 11.89 kB / 0.5563 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03149/0.5898, allocations: 3.673 MB / 0.5599 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.6042, allocations: 5.59 MB / 0.5654 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.6045, allocations: 373.8 kB / 0.5657 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.6065, allocations: 0.5191 MB / 0.5662 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/0.6397, allocations: 16.23 MB / 0.5821 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000242/0.64, allocations: 79.31 kB / 0.5822 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008376/0.6408, allocations: 235.8 kB / 0.5824 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005137/0.646, allocations: 2.919 MB / 0.5852 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/0.6781, allocations: 13.68 MB / 0.5986 GB, free: 6.523 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.439/1.117, allocations: 64.46 MB / 0.6615 GB, free: 84.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02614/1.143, allocations: 7.825 MB / 0.6692 GB, free: 82.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00636/1.15, allocations: 4.283 MB / 0.6734 GB, free: 80.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03348/1.183, allocations: 19.29 MB / 0.6922 GB, free: 70.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/1.183, allocations: 75.92 kB / 0.6923 GB, free: 70.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 6.382e-06/1.183, allocations: 1.781 kB / 0.6923 GB, free: 70.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=366): time 0.1754/1.359, allocations: 51.92 MB / 0.743 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/1.359, allocations: 273.2 kB / 0.7432 GB, free: 29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007425/1.366, allocations: 6.095 MB / 0.7492 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009787/1.367, allocations: 81.7 kB / 0.7493 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.37, allocations: 4.679 MB / 0.7538 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.372, allocations: 1.355 MB / 0.7552 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002387/1.374, allocations: 1.904 MB / 0.757 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/1.374, allocations: 309.1 kB / 0.7573 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006116/1.38, allocations: 4.192 MB / 0.7614 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008947/1.389, allocations: 9.429 MB / 0.7706 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02246/1.412, allocations: 14.57 MB / 0.7849 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001871/1.412, allocations: 52 kB / 0.7849 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04196/1.454, allocations: 17.56 MB / 0.802 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.454, allocations: 84.97 kB / 0.8021 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/1.454, allocations: 180 kB / 0.8023 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01605/1.47, allocations: 4.581 MB / 0.8068 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008575/1.479, allocations: 2.121 MB / 0.8088 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04075/1.52, allocations: 25.42 MB / 0.8337 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009166/1.529, allocations: 0.5227 MB / 0.8342 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002658/1.532, allocations: 0.539 MB / 0.8347 GB, free: 9.969 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 (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.01154/1.543, allocations: 3.132 MB / 0.8378 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002375/1.546, allocations: 0.5592 MB / 0.8383 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02684/1.572, allocations: 10.71 MB / 0.8488 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.126e-05/1.573, allocations: 47.94 kB / 0.8488 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/1.573, allocations: 16 kB / 0.8488 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.546e-05/1.573, allocations: 15.94 kB / 0.8488 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3899/1.963, allocations: 20.31 MB / 0.8687 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.334e-05/1.963, allocations: 0.8125 kB / 0.8687 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003632/1.966, allocations: 0.5327 MB / 0.8692 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01636/1.983, allocations: 4.226 MB / 0.8733 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001204/1.984, allocations: 63.52 kB / 0.8734 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03483/2.019, allocations: 23.13 MB / 0.896 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.019, allocations: 5.25 kB / 0.896 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02841/2.047, allocations: 15.58 MB / 0.9112 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004322/2.052, allocations: 1.178 MB / 0.9123 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002891/2.055, allocations: 61.17 kB / 0.9124 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004595/2.059, allocations: 222.9 kB / 0.9126 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009696/2.06, allocations: 225.9 kB / 0.9128 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/2.061, allocations: 98.55 kB / 0.9129 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005366/2.066, allocations: 3.804 MB / 0.9166 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/2.066, allocations: 0 / 0.9166 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009275/2.075, allocations: 1.929 MB / 0.9185 GB, free: 178.3 MB / 0.5919 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.0007384/2.076, allocations: 217.4 kB / 0.9187 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01373/2.09, allocations: 10.45 MB / 0.9289 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.09, allocations: 1.906 kB / 0.9289 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0052/2.095, allocations: 4.088 MB / 0.9329 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004821/2.1, allocations: 0.7811 MB / 0.9337 GB, free: 163 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/2.126, allocations: 16.23 MB / 0.9495 GB, free: 146.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005859/2.132, allocations: 4.864 MB / 0.9543 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006057/2.138, allocations: 2.773 MB / 0.957 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/2.14, allocations: 383.4 kB / 0.9574 GB, free: 139 MB / 0.5919 GB Notification: Performance of SimCode: time 1.543e-06/2.14, allocations: 0 / 0.9574 GB, free: 139 MB / 0.5919 GB Notification: Performance of Templates: time 0.1242/2.264, allocations: 80.29 MB / 1.036 GB, free: 58.71 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (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)