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.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001582/0.001582, allocations: 189.9 kB / 16.13 MB, free: 6.652 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.389/1.389, allocations: 205.1 MB / 222 MB, free: 4.73 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.3237/0.3237, allocations: 39.93 MB / 309.3 MB, free: 9.664 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.001274/0.001274, allocations: 63.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.125, allocations: 56.89 MB / 433.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.2951/0.4201, allocations: 73.25 MB / 0.4952 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04153/0.4617, allocations: 14.71 MB / 0.5095 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01926/0.481, allocations: 322.9 kB / 0.5098 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009918/0.491, allocations: 4.344 MB / 0.5141 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0095/0.5006, allocations: 2.601 MB / 0.5166 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.5045, allocations: 1.351 MB / 0.5179 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.524, allocations: 11.4 MB / 0.5291 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009124/0.5331, allocations: 5.303 MB / 0.5343 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.54, allocations: 2.398 MB / 0.5366 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008905/0.549, allocations: 4.109 MB / 0.5406 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002578/0.5516, allocations: 384 kB / 0.541 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.5572, allocations: 1.553 MB / 0.5425 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.5626, allocations: 3.222 MB / 0.5456 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008374/0.571, allocations: 3.506 MB / 0.5491 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.5858, allocations: 10.73 MB / 0.5595 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.5859, allocations: 0 / 0.5595 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5859, allocations: 0 / 0.5595 GB, free: 8.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004961/0.5864, allocations: 4 kB / 0.5595 GB, free: 8.277 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.02451/0.6109, allocations: 8.225 MB / 0.5676 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.611, allocations: 12.03 kB / 0.5676 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.028/0.639, allocations: 3.669 MB / 0.5712 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.6534, allocations: 5.497 MB / 0.5765 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.6537, allocations: 365.8 kB / 0.5769 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/0.6555, allocations: 0.5154 MB / 0.5774 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03324/0.6887, allocations: 16.23 MB / 0.5932 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/0.6891, allocations: 83.3 kB / 0.5933 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.6901, allocations: 235.8 kB / 0.5935 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005072/0.6952, allocations: 2.919 MB / 0.5964 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/0.726, allocations: 13.69 MB / 0.6098 GB, free: 3.566 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.2972/1.023, allocations: 64.77 MB / 0.673 GB, free: 99.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0226/1.046, allocations: 7.825 MB / 0.6807 GB, free: 96.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006694/1.053, allocations: 4.278 MB / 0.6848 GB, free: 94.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03554/1.088, allocations: 19.29 MB / 0.7037 GB, free: 84.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/1.088, allocations: 61.22 kB / 0.7037 GB, free: 84.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 7.023e-06/1.088, allocations: 0 / 0.7037 GB, free: 84.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1842/1.272, allocations: 51.92 MB / 0.7544 GB, free: 50.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.273, allocations: 269.8 kB / 0.7547 GB, free: 49.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007966/1.281, allocations: 6.095 MB / 0.7606 GB, free: 43.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009836/1.282, allocations: 81.7 kB / 0.7607 GB, free: 43.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002627/1.284, allocations: 4.682 MB / 0.7653 GB, free: 38.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/1.286, allocations: 1.351 MB / 0.7666 GB, free: 37.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002799/1.289, allocations: 1.908 MB / 0.7685 GB, free: 35.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.831e-05/1.289, allocations: 301.1 kB / 0.7688 GB, free: 35.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.294, allocations: 4.196 MB / 0.7729 GB, free: 31.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007007/1.301, allocations: 9.427 MB / 0.7821 GB, free: 19.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.315, allocations: 14.58 MB / 0.7963 GB, free: 2.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/1.315, allocations: 56 kB / 0.7964 GB, free: 2.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04063/1.356, allocations: 17.54 MB / 0.8135 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/1.356, allocations: 84 kB / 0.8136 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002734/1.356, allocations: 180 kB / 0.8137 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3304/1.687, allocations: 4.577 MB / 0.8182 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008087/1.695, allocations: 2.122 MB / 0.8203 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03236/1.727, allocations: 23.7 MB / 0.8434 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009936/1.737, allocations: 0.5257 MB / 0.8439 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/1.74, allocations: 0.5383 MB / 0.8445 GB, free: 132.6 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 (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.009331/1.749, allocations: 3.123 MB / 0.8475 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.751, allocations: 0.5692 MB / 0.8481 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02956/1.78, allocations: 10.7 MB / 0.8585 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/1.781, allocations: 37.09 kB / 0.8585 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-05/1.781, allocations: 18.89 kB / 0.8586 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001354/1.781, allocations: 16.58 kB / 0.8586 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04847/1.829, allocations: 20.48 MB / 0.8786 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.829, allocations: 0 / 0.8786 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/1.832, allocations: 0.5266 MB / 0.8791 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.846, allocations: 4.242 MB / 0.8832 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001097/1.847, allocations: 63.3 kB / 0.8833 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02816/1.875, allocations: 21.47 MB / 0.9043 GB, free: 97.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.875, allocations: 0 / 0.9043 GB, free: 97.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02655/1.902, allocations: 15.58 MB / 0.9195 GB, free: 82.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003709/1.906, allocations: 1.177 MB / 0.9206 GB, free: 81.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.907, allocations: 54.81 kB / 0.9207 GB, free: 81.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.91, allocations: 227.6 kB / 0.9209 GB, free: 80.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009245/1.911, allocations: 230.1 kB / 0.9211 GB, free: 80.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/1.911, allocations: 91.98 kB / 0.9212 GB, free: 80.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00577/1.917, allocations: 3.808 MB / 0.9249 GB, free: 76.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.917, allocations: 0 / 0.9249 GB, free: 76.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0095/1.926, allocations: 1.931 MB / 0.9268 GB, free: 74.86 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 (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.0007596/1.927, allocations: 218.7 kB / 0.927 GB, free: 74.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.943, allocations: 10.43 MB / 0.9372 GB, free: 64.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.943, allocations: 0 / 0.9372 GB, free: 64.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00603/1.949, allocations: 4.076 MB / 0.9412 GB, free: 60.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/1.954, allocations: 0.737 MB / 0.9419 GB, free: 59.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/1.984, allocations: 19.64 MB / 0.9611 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00783/1.992, allocations: 4.866 MB / 0.9658 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00794/2, allocations: 2.777 MB / 0.9685 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/2.002, allocations: 383.4 kB / 0.9689 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/2.002, allocations: 0 / 0.9689 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.4474/2.45, allocations: 81.66 MB / 1.049 GB, free: 136.2 MB / 0.5137 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)