Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001571/0.001571, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.791/1.791, allocations: 205.1 MB / 222 MB, free: 4.734 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.2994/0.2994, allocations: 39.93 MB / 309.3 MB, free: 9.32 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.001266/0.001266, allocations: 67.89 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1155, allocations: 56.88 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2213/0.3368, allocations: 34.85 MB / 468.7 MB, free: 33.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.3504, allocations: 7.949 MB / 476.6 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006367/0.3568, allocations: 152.4 kB / 476.8 MB, free: 29.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.3606, allocations: 2.052 MB / 478.8 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.3644, allocations: 1.592 MB / 480.4 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3657, allocations: 0.6321 MB / 481 MB, free: 27.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005181/0.3709, allocations: 5.441 MB / 486.5 MB, free: 25.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003094/0.374, allocations: 2.583 MB / 489.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.3755, allocations: 1.187 MB / 490.2 MB, free: 24.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.3777, allocations: 1.992 MB / 492.2 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005321/0.3782, allocations: 186.3 kB / 492.4 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.3803, allocations: 1.169 MB / 493.6 MB, free: 23.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.3821, allocations: 1.615 MB / 495.2 MB, free: 23.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.3844, allocations: 1.841 MB / 497 MB, free: 21.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00767/0.392, allocations: 5.941 MB / 0.4912 GB, free: 19.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3921, allocations: 1.969 kB / 0.4912 GB, free: 19.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3921, allocations: 0 / 0.4912 GB, free: 19.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001933/0.3923, allocations: 0 / 0.4912 GB, free: 19.77 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01022/0.4025, allocations: 4.222 MB / 0.4953 GB, free: 17.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4026, allocations: 12.38 kB / 0.4953 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.4187, allocations: 2.429 MB / 0.4977 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008291/0.4271, allocations: 2.454 MB / 0.5001 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.4273, allocations: 197.6 kB / 0.5003 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.4289, allocations: 275.4 kB / 0.5006 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.445, allocations: 8.575 MB / 0.5089 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.4452, allocations: 35.91 kB / 0.509 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/0.4456, allocations: 131.7 kB / 0.5091 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.4484, allocations: 1.739 MB / 0.5108 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.4628, allocations: 7.285 MB / 0.5179 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.5056, allocations: 34.18 MB / 0.5513 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008712/0.5144, allocations: 3.488 MB / 0.5547 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.5169, allocations: 1.717 MB / 0.5564 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.5288, allocations: 7.416 MB / 0.5636 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.5288, allocations: 55.44 kB / 0.5637 GB, free: 1.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=151): time 4.197e-06/0.5289, allocations: 4 kB / 0.5637 GB, free: 1.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.06385/0.5927, allocations: 19.63 MB / 0.5828 GB, free: 14.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5929, allocations: 205.2 kB / 0.583 GB, free: 13.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/0.5985, allocations: 3.75 MB / 0.5867 GB, free: 10.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003792/0.5989, allocations: 53.7 kB / 0.5867 GB, free: 10.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.6006, allocations: 2.803 MB / 0.5895 GB, free: 7.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008347/0.6015, allocations: 0.7135 MB / 0.5902 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/0.6031, allocations: 1.202 MB / 0.5913 GB, free: 5.238 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.6032, allocations: 309.1 kB / 0.5916 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.6063, allocations: 2.202 MB / 0.5938 GB, free: 2.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005674/0.612, allocations: 5.762 MB / 0.5994 GB, free: 11.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/0.6266, allocations: 8.591 MB / 0.6078 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/0.6269, allocations: 40 kB / 0.6078 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02079/0.6477, allocations: 9.167 MB / 0.6168 GB, free: 7.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.6478, allocations: 60 kB / 0.6169 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.6479, allocations: 126 kB / 0.617 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005578/0.6535, allocations: 1.664 MB / 0.6186 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/0.6579, allocations: 1.326 MB / 0.6199 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2277/0.8856, allocations: 9.239 MB / 0.6289 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/0.8907, allocations: 313 kB / 0.6292 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009907/0.8917, allocations: 364.3 kB / 0.6296 GB, free: 142.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003224/0.8949, allocations: 1.896 MB / 0.6314 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006159/0.8956, allocations: 326.5 kB / 0.6317 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008142/0.9037, allocations: 4.13 MB / 0.6358 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.9038, allocations: 24.09 kB / 0.6358 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.9038, allocations: 12.62 kB / 0.6358 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/0.9038, allocations: 11 kB / 0.6358 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.9197, allocations: 8.536 MB / 0.6441 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.9198, allocations: 7.094 kB / 0.6441 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.9209, allocations: 246.3 kB / 0.6444 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/0.9258, allocations: 1.432 MB / 0.6458 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/0.9261, allocations: 36.12 kB / 0.6458 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.9374, allocations: 8.555 MB / 0.6542 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9375, allocations: 1.25 kB / 0.6542 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.9526, allocations: 6.72 MB / 0.6607 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/0.9548, allocations: 0.6233 MB / 0.6613 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/0.956, allocations: 29.28 kB / 0.6614 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.9578, allocations: 93.42 kB / 0.6615 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/0.9583, allocations: 110.3 kB / 0.6616 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.9584, allocations: 57.91 kB / 0.6616 GB, free: 130.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004637/0.9631, allocations: 2.329 MB / 0.6639 GB, free: 129.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9631, allocations: 0 / 0.6639 GB, free: 129.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00568/0.9688, allocations: 0.9961 MB / 0.6649 GB, free: 129.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0005072/0.9693, allocations: 172.8 kB / 0.665 GB, free: 129.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007635/0.9769, allocations: 5.404 MB / 0.6703 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.977, allocations: 0 / 0.6703 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.9791, allocations: 1.803 MB / 0.6721 GB, free: 127.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.9818, allocations: 366.5 kB / 0.6724 GB, free: 127 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.9945, allocations: 10.37 MB / 0.6825 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/0.9969, allocations: 2.97 MB / 0.6854 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003764/1.001, allocations: 1.814 MB / 0.6872 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/1.001, allocations: 221.6 kB / 0.6874 GB, free: 119.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.001, allocations: 6.297 kB / 0.6874 GB, free: 119.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05608/1.057, allocations: 37.69 MB / 0.7242 GB, free: 81.87 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)