Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00155/0.00155, allocations: 201 kB / 16.14 MB, free: 6.77 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.476/1.476, allocations: 205.1 MB / 222 MB, free: 4.77 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.319/0.319, allocations: 39.93 MB / 309.3 MB, free: 9.605 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.001484/0.001484, allocations: 67.92 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 56.88 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2659/0.4021, allocations: 29.62 MB / 463.4 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.4183, allocations: 6.931 MB / 470.4 MB, free: 33.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008468/0.4268, allocations: 119.3 kB / 470.5 MB, free: 33.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.4299, allocations: 1.159 MB / 471.6 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.4352, allocations: 1.711 MB / 473.3 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.4367, allocations: 458 kB / 473.8 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005818/0.4425, allocations: 5.67 MB / 479.5 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.4448, allocations: 1.824 MB / 481.3 MB, free: 30.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4463, allocations: 1.057 MB / 482.3 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.4485, allocations: 1.863 MB / 484.2 MB, free: 29.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004739/0.449, allocations: 159.3 kB / 484.4 MB, free: 29.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.4513, allocations: 1.094 MB / 485.5 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.4526, allocations: 1.638 MB / 487.1 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.4542, allocations: 1.901 MB / 489 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008769/0.463, allocations: 6.134 MB / 495.1 MB, free: 25.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.463, allocations: 1.156 kB / 495.1 MB, free: 25.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.463, allocations: 0 / 495.1 MB, free: 25.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002653/0.4633, allocations: 0 / 495.1 MB, free: 25.2 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.01351/0.4768, allocations: 4.32 MB / 499.4 MB, free: 22.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4769, allocations: 9.781 kB / 499.5 MB, free: 22.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.4891, allocations: 3.17 MB / 0.4908 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005956/0.4951, allocations: 2.162 MB / 0.493 GB, free: 20.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4954, allocations: 193.9 kB / 0.4931 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.4974, allocations: 337.2 kB / 0.4935 GB, free: 20.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.5194, allocations: 10.79 MB / 0.504 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.5195, allocations: 24.19 kB / 0.504 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005308/0.5201, allocations: 121.2 kB / 0.5041 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003652/0.5237, allocations: 2.559 MB / 0.5066 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.5459, allocations: 10.29 MB / 0.5167 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06144/0.6074, allocations: 35.88 MB / 0.5517 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009128/0.6166, allocations: 4.426 MB / 0.556 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003849/0.6205, allocations: 2.202 MB / 0.5582 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.6219, allocations: 1.327 MB / 0.5595 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.622, allocations: 56.56 kB / 0.5595 GB, free: 6.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 6.462e-06/0.622, allocations: 0 / 0.5595 GB, free: 6.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.04019/0.6622, allocations: 17.05 MB / 0.5762 GB, free: 5.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001464/0.6637, allocations: 1.547 MB / 0.5777 GB, free: 3.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.6678, allocations: 2.782 MB / 0.5804 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005856/0.6684, allocations: 57.69 kB / 0.5805 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.6703, allocations: 2.729 MB / 0.5831 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.6714, allocations: 0.9675 MB / 0.5841 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/0.6731, allocations: 1.143 MB / 0.5852 GB, free: 11.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.6732, allocations: 301.1 kB / 0.5855 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/0.6769, allocations: 2.479 MB / 0.5879 GB, free: 9.156 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005884/0.6827, allocations: 5.533 MB / 0.5933 GB, free: 2.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.6943, allocations: 8.697 MB / 0.6018 GB, free: 7.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.6944, allocations: 28 kB / 0.6018 GB, free: 7.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02555/0.72, allocations: 9.876 MB / 0.6115 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/0.7201, allocations: 51.98 kB / 0.6115 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01412/0.7342, allocations: 4.906 MB / 0.6163 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/0.7452, allocations: 2.382 MB / 0.6186 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00493/0.7502, allocations: 1.302 MB / 0.6199 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3338/1.084, allocations: 5.841 MB / 0.6256 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.09, allocations: 403.7 kB / 0.626 GB, free: 143 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.091, allocations: 326.7 kB / 0.6263 GB, free: 143 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.005058/1.096, allocations: 2.119 MB / 0.6284 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006146/1.097, allocations: 278.5 kB / 0.6286 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009536/1.106, allocations: 5.448 MB / 0.634 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007637/1.114, allocations: 4.688 MB / 0.6385 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.114, allocations: 7.125 kB / 0.6386 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.114, allocations: 10.83 kB / 0.6386 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/1.144, allocations: 14.74 MB / 0.653 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/1.144, allocations: 8.969 kB / 0.653 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.146, allocations: 420.9 kB / 0.6534 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004554/1.151, allocations: 1.244 MB / 0.6546 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/1.151, allocations: 65.86 kB / 0.6546 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/1.156, allocations: 4.431 MB / 0.659 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009643/1.157, allocations: 1.47 MB / 0.6604 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.172, allocations: 8.173 MB / 0.6684 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.173, allocations: 334.7 kB / 0.6687 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/1.173, allocations: 51.17 kB / 0.6688 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.175, allocations: 203.8 kB / 0.669 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.175, allocations: 170.2 kB / 0.6691 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.176, allocations: 81.84 kB / 0.6692 GB, free: 127.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003064/1.179, allocations: 1.714 MB / 0.6709 GB, free: 127.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.179, allocations: 0 / 0.6709 GB, free: 127.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005516/1.184, allocations: 1.087 MB / 0.6719 GB, free: 127.1 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.000598/1.185, allocations: 205.7 kB / 0.6721 GB, free: 127 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.195, allocations: 6.582 MB / 0.6786 GB, free: 124.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.195, allocations: 0 / 0.6786 GB, free: 124.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00499/1.2, allocations: 2.898 MB / 0.6814 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/1.204, allocations: 381.3 kB / 0.6817 GB, free: 123.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.224, allocations: 12.83 MB / 0.6943 GB, free: 112 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/1.227, allocations: 3.315 MB / 0.6975 GB, free: 108.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004376/1.232, allocations: 2.107 MB / 0.6996 GB, free: 106.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/1.232, allocations: 227.4 kB / 0.6998 GB, free: 106.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.153e-06/1.233, allocations: 0 / 0.6998 GB, free: 106.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05922/1.292, allocations: 36.37 MB / 0.7353 GB, free: 70.07 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)