Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005162/0.005168, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001128/0.001128, allocations: 199 kB / 16.68 MB, free: 5.914 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.3656/0.3656, allocations: 38 MB / 307.9 MB, free: 10.3 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.001491/0.001491, allocations: 71.84 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4553, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01937/0.4747, allocations: 13.18 MB / 0.4909 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.4887, allocations: 4.165 MB / 0.4949 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004668/0.4934, allocations: 74.88 kB / 0.495 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005911/0.4994, allocations: 1.859 MB / 0.4968 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007993/0.5074, allocations: 1.855 MB / 0.4986 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.5099, allocations: 496.3 kB / 0.4991 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008704/0.5187, allocations: 3.91 MB / 0.5029 GB, free: 4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005639/0.5244, allocations: 2.931 MB / 0.5058 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.5298, allocations: 1.402 MB / 0.5072 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006316/0.5361, allocations: 1.971 MB / 0.5091 GB, free: 288 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002169/0.5384, allocations: 303.9 kB / 0.5094 GB, free: 288 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/0.5434, allocations: 1.129 MB / 0.5105 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00476/0.5482, allocations: 1.843 MB / 0.5123 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008431/0.5567, allocations: 2.201 MB / 0.5144 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.5733, allocations: 7.33 MB / 0.5216 GB, free: 6.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.5734, allocations: 0 / 0.5216 GB, free: 6.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5734, allocations: 0 / 0.5216 GB, free: 6.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004482/0.5738, allocations: 0 / 0.5216 GB, free: 6.773 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.0222/0.5961, allocations: 4.895 MB / 0.5264 GB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.169e-05/0.5962, allocations: 11.89 kB / 0.5264 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.6094, allocations: 3.138 MB / 0.5294 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007301/0.6167, allocations: 2.185 MB / 0.5316 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.617, allocations: 222 kB / 0.5318 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.6186, allocations: 303.8 kB / 0.5321 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.6439, allocations: 11.45 MB / 0.5433 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.6442, allocations: 31.8 kB / 0.5433 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005734/0.6448, allocations: 135.7 kB / 0.5434 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004479/0.6493, allocations: 2.632 MB / 0.546 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/0.6752, allocations: 10.69 MB / 0.5564 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06896/0.7442, allocations: 36.23 MB / 0.5918 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009558/0.7539, allocations: 4.403 MB / 0.5961 GB, free: 8.785 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003678/0.7576, allocations: 2.166 MB / 0.5982 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.7595, allocations: 1.319 MB / 0.5995 GB, free: 5.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.001e-05/0.7596, allocations: 52.56 kB / 0.5996 GB, free: 5.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=244): time 1.035e-05/0.7597, allocations: 0 / 0.5996 GB, free: 5.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.04288/0.8025, allocations: 13.89 MB / 0.6131 GB, free: 7.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.8026, allocations: 73.41 kB / 0.6132 GB, free: 6.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/0.8072, allocations: 2.84 MB / 0.616 GB, free: 4.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005016/0.8077, allocations: 61.64 kB / 0.616 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002421/0.8101, allocations: 2.938 MB / 0.6189 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00164/0.8118, allocations: 0.9712 MB / 0.6198 GB, free: 104 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.8136, allocations: 1.163 MB / 0.621 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8138, allocations: 305.1 kB / 0.6213 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.8176, allocations: 2.362 MB / 0.6236 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006372/0.824, allocations: 5.545 MB / 0.629 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3604/1.184, allocations: 8.678 MB / 0.6375 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/1.185, allocations: 32.14 kB / 0.6375 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02711/1.212, allocations: 8.624 MB / 0.6459 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.212, allocations: 52.69 kB / 0.646 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003297/1.212, allocations: 110.5 kB / 0.6461 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00497/1.217, allocations: 1.044 MB / 0.6471 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005801/1.223, allocations: 1.34 MB / 0.6484 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/1.227, allocations: 2.602 MB / 0.6509 GB, free: 114 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005702/1.233, allocations: 321.6 kB / 0.6513 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.234, allocations: 343.5 kB / 0.6516 GB, free: 113.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (727): * Single equations (assignments): 718 * 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.007086/1.241, allocations: 2.269 MB / 0.6538 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.242, allocations: 289.1 kB / 0.6541 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.255, allocations: 5.078 MB / 0.659 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001306/1.255, allocations: 53.58 kB / 0.6591 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.255, allocations: 1.219 kB / 0.6591 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-05/1.255, allocations: 7.547 kB / 0.6591 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02833/1.284, allocations: 11.54 MB / 0.6704 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/1.284, allocations: 7.906 kB / 0.6704 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.286, allocations: 422.2 kB / 0.6708 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/1.289, allocations: 0.9091 MB / 0.6717 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.289, allocations: 59.14 kB / 0.6717 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/1.292, allocations: 2.414 MB / 0.6741 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/1.292, allocations: 15.5 kB / 0.6741 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.304, allocations: 7.527 MB / 0.6814 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.305, allocations: 327.2 kB / 0.6818 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/1.305, allocations: 54.73 kB / 0.6818 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.307, allocations: 139.4 kB / 0.6819 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/1.307, allocations: 162.3 kB / 0.6821 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/1.307, allocations: 78.56 kB / 0.6822 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002867/1.31, allocations: 1.741 MB / 0.6839 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.31, allocations: 4 kB / 0.6839 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0053/1.315, allocations: 1.009 MB / 0.6849 GB, free: 99.33 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.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.0005071/1.316, allocations: 197.8 kB / 0.685 GB, free: 99.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.325, allocations: 6.241 MB / 0.6911 GB, free: 92.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.325, allocations: 384 / 0.6911 GB, free: 92.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003949/1.329, allocations: 2.618 MB / 0.6937 GB, free: 90.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.332, allocations: 462 kB / 0.6941 GB, free: 89.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.349, allocations: 10.84 MB / 0.7047 GB, free: 78.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/1.353, allocations: 3.508 MB / 0.7082 GB, free: 75.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004329/1.357, allocations: 2.085 MB / 0.7102 GB, free: 73.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/1.358, allocations: 243.4 kB / 0.7104 GB, free: 72.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3.717e-06/1.358, allocations: 3.938 kB / 0.7104 GB, free: 72.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.06224/1.42, allocations: 31.59 MB / 0.7413 GB, free: 41.42 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)