Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009327, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0067/0.0067, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.481/1.481, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.3253/0.3253, allocations: 38.03 MB / 308.8 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.0006602/0.00066, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1362, allocations: 57.53 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2486/0.3848, allocations: 28.68 MB / 463.2 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.4016, allocations: 6.878 MB / 470.1 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005175/0.4069, allocations: 122 kB / 470.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.408, allocations: 437.8 kB / 470.7 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.4118, allocations: 1.723 MB / 472.4 MB, free: 32.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4129, allocations: 464.1 kB / 472.8 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.4178, allocations: 5.666 MB / 478.5 MB, free: 30.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.4204, allocations: 2.344 MB / 480.9 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.4216, allocations: 0.9936 MB / 481.9 MB, free: 29.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.4234, allocations: 1.782 MB / 483.6 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003199/0.4237, allocations: 132.9 kB / 483.8 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.4254, allocations: 1.061 MB / 484.8 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.4265, allocations: 1.614 MB / 486.4 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.4278, allocations: 1.874 MB / 488.3 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007927/0.4358, allocations: 6.002 MB / 494.3 MB, free: 25.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4358, allocations: 0 / 494.3 MB, free: 25.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4358, allocations: 0 / 494.3 MB, free: 25.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.436, allocations: 4 kB / 494.3 MB, free: 25.74 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.007939/0.444, allocations: 3.551 MB / 497.9 MB, free: 23.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4441, allocations: 14.7 kB / 497.9 MB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.4572, allocations: 3.26 MB / 0.4894 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.4639, allocations: 2.168 MB / 0.4915 GB, free: 21.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.4642, allocations: 188.7 kB / 0.4917 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.4657, allocations: 337.1 kB / 0.492 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.4827, allocations: 10.8 MB / 0.5026 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.693e-05/0.4829, allocations: 23.44 kB / 0.5026 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.4833, allocations: 120.7 kB / 0.5027 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004433/0.4877, allocations: 2.565 MB / 0.5052 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.5041, allocations: 10.3 MB / 0.5153 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05965/0.5638, allocations: 35.88 MB / 0.5503 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00887/0.5727, allocations: 4.423 MB / 0.5546 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.5764, allocations: 2.205 MB / 0.5568 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.5778, allocations: 1.321 MB / 0.5581 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/0.5779, allocations: 56.5 kB / 0.5581 GB, free: 9.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 6.783e-06/0.5779, allocations: 0 / 0.5581 GB, free: 9.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.05019/0.6281, allocations: 17.06 MB / 0.5748 GB, free: 8.758 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001875/0.63, allocations: 1.539 MB / 0.5763 GB, free: 7.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006338/0.6364, allocations: 2.778 MB / 0.579 GB, free: 4.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008492/0.6373, allocations: 57.7 kB / 0.579 GB, free: 4.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002543/0.6399, allocations: 2.73 MB / 0.5817 GB, free: 1.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001798/0.6417, allocations: 0.959 MB / 0.5826 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.6432, allocations: 0.4989 MB / 0.5831 GB, free: 12 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6433, allocations: 301.1 kB / 0.5834 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004911/0.6482, allocations: 2.486 MB / 0.5859 GB, free: 13.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007535/0.6558, allocations: 5.529 MB / 0.5913 GB, free: 6.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/0.6681, allocations: 8.691 MB / 0.5997 GB, free: 12.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.6683, allocations: 32 kB / 0.5998 GB, free: 12.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02581/0.6941, allocations: 9.872 MB / 0.6094 GB, free: 2.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.6943, allocations: 56.98 kB / 0.6095 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01546/0.7098, allocations: 4.904 MB / 0.6143 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/0.7218, allocations: 2.378 MB / 0.6166 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004694/0.7265, allocations: 1.306 MB / 0.6179 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008879/0.7355, allocations: 5.837 MB / 0.6236 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005174/0.7407, allocations: 407.5 kB / 0.6239 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/0.742, allocations: 328 kB / 0.6243 GB, free: 2.625 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005617/0.7477, allocations: 2.113 MB / 0.6263 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009447/0.7486, allocations: 280.4 kB / 0.6266 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2302/0.9789, allocations: 5.451 MB / 0.6319 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00939/0.9883, allocations: 4.698 MB / 0.6365 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/0.9883, allocations: 7.094 kB / 0.6365 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/0.9884, allocations: 9.938 kB / 0.6365 GB, free: 145.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02574/1.014, allocations: 14.74 MB / 0.6509 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.272e-05/1.014, allocations: 12.66 kB / 0.6509 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.016, allocations: 423.7 kB / 0.6513 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004576/1.021, allocations: 1.243 MB / 0.6525 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/1.021, allocations: 65.61 kB / 0.6526 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/1.026, allocations: 4.438 MB / 0.6569 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007751/1.026, allocations: 1.47 MB / 0.6584 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.041, allocations: 8.17 MB / 0.6663 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.042, allocations: 341 kB / 0.6667 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/1.043, allocations: 57.44 kB / 0.6667 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.044, allocations: 196.1 kB / 0.6669 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/1.045, allocations: 173.3 kB / 0.6671 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.045, allocations: 81.66 kB / 0.6672 GB, free: 133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002652/1.048, allocations: 1.717 MB / 0.6688 GB, free: 132.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.62e-07/1.048, allocations: 0 / 0.6688 GB, free: 132.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004451/1.052, allocations: 1.086 MB / 0.6699 GB, free: 132.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000462/1.053, allocations: 207.3 kB / 0.6701 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009536/1.062, allocations: 6.571 MB / 0.6765 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.062, allocations: 0 / 0.6765 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004156/1.066, allocations: 2.902 MB / 0.6793 GB, free: 128.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005987/1.072, allocations: 375.4 kB / 0.6797 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/1.092, allocations: 13.01 MB / 0.6924 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004753/1.096, allocations: 3.309 MB / 0.6956 GB, free: 114.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004774/1.101, allocations: 2.111 MB / 0.6977 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.102, allocations: 231.4 kB / 0.6979 GB, free: 112 MB / 494.1 MB Notification: Performance of SimCode: time 1.263e-06/1.102, allocations: 0 / 0.6979 GB, free: 112 MB / 494.1 MB Notification: Performance of Templates: time 0.0539/1.156, allocations: 35.81 MB / 0.7329 GB, free: 76.27 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) Environment - environmentSimulation: