Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001521/0.001521, allocations: 193.5 kB / 16.14 MB, free: 6.656 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.737/1.737, allocations: 205.1 MB / 222 MB, free: 4.727 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.4308/0.4308, allocations: 39.94 MB / 309.3 MB, free: 9.703 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.001331/0.001331, allocations: 63.91 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1608, allocations: 56.89 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3806/0.5415, allocations: 46.18 MB / 480 MB, free: 26.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03094/0.5725, allocations: 9.878 MB / 489.9 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01386/0.5864, allocations: 200.5 kB / 490.1 MB, free: 20.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.5917, allocations: 2.365 MB / 492.4 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.5979, allocations: 1.791 MB / 494.2 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.6004, allocations: 0.8665 MB / 495.1 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008436/0.6088, allocations: 5.898 MB / 0.4892 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007259/0.6161, allocations: 3.445 MB / 0.4926 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.6201, allocations: 1.342 MB / 0.4939 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005162/0.6253, allocations: 2.234 MB / 0.4961 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.6264, allocations: 246.5 kB / 0.4963 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.6297, allocations: 1.138 MB / 0.4974 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003013/0.6328, allocations: 1.921 MB / 0.4993 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.6367, allocations: 2.287 MB / 0.5016 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.6493, allocations: 7.451 MB / 0.5088 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6494, allocations: 1.219 kB / 0.5088 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6494, allocations: 0 / 0.5088 GB, free: 7.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003693/0.6497, allocations: 3.938 kB / 0.5088 GB, free: 7.859 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01812/0.6679, allocations: 5.219 MB / 0.5139 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.6679, allocations: 8.875 kB / 0.5139 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.6792, allocations: 3.177 MB / 0.517 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007021/0.6862, allocations: 2.314 MB / 0.5193 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.6865, allocations: 247.8 kB / 0.5195 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/0.6883, allocations: 334.7 kB / 0.5199 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.7155, allocations: 11.9 MB / 0.5315 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.7157, allocations: 23.81 kB / 0.5315 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/0.7163, allocations: 147.8 kB / 0.5316 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0043/0.7206, allocations: 2.652 MB / 0.5342 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03589/0.7565, allocations: 11 MB / 0.545 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/0.8664, allocations: 37.57 MB / 0.5817 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009398/0.8758, allocations: 4.417 MB / 0.586 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/0.8793, allocations: 2.162 MB / 0.5881 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.8806, allocations: 1.323 MB / 0.5894 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.8806, allocations: 52.56 kB / 0.5894 GB, free: 8.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 4.569e-06/0.8807, allocations: 0 / 0.5894 GB, free: 8.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04175/0.9224, allocations: 13.84 MB / 0.6029 GB, free: 10.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.9225, allocations: 73.41 kB / 0.603 GB, free: 10.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005417/0.928, allocations: 2.989 MB / 0.6059 GB, free: 7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008548/0.9289, allocations: 65.7 kB / 0.606 GB, free: 6.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002676/0.9316, allocations: 3.112 MB / 0.609 GB, free: 3.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.9332, allocations: 0.9752 MB / 0.61 GB, free: 2.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.9351, allocations: 1.199 MB / 0.6112 GB, free: 1.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9353, allocations: 301.1 kB / 0.6114 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/0.9391, allocations: 2.401 MB / 0.6138 GB, free: 14.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/0.9454, allocations: 5.705 MB / 0.6194 GB, free: 7.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2822/1.228, allocations: 8.891 MB / 0.628 GB, free: 140.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/1.228, allocations: 33.59 kB / 0.6281 GB, free: 140.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01753/1.245, allocations: 8.812 MB / 0.6367 GB, free: 138.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/1.245, allocations: 56.78 kB / 0.6367 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/1.246, allocations: 114.5 kB / 0.6368 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/1.249, allocations: 1.046 MB / 0.6379 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004955/1.254, allocations: 1.375 MB / 0.6392 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/1.256, allocations: 2.488 MB / 0.6416 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004774/1.261, allocations: 322 kB / 0.6419 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.262, allocations: 350 kB / 0.6423 GB, free: 136.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (748): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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 {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.00495/1.267, allocations: 2.371 MB / 0.6446 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/1.268, allocations: 296.4 kB / 0.6449 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/1.276, allocations: 5.107 MB / 0.6499 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/1.276, allocations: 43.81 kB / 0.6499 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.276, allocations: 6.969 kB / 0.6499 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.276, allocations: 13.73 kB / 0.6499 GB, free: 133.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/1.3, allocations: 11.78 MB / 0.6614 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/1.3, allocations: 12.12 kB / 0.6614 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.302, allocations: 421.6 kB / 0.6618 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/1.306, allocations: 0.9084 MB / 0.6627 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004557/1.306, allocations: 64.25 kB / 0.6628 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/1.309, allocations: 2.275 MB / 0.665 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.309, allocations: 12.5 kB / 0.665 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.321, allocations: 7.559 MB / 0.6724 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.323, allocations: 337.1 kB / 0.6727 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.323, allocations: 57.59 kB / 0.6728 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.324, allocations: 143.2 kB / 0.6729 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/1.325, allocations: 157.9 kB / 0.6731 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.325, allocations: 82.42 kB / 0.6731 GB, free: 125.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003254/1.328, allocations: 1.834 MB / 0.6749 GB, free: 124.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.328, allocations: 0 / 0.6749 GB, free: 124.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005956/1.334, allocations: 1.04 MB / 0.6759 GB, free: 124.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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 {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.0006936/1.335, allocations: 204 kB / 0.6761 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.345, allocations: 6.282 MB / 0.6823 GB, free: 121.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.345, allocations: 0 / 0.6823 GB, free: 121.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004413/1.35, allocations: 2.611 MB / 0.6848 GB, free: 119.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.353, allocations: 0.4939 MB / 0.6853 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/1.376, allocations: 13.82 MB / 0.6988 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004239/1.38, allocations: 3.665 MB / 0.7024 GB, free: 103.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005458/1.386, allocations: 2.148 MB / 0.7045 GB, free: 101.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.387, allocations: 253.7 kB / 0.7047 GB, free: 101.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.224e-06/1.387, allocations: 0 / 0.7047 GB, free: 101.5 MB / 494.1 MB Notification: Performance of Templates: time 0.06247/1.449, allocations: 34.64 MB / 0.7385 GB, free: 67.07 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)