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.008752/0.008752, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.002318/0.002318, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3247/0.3247, allocations: 39.95 MB / 309.8 MB, free: 9.375 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.001445/0.001445, allocations: 71.91 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.01806/0.3634, allocations: 17.36 MB / 0.4981 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.3777, allocations: 5.497 MB / 0.5034 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.3831, allocations: 118.3 kB / 0.5036 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008977/0.3921, allocations: 4.359 MB / 0.5078 GB, free: 204 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.4028, allocations: 2.753 MB / 0.5105 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.4072, allocations: 1.467 MB / 0.5119 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.4222, allocations: 8.144 MB / 0.5199 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008054/0.4303, allocations: 5.385 MB / 0.5251 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/0.4372, allocations: 2.675 MB / 0.5278 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006949/0.4442, allocations: 3.84 MB / 0.5315 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002453/0.4467, allocations: 0.5352 MB / 0.532 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.4514, allocations: 1.619 MB / 0.5336 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004724/0.4561, allocations: 3.402 MB / 0.5369 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006511/0.4626, allocations: 3.663 MB / 0.5405 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.4779, allocations: 11.2 MB / 0.5514 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.478, allocations: 0 / 0.5514 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.478, allocations: 0 / 0.5514 GB, free: 8.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004438/0.4784, allocations: 0 / 0.5514 GB, free: 8.102 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.0252/0.5036, allocations: 8.225 MB / 0.5595 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/0.5037, allocations: 15.89 kB / 0.5595 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03454/0.5383, allocations: 3.673 MB / 0.5631 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/0.555, allocations: 5.598 MB / 0.5685 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.5554, allocations: 365.8 kB / 0.5689 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/0.5585, allocations: 0.5152 MB / 0.5694 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04004/0.5985, allocations: 16.23 MB / 0.5853 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006137/0.5992, allocations: 83.25 kB / 0.5853 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/0.6017, allocations: 239.8 kB / 0.5856 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005814/0.6075, allocations: 2.926 MB / 0.5884 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/0.6416, allocations: 13.68 MB / 0.6018 GB, free: 3.277 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.4768/1.118, allocations: 64.46 MB / 0.6647 GB, free: 83.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02599/1.144, allocations: 7.831 MB / 0.6724 GB, free: 81.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00686/1.151, allocations: 4.285 MB / 0.6766 GB, free: 79.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03721/1.189, allocations: 19.29 MB / 0.6954 GB, free: 68.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.236e-05/1.189, allocations: 64.16 kB / 0.6955 GB, free: 68.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 8.796e-06/1.189, allocations: 1.219 kB / 0.6955 GB, free: 68.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=366): time 0.1746/1.363, allocations: 51.92 MB / 0.7462 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.364, allocations: 269.8 kB / 0.7464 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008163/1.372, allocations: 6.106 MB / 0.7524 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.373, allocations: 81.7 kB / 0.7525 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00278/1.376, allocations: 4.676 MB / 0.757 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001974/1.378, allocations: 1.353 MB / 0.7583 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002614/1.38, allocations: 1.9 MB / 0.7602 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/1.38, allocations: 313.1 kB / 0.7605 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004954/1.385, allocations: 4.196 MB / 0.7646 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00931/1.395, allocations: 9.431 MB / 0.7738 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/1.415, allocations: 14.57 MB / 0.788 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001884/1.415, allocations: 52 kB / 0.7881 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04568/1.461, allocations: 17.55 MB / 0.8052 GB, free: 7.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000359/1.461, allocations: 82.19 kB / 0.8053 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005546/1.462, allocations: 180 kB / 0.8055 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/1.478, allocations: 4.581 MB / 0.8099 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009447/1.488, allocations: 2.121 MB / 0.812 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04267/1.53, allocations: 25.43 MB / 0.8369 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/1.541, allocations: 0.5305 MB / 0.8374 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002577/1.543, allocations: 0.5351 MB / 0.8379 GB, free: 5.496 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.00906/1.552, allocations: 3.121 MB / 0.8409 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/1.555, allocations: 0.5709 MB / 0.8415 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02566/1.58, allocations: 10.7 MB / 0.8519 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/1.58, allocations: 36 kB / 0.852 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.539e-05/1.58, allocations: 24 kB / 0.852 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.133e-05/1.581, allocations: 19.92 kB / 0.852 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4757/2.056, allocations: 20.31 MB / 0.8719 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.635e-05/2.056, allocations: 1.344 kB / 0.8719 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/2.06, allocations: 0.5363 MB / 0.8724 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01544/2.075, allocations: 4.228 MB / 0.8765 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009403/2.076, allocations: 63.09 kB / 0.8766 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03774/2.114, allocations: 23.13 MB / 0.8992 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.114, allocations: 0 / 0.8992 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02955/2.144, allocations: 15.57 MB / 0.9144 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005171/2.149, allocations: 1.173 MB / 0.9155 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/2.151, allocations: 67.66 kB / 0.9156 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/2.154, allocations: 226.8 kB / 0.9158 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.155, allocations: 222.2 kB / 0.916 GB, free: 177 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/2.155, allocations: 91.98 kB / 0.9161 GB, free: 176.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006284/2.162, allocations: 3.805 MB / 0.9198 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/2.162, allocations: 0 / 0.9198 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00969/2.171, allocations: 1.928 MB / 0.9217 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.0007215/2.172, allocations: 220.4 kB / 0.9219 GB, free: 171 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.187, allocations: 10.45 MB / 0.9321 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.187, allocations: 4 kB / 0.9321 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005789/2.192, allocations: 4.088 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.005312/2.198, allocations: 0.7816 MB / 0.9369 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/2.227, allocations: 16.23 MB / 0.9527 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005423/2.233, allocations: 4.87 MB / 0.9575 GB, free: 134.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006133/2.239, allocations: 2.773 MB / 0.9602 GB, free: 132 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/2.24, allocations: 386.5 kB / 0.9606 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/2.24, allocations: 0 / 0.9606 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1308/2.371, allocations: 81.01 MB / 1.04 GB, free: 50.78 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)