Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.009554/0.009554, allocations: 100.7 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.002096/0.002096, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.785/1.785, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3756/0.3756, allocations: 38 MB / 307.9 MB, free: 10.13 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.001508/0.001508, allocations: 67.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4102, allocations: 56.47 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.0156/0.4259, allocations: 14.8 MB / 0.4924 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.4383, allocations: 4.557 MB / 0.4969 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00472/0.4432, allocations: 86.56 kB / 0.497 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.4487, allocations: 2.4 MB / 0.4993 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007631/0.4563, allocations: 1.916 MB / 0.5012 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.4595, allocations: 0.8989 MB / 0.5021 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007572/0.4671, allocations: 4.126 MB / 0.5061 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006543/0.4737, allocations: 3.504 MB / 0.5095 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.4782, allocations: 1.545 MB / 0.511 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004938/0.4832, allocations: 2.133 MB / 0.5131 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.4853, allocations: 344.8 kB / 0.5134 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.4908, allocations: 1.159 MB / 0.5146 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003728/0.4946, allocations: 1.998 MB / 0.5165 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006783/0.5014, allocations: 2.369 MB / 0.5188 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.5153, allocations: 7.886 MB / 0.5265 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5154, allocations: 0 / 0.5265 GB, free: 1.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5154, allocations: 0 / 0.5265 GB, free: 1.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003556/0.5157, allocations: 4 kB / 0.5265 GB, free: 1.664 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01594/0.5317, allocations: 5.217 MB / 0.5316 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/0.5318, allocations: 11.89 kB / 0.5317 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.5437, allocations: 3.172 MB / 0.5348 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/0.5507, allocations: 2.34 MB / 0.537 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.551, allocations: 250.7 kB / 0.5373 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.5525, allocations: 331.8 kB / 0.5376 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02732/0.5798, allocations: 11.89 MB / 0.5492 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/0.5802, allocations: 35.7 kB / 0.5492 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001722/0.582, allocations: 155.8 kB / 0.5494 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004483/0.5865, allocations: 2.641 MB / 0.552 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02279/0.6093, allocations: 10.99 MB / 0.5627 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06845/0.6778, allocations: 37.34 MB / 0.5992 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.6879, allocations: 4.417 MB / 0.6035 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/0.6919, allocations: 2.166 MB / 0.6056 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.6935, allocations: 1.315 MB / 0.6069 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.713e-05/0.6936, allocations: 56.56 kB / 0.6069 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=244): time 6.843e-06/0.6936, allocations: 0 / 0.6069 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.04381/0.7374, allocations: 13.84 MB / 0.6204 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.7376, allocations: 73.41 kB / 0.6205 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/0.7433, allocations: 2.997 MB / 0.6234 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005453/0.7438, allocations: 69.69 kB / 0.6235 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.7463, allocations: 3.108 MB / 0.6265 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001486/0.7478, allocations: 0.9751 MB / 0.6275 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/0.7504, allocations: 1.199 MB / 0.6287 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7506, allocations: 305.1 kB / 0.629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/0.7545, allocations: 2.397 MB / 0.6313 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2974/1.052, allocations: 5.704 MB / 0.6369 GB, free: 120 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.064, allocations: 8.887 MB / 0.6456 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000253/1.064, allocations: 32.91 kB / 0.6456 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0228/1.087, allocations: 8.814 MB / 0.6542 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/1.087, allocations: 58.3 kB / 0.6542 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004024/1.088, allocations: 118.9 kB / 0.6544 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00491/1.093, allocations: 1.041 MB / 0.6554 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005602/1.098, allocations: 1.38 MB / 0.6567 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/1.101, allocations: 2.613 MB / 0.6593 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/1.106, allocations: 319.3 kB / 0.6596 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.108, allocations: 345 kB / 0.6599 GB, free: 108.6 MB / 0.4981 GB 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.007761/1.116, allocations: 2.376 MB / 0.6622 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.117, allocations: 304.8 kB / 0.6625 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.128, allocations: 5.093 MB / 0.6675 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/1.128, allocations: 50.06 kB / 0.6675 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/1.128, allocations: 7.562 kB / 0.6675 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/1.128, allocations: 10.73 kB / 0.6676 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/1.152, allocations: 11.73 MB / 0.679 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.152, allocations: 7.625 kB / 0.679 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.153, allocations: 427.8 kB / 0.6794 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/1.157, allocations: 0.905 MB / 0.6803 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002745/1.157, allocations: 58.41 kB / 0.6804 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/1.159, allocations: 2.418 MB / 0.6827 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.159, allocations: 11.72 kB / 0.6827 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.17, allocations: 7.557 MB / 0.6901 GB, free: 94.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.171, allocations: 337.2 kB / 0.6904 GB, free: 94.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006992/1.171, allocations: 55.92 kB / 0.6905 GB, free: 94.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.173, allocations: 142.6 kB / 0.6906 GB, free: 94.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/1.173, allocations: 157.6 kB / 0.6908 GB, free: 94.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.173, allocations: 83.72 kB / 0.6909 GB, free: 93.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00223/1.176, allocations: 1.84 MB / 0.6927 GB, free: 92.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.176, allocations: 0 / 0.6927 GB, free: 92.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006468/1.182, allocations: 1.039 MB / 0.6937 GB, free: 91.09 MB / 0.4981 GB 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.0007723/1.183, allocations: 202 kB / 0.6939 GB, free: 90.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00989/1.193, allocations: 6.312 MB / 0.7 GB, free: 84.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.193, allocations: 4 kB / 0.7 GB, free: 84.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004711/1.198, allocations: 2.616 MB / 0.7026 GB, free: 81.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/1.202, allocations: 0.5363 MB / 0.7031 GB, free: 81.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.219, allocations: 11.26 MB / 0.7141 GB, free: 70 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004283/1.223, allocations: 3.659 MB / 0.7177 GB, free: 66.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004557/1.228, allocations: 2.149 MB / 0.7198 GB, free: 64.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00093/1.229, allocations: 247.4 kB / 0.72 GB, free: 63.91 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/1.229, allocations: 0 / 0.72 GB, free: 63.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.05341/1.282, allocations: 33.03 MB / 0.7523 GB, free: 31.02 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)