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.005703/0.005703, allocations: 102 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.001351/0.001351, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.4012/0.4012, allocations: 38 MB / 307.9 MB, free: 10.18 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.001765/0.001765, allocations: 72.27 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.318, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.01483/0.3329, allocations: 17.35 MB / 0.4949 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.3445, allocations: 5.501 MB / 0.5003 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.3485, allocations: 121.6 kB / 0.5004 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00906/0.3576, allocations: 4.363 MB / 0.5047 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009165/0.3669, allocations: 2.832 MB / 0.5075 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.3711, allocations: 1.46 MB / 0.5089 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3847, allocations: 8.148 MB / 0.5168 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008684/0.3935, allocations: 5.386 MB / 0.5221 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005758/0.3993, allocations: 2.683 MB / 0.5247 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.4055, allocations: 3.84 MB / 0.5285 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.4072, allocations: 0.543 MB / 0.529 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.411, allocations: 1.615 MB / 0.5306 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.4149, allocations: 3.398 MB / 0.5339 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005338/0.4202, allocations: 3.659 MB / 0.5375 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.4337, allocations: 11.21 MB / 0.5484 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4337, allocations: 4 kB / 0.5484 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4337, allocations: 0 / 0.5484 GB, free: 11.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000348/0.4341, allocations: 4 kB / 0.5484 GB, free: 11.19 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.0178/0.4519, allocations: 8.221 MB / 0.5564 GB, free: 2.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4519, allocations: 11.89 kB / 0.5565 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/0.4763, allocations: 3.673 MB / 0.56 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.4895, allocations: 5.594 MB / 0.5655 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.4898, allocations: 369.8 kB / 0.5659 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.4914, allocations: 0.5152 MB / 0.5664 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/0.5238, allocations: 16.24 MB / 0.5822 GB, free: 7.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.5241, allocations: 79.3 kB / 0.5823 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006465/0.5248, allocations: 231.8 kB / 0.5825 GB, free: 7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004436/0.5292, allocations: 2.926 MB / 0.5854 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.029/0.5582, allocations: 13.68 MB / 0.5987 GB, free: 6.359 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.4369/0.9951, allocations: 64.45 MB / 0.6617 GB, free: 84.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02574/1.021, allocations: 7.83 MB / 0.6693 GB, free: 82.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006964/1.028, allocations: 4.287 MB / 0.6735 GB, free: 80.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03616/1.064, allocations: 19.29 MB / 0.6923 GB, free: 70.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/1.064, allocations: 69.28 kB / 0.6924 GB, free: 70.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 8.245e-06/1.064, allocations: 0 / 0.6924 GB, free: 70.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=366): time 0.1735/1.238, allocations: 51.93 MB / 0.7431 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/1.238, allocations: 273.8 kB / 0.7434 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/1.25, allocations: 6.091 MB / 0.7493 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00126/1.252, allocations: 81.7 kB / 0.7494 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003394/1.255, allocations: 4.681 MB / 0.754 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.257, allocations: 1.352 MB / 0.7553 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005921/1.263, allocations: 1.904 MB / 0.7572 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/1.263, allocations: 301.1 kB / 0.7575 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006244/1.269, allocations: 4.204 MB / 0.7616 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009292/1.279, allocations: 9.436 MB / 0.7708 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02277/1.302, allocations: 14.57 MB / 0.785 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002206/1.302, allocations: 52 kB / 0.785 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04597/1.348, allocations: 17.55 MB / 0.8022 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/1.348, allocations: 84 kB / 0.8023 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004093/1.349, allocations: 180 kB / 0.8024 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01685/1.365, allocations: 4.581 MB / 0.8069 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009196/1.375, allocations: 2.121 MB / 0.809 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04333/1.418, allocations: 25.43 MB / 0.8338 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009258/1.427, allocations: 0.5266 MB / 0.8343 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/1.43, allocations: 0.5356 MB / 0.8348 GB, free: 9.906 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.007874/1.438, allocations: 3.121 MB / 0.8379 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00209/1.44, allocations: 0.5631 MB / 0.8384 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02774/1.467, allocations: 10.71 MB / 0.8489 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-05/1.468, allocations: 39.98 kB / 0.8489 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.686e-05/1.468, allocations: 19.94 kB / 0.849 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001375/1.468, allocations: 19.94 kB / 0.849 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4277/1.896, allocations: 20.31 MB / 0.8688 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.645e-05/1.896, allocations: 1 kB / 0.8688 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/1.899, allocations: 0.5286 MB / 0.8693 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.915, allocations: 4.232 MB / 0.8735 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/1.916, allocations: 68.42 kB / 0.8735 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0339/1.95, allocations: 23.13 MB / 0.8961 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.95, allocations: 5.031 kB / 0.8961 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02932/1.98, allocations: 15.58 MB / 0.9113 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003917/1.984, allocations: 1.182 MB / 0.9125 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002388/1.986, allocations: 59.34 kB / 0.9125 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004324/1.99, allocations: 219.9 kB / 0.9128 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/1.992, allocations: 227.5 kB / 0.913 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006608/1.992, allocations: 98.52 kB / 0.9131 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006796/1.999, allocations: 3.806 MB / 0.9168 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/1.999, allocations: 0 / 0.9168 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01037/2.01, allocations: 1.929 MB / 0.9187 GB, free: 178.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.001098/2.011, allocations: 216.3 kB / 0.9189 GB, free: 178 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01676/2.028, allocations: 10.45 MB / 0.9291 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/2.028, allocations: 0 / 0.9291 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006146/2.034, allocations: 4.086 MB / 0.9331 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/2.041, allocations: 0.7706 MB / 0.9338 GB, free: 163 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/2.066, allocations: 16.25 MB / 0.9497 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/2.071, allocations: 4.867 MB / 0.9544 GB, free: 142 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005841/2.077, allocations: 2.773 MB / 0.9571 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/2.078, allocations: 383.4 kB / 0.9575 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/2.078, allocations: 0 / 0.9575 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1212/2.2, allocations: 80.28 MB / 1.036 GB, free: 58.62 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)