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.001317/0.001317, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.47/1.47, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.2996/0.2996, allocations: 37.99 MB / 307.8 MB, free: 10.05 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.001548/0.001548, allocations: 76.53 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1246, allocations: 56.47 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.01701/0.1416, allocations: 17.35 MB / 449.1 MB, free: 5.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2259/0.3675, allocations: 5.484 MB / 454.6 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.3714, allocations: 120.7 kB / 454.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007334/0.3788, allocations: 4.361 MB / 459 MB, free: 35.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006921/0.3857, allocations: 2.752 MB / 461.8 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.389, allocations: 1.456 MB / 463.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.4017, allocations: 8.14 MB / 471.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007912/0.4096, allocations: 5.39 MB / 476.8 MB, free: 32.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/0.4149, allocations: 2.686 MB / 479.5 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007934/0.4228, allocations: 3.833 MB / 483.3 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002742/0.4256, allocations: 0.5382 MB / 483.8 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.43, allocations: 1.607 MB / 485.4 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004569/0.4346, allocations: 3.349 MB / 488.8 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007032/0.4417, allocations: 3.659 MB / 492.4 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.4586, allocations: 10.87 MB / 0.4915 GB, free: 21.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4587, allocations: 1.688 kB / 0.4915 GB, free: 21.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.4587, allocations: 0 / 0.4915 GB, free: 21.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005397/0.4593, allocations: 5.188 kB / 0.4915 GB, free: 21.32 MB / 382.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.03407/0.4933, allocations: 8.221 MB / 0.4996 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4934, allocations: 14.27 kB / 0.4996 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03307/0.5265, allocations: 3.681 MB / 0.5032 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.5417, allocations: 5.488 MB / 0.5085 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.5421, allocations: 373.6 kB / 0.5089 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003371/0.5455, allocations: 0.5122 MB / 0.5094 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/0.5892, allocations: 16.23 MB / 0.5252 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005093/0.5897, allocations: 83.2 kB / 0.5253 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/0.5922, allocations: 236.8 kB / 0.5255 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005545/0.5978, allocations: 2.914 MB / 0.5284 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03364/0.6315, allocations: 13.69 MB / 0.5417 GB, free: 7.645 MB / 414.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.1101/0.7416, allocations: 64.77 MB / 0.605 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0258/0.7675, allocations: 7.822 MB / 0.6126 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007424/0.7749, allocations: 4.279 MB / 0.6168 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3027/1.078, allocations: 19.29 MB / 0.6356 GB, free: 143 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.078, allocations: 72.47 kB / 0.6357 GB, free: 142.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 5.21e-06/1.078, allocations: 0 / 0.6357 GB, free: 142.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1768/1.255, allocations: 51.92 MB / 0.6864 GB, free: 125.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.255, allocations: 273.8 kB / 0.6867 GB, free: 125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/1.265, allocations: 6.095 MB / 0.6926 GB, free: 118.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001394/1.266, allocations: 84.98 kB / 0.6927 GB, free: 118.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00276/1.269, allocations: 4.68 MB / 0.6973 GB, free: 114.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002306/1.271, allocations: 1.35 MB / 0.6986 GB, free: 112.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002894/1.274, allocations: 1.904 MB / 0.7005 GB, free: 110.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/1.274, allocations: 305.1 kB / 0.7008 GB, free: 110.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005312/1.28, allocations: 4.196 MB / 0.7049 GB, free: 106.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008994/1.289, allocations: 9.428 MB / 0.7141 GB, free: 94.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.304, allocations: 14.57 MB / 0.7283 GB, free: 77.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/1.305, allocations: 52 kB / 0.7283 GB, free: 77.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03619/1.341, allocations: 17.55 MB / 0.7455 GB, free: 59.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.341, allocations: 80 kB / 0.7456 GB, free: 59.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.341, allocations: 184 kB / 0.7457 GB, free: 59.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01396/1.355, allocations: 4.595 MB / 0.7502 GB, free: 54.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007909/1.363, allocations: 2.113 MB / 0.7523 GB, free: 52.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/1.394, allocations: 25.46 MB / 0.7771 GB, free: 26.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.405, allocations: 0.5228 MB / 0.7776 GB, free: 26.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0025/1.407, allocations: 0.539 MB / 0.7782 GB, free: 25.85 MB / 494.1 MB 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.008036/1.415, allocations: 3.119 MB / 0.7812 GB, free: 22.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.417, allocations: 0.5631 MB / 0.7818 GB, free: 22.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/1.439, allocations: 10.71 MB / 0.7922 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.615e-05/1.439, allocations: 43.83 kB / 0.7923 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/1.439, allocations: 16 kB / 0.7923 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/1.439, allocations: 19.94 kB / 0.7923 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3242/1.763, allocations: 20.47 MB / 0.8123 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/1.763, allocations: 3.906 kB / 0.8123 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/1.766, allocations: 0.5272 MB / 0.8128 GB, free: 142.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01376/1.78, allocations: 4.249 MB / 0.817 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/1.781, allocations: 67.84 kB / 0.817 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03055/1.812, allocations: 23.11 MB / 0.8396 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.812, allocations: 5.062 kB / 0.8396 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03668/1.849, allocations: 15.58 MB / 0.8548 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004667/1.853, allocations: 1.173 MB / 0.856 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/1.855, allocations: 59.06 kB / 0.856 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003308/1.858, allocations: 229.4 kB / 0.8562 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008576/1.859, allocations: 224.9 kB / 0.8565 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.859, allocations: 98.78 kB / 0.8566 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006973/1.866, allocations: 3.804 MB / 0.8603 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.866, allocations: 0 / 0.8603 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01254/1.879, allocations: 1.923 MB / 0.8621 GB, free: 126 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.00116/1.88, allocations: 225.7 kB / 0.8624 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02635/1.906, allocations: 15.14 MB / 0.8771 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.906, allocations: 11.66 kB / 0.8772 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005759/1.912, allocations: 4.079 MB / 0.8811 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/1.918, allocations: 0.7783 MB / 0.8819 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/1.947, allocations: 16.41 MB / 0.8979 GB, free: 99.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00649/1.953, allocations: 4.863 MB / 0.9027 GB, free: 94.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00861/1.962, allocations: 2.781 MB / 0.9054 GB, free: 92.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/1.964, allocations: 383.4 kB / 0.9058 GB, free: 91.78 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/1.964, allocations: 0 / 0.9058 GB, free: 91.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.1478/2.112, allocations: 84.93 MB / 0.9887 GB, free: 6.918 MB / 0.4981 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)