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.007862/0.007862, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001891/0.001891, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.398/1.398, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.3754/0.3754, allocations: 39.95 MB / 309.8 MB, free: 9.461 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.001457/0.001457, allocations: 67.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3966, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.02217/0.4188, allocations: 17.35 MB / 0.4981 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.4386, allocations: 5.494 MB / 0.5034 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007276/0.4459, allocations: 122.3 kB / 0.5036 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009788/0.4559, allocations: 4.367 MB / 0.5078 GB, free: 164 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.4683, allocations: 2.749 MB / 0.5105 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004928/0.4732, allocations: 1.464 MB / 0.5119 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01818/0.4914, allocations: 8.138 MB / 0.5199 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.504, allocations: 5.385 MB / 0.5251 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008431/0.5125, allocations: 2.695 MB / 0.5278 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008716/0.5213, allocations: 3.832 MB / 0.5315 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003045/0.5243, allocations: 0.5352 MB / 0.532 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005865/0.5302, allocations: 1.615 MB / 0.5336 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006323/0.5366, allocations: 3.347 MB / 0.5369 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009395/0.546, allocations: 3.651 MB / 0.5404 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.5663, allocations: 11.21 MB / 0.5514 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.844e-05/0.5664, allocations: 0 / 0.5514 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.5664, allocations: 0 / 0.5514 GB, free: 8.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007194/0.5672, allocations: 4 kB / 0.5514 GB, free: 8.141 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.02968/0.5969, allocations: 8.218 MB / 0.5594 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5969, allocations: 15.89 kB / 0.5594 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03142/0.6284, allocations: 3.681 MB / 0.563 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/0.6441, allocations: 5.586 MB / 0.5685 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004916/0.6446, allocations: 373.8 kB / 0.5688 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003114/0.6477, allocations: 0.5152 MB / 0.5694 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/0.6871, allocations: 16.24 MB / 0.5852 GB, free: 4.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003592/0.6875, allocations: 79.27 kB / 0.5853 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.6886, allocations: 239.8 kB / 0.5855 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005145/0.6938, allocations: 2.915 MB / 0.5884 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/0.727, allocations: 13.68 MB / 0.6017 GB, free: 3.328 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.4856/1.213, allocations: 64.47 MB / 0.6647 GB, free: 83.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/1.239, allocations: 7.82 MB / 0.6723 GB, free: 81.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006754/1.246, allocations: 4.282 MB / 0.6765 GB, free: 79.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03601/1.282, allocations: 19.3 MB / 0.6953 GB, free: 68.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.282, allocations: 66 kB / 0.6954 GB, free: 68.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 4.719e-06/1.282, allocations: 0 / 0.6954 GB, free: 68.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=366): time 0.1695/1.452, allocations: 51.92 MB / 0.7461 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.452, allocations: 273.8 kB / 0.7464 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008481/1.461, allocations: 6.095 MB / 0.7523 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/1.462, allocations: 85.27 kB / 0.7524 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003788/1.466, allocations: 4.678 MB / 0.757 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00271/1.468, allocations: 1.349 MB / 0.7583 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003339/1.472, allocations: 1.904 MB / 0.7602 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/1.472, allocations: 309.1 kB / 0.7604 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005317/1.477, allocations: 4.2 MB / 0.7645 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/1.486, allocations: 9.427 MB / 0.7738 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/1.507, allocations: 14.57 MB / 0.788 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002491/1.507, allocations: 54.91 kB / 0.788 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04651/1.554, allocations: 17.55 MB / 0.8052 GB, free: 7.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003185/1.554, allocations: 84 kB / 0.8053 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004745/1.555, allocations: 180 kB / 0.8054 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01689/1.571, allocations: 4.577 MB / 0.8099 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008559/1.58, allocations: 2.125 MB / 0.812 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04096/1.621, allocations: 25.43 MB / 0.8368 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/1.632, allocations: 0.5247 MB / 0.8373 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/1.634, allocations: 0.539 MB / 0.8378 GB, free: 5.508 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.009127/1.643, allocations: 3.117 MB / 0.8409 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/1.646, allocations: 0.567 MB / 0.8414 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02793/1.673, allocations: 10.71 MB / 0.8519 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/1.674, allocations: 40 kB / 0.8519 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.215e-05/1.674, allocations: 19.98 kB / 0.8519 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.881e-05/1.674, allocations: 15.94 kB / 0.852 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3924/2.066, allocations: 20.32 MB / 0.8718 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.953e-05/2.066, allocations: 5.062 kB / 0.8718 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003809/2.07, allocations: 0.5265 MB / 0.8723 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/2.086, allocations: 4.228 MB / 0.8765 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009021/2.087, allocations: 67.05 kB / 0.8765 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03331/2.12, allocations: 23.13 MB / 0.8991 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.12, allocations: 0 / 0.8991 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02654/2.147, allocations: 15.59 MB / 0.9143 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004488/2.151, allocations: 1.17 MB / 0.9155 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008126/2.152, allocations: 67.92 kB / 0.9155 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/2.155, allocations: 230 kB / 0.9157 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008758/2.156, allocations: 218.2 kB / 0.916 GB, free: 177 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/2.156, allocations: 95.98 kB / 0.916 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005426/2.161, allocations: 3.808 MB / 0.9198 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/2.161, allocations: 0 / 0.9198 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009676/2.171, allocations: 1.923 MB / 0.9216 GB, free: 171.2 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.0008666/2.172, allocations: 221.3 kB / 0.9219 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01451/2.186, allocations: 10.45 MB / 0.9321 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/2.187, allocations: 2.625 kB / 0.9321 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005392/2.192, allocations: 4.085 MB / 0.9361 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/2.197, allocations: 0.7712 MB / 0.9368 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/2.224, allocations: 16.24 MB / 0.9527 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/2.229, allocations: 4.87 MB / 0.9574 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005999/2.235, allocations: 2.773 MB / 0.9601 GB, free: 132 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/2.236, allocations: 379.4 kB / 0.9605 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.663e-06/2.236, allocations: 0 / 0.9605 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1215/2.358, allocations: 80.29 MB / 1.039 GB, free: 51.41 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (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)