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.008258/0.008258, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001771/0.001772, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1815/0.1815, allocations: 38.01 MB / 307.9 MB, free: 5.973 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.001477/0.001477, allocations: 67.91 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1317, allocations: 56.47 MB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01329/0.145, allocations: 12.21 MB / 0.4899 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0094/0.1545, allocations: 4.011 MB / 0.4938 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.1569, allocations: 59.88 kB / 0.4939 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.1598, allocations: 1.199 MB / 0.4951 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.1658, allocations: 1.837 MB / 0.4969 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1676, allocations: 495 kB / 0.4973 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006182/0.1738, allocations: 4.126 MB / 0.5014 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.1769, allocations: 1.854 MB / 0.5032 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.1794, allocations: 1.222 MB / 0.5044 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.1822, allocations: 1.764 MB / 0.5061 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.1833, allocations: 232 kB / 0.5063 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.1858, allocations: 1.1 MB / 0.5074 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.1874, allocations: 1.698 MB / 0.509 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.1895, allocations: 1.949 MB / 0.5109 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4012/0.5907, allocations: 6.486 MB / 0.5173 GB, free: 11.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.5908, allocations: 1.875 kB / 0.5173 GB, free: 11.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5908, allocations: 0 / 0.5173 GB, free: 11.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003481/0.5912, allocations: 0 / 0.5173 GB, free: 11.99 MB / 398.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.01617/0.6073, allocations: 4.321 MB / 0.5215 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.6074, allocations: 14.41 kB / 0.5215 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.6217, allocations: 3.169 MB / 0.5246 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008453/0.6302, allocations: 2.181 MB / 0.5267 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005198/0.6308, allocations: 194.5 kB / 0.5269 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/0.6338, allocations: 339.5 kB / 0.5272 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/0.6623, allocations: 10.78 MB / 0.5378 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.6625, allocations: 35.94 kB / 0.5378 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/0.663, allocations: 118.8 kB / 0.5379 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004556/0.6675, allocations: 2.558 MB / 0.5404 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.69, allocations: 10.28 MB / 0.5505 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07505/0.7651, allocations: 35.68 MB / 0.5853 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00955/0.7746, allocations: 4.431 MB / 0.5896 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.779, allocations: 2.202 MB / 0.5918 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.7807, allocations: 1.32 MB / 0.5931 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.7808, allocations: 56.56 kB / 0.5931 GB, free: 4.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 6.963e-06/0.7808, allocations: 0 / 0.5931 GB, free: 4.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=261): time 0.05007/0.8309, allocations: 17.06 MB / 0.6098 GB, free: 3.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001606/0.8325, allocations: 1.623 MB / 0.6114 GB, free: 1.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.8374, allocations: 2.778 MB / 0.6141 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/0.8385, allocations: 61.7 kB / 0.6141 GB, free: 14.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/0.8412, allocations: 2.733 MB / 0.6168 GB, free: 11.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002076/0.8433, allocations: 0.9637 MB / 0.6177 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/0.8451, allocations: 1.14 MB / 0.6189 GB, free: 9.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8452, allocations: 309.2 kB / 0.6191 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/0.8494, allocations: 2.479 MB / 0.6216 GB, free: 6.758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006771/0.8562, allocations: 5.526 MB / 0.627 GB, free: 15.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/0.8694, allocations: 8.697 MB / 0.6355 GB, free: 6.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.8696, allocations: 28 kB / 0.6355 GB, free: 6.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02849/0.8981, allocations: 9.878 MB / 0.6451 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.8982, allocations: 52 kB / 0.6452 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0156/0.9138, allocations: 4.904 MB / 0.65 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/0.9264, allocations: 2.386 MB / 0.6523 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006271/0.9327, allocations: 1.31 MB / 0.6536 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.9433, allocations: 6.368 MB / 0.6598 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007555/0.951, allocations: 395.6 kB / 0.6602 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/0.9529, allocations: 330.2 kB / 0.6605 GB, free: 12.46 MB / 0.5137 GB 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.006242/0.9592, allocations: 2.116 MB / 0.6626 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/0.9599, allocations: 281.4 kB / 0.6628 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.9712, allocations: 5.449 MB / 0.6681 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009506/0.9808, allocations: 4.689 MB / 0.6727 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/0.9808, allocations: 4 kB / 0.6727 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-05/0.9809, allocations: 15.89 kB / 0.6727 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03158/1.012, allocations: 14.71 MB / 0.6871 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/1.013, allocations: 8 kB / 0.6871 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.015, allocations: 430.1 kB / 0.6875 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00475/1.019, allocations: 1.244 MB / 0.6887 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/1.02, allocations: 63.97 kB / 0.6888 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/1.026, allocations: 4.742 MB / 0.6934 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001443/1.027, allocations: 1.556 MB / 0.695 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/1.042, allocations: 8.163 MB / 0.7029 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.044, allocations: 345.4 kB / 0.7033 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.044, allocations: 51.98 kB / 0.7033 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/1.046, allocations: 203.7 kB / 0.7035 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/1.046, allocations: 165.5 kB / 0.7037 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.046, allocations: 78.95 kB / 0.7037 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003055/1.049, allocations: 1.717 MB / 0.7054 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.05, allocations: 0 / 0.7054 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005342/1.055, allocations: 1.077 MB / 0.7065 GB, free: 12.39 MB / 0.5606 GB 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.0005941/1.055, allocations: 206.3 kB / 0.7067 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01202/1.067, allocations: 6.637 MB / 0.7131 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/1.068, allocations: 0 / 0.7131 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005661/1.073, allocations: 2.9 MB / 0.716 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/1.076, allocations: 397.3 kB / 0.7163 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/1.099, allocations: 10.64 MB / 0.7267 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00492/1.104, allocations: 3.308 MB / 0.73 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005254/1.109, allocations: 2.111 MB / 0.732 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/1.11, allocations: 231.4 kB / 0.7323 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/1.11, allocations: 3.938 kB / 0.7323 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.4143/1.524, allocations: 35.31 MB / 0.7667 GB, free: 193 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (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)