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.007197/0.007197, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001247/0.001247, allocations: 193.1 kB / 16.67 MB, free: 5.969 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.719/1.719, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3933/0.3933, allocations: 37.99 MB / 307.9 MB, free: 10 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.001493/0.001493, allocations: 63.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3798, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01821/0.3981, allocations: 14.79 MB / 0.4924 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.4105, allocations: 4.562 MB / 0.4969 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004857/0.4154, allocations: 85.75 kB / 0.497 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005859/0.4213, allocations: 2.401 MB / 0.4993 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007504/0.4289, allocations: 1.916 MB / 0.5012 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.4316, allocations: 0.903 MB / 0.5021 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008123/0.4398, allocations: 4.127 MB / 0.5061 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005116/0.445, allocations: 3.484 MB / 0.5095 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.4491, allocations: 1.545 MB / 0.511 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.4536, allocations: 2.132 MB / 0.5131 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.455, allocations: 344.2 kB / 0.5134 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.4589, allocations: 1.161 MB / 0.5146 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003231/0.4621, allocations: 2.005 MB / 0.5165 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003804/0.4659, allocations: 2.366 MB / 0.5188 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.4765, allocations: 7.886 MB / 0.5265 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4765, allocations: 0 / 0.5265 GB, free: 1.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4765, allocations: 0 / 0.5265 GB, free: 1.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.4768, allocations: 3.938 kB / 0.5265 GB, free: 1.691 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.01294/0.4898, allocations: 5.221 MB / 0.5316 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4898, allocations: 11.89 kB / 0.5316 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.5007, allocations: 3.169 MB / 0.5347 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/0.5073, allocations: 2.352 MB / 0.537 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.5076, allocations: 246.7 kB / 0.5373 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.509, allocations: 331.8 kB / 0.5376 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/0.532, allocations: 11.89 MB / 0.5492 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.5322, allocations: 27.72 kB / 0.5492 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005774/0.5328, allocations: 147.8 kB / 0.5494 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004744/0.5375, allocations: 2.66 MB / 0.552 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/0.5609, allocations: 10.98 MB / 0.5627 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06887/0.6298, allocations: 37.35 MB / 0.5992 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/0.6401, allocations: 4.405 MB / 0.6035 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/0.6439, allocations: 2.162 MB / 0.6056 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.6453, allocations: 1.319 MB / 0.6069 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.6454, allocations: 56.56 kB / 0.6069 GB, free: 13.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=244): time 5.811e-06/0.6454, allocations: 0 / 0.6069 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.04414/0.6896, allocations: 13.84 MB / 0.6204 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.6897, allocations: 73.41 kB / 0.6205 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00556/0.6953, allocations: 2.985 MB / 0.6234 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006302/0.6959, allocations: 61.7 kB / 0.6235 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/0.6984, allocations: 3.116 MB / 0.6265 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/0.7, allocations: 0.979 MB / 0.6275 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004112/0.7041, allocations: 1.195 MB / 0.6286 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7043, allocations: 305.1 kB / 0.6289 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/0.7087, allocations: 2.401 MB / 0.6313 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3192/1.028, allocations: 5.699 MB / 0.6368 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.038, allocations: 8.894 MB / 0.6455 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000166/1.038, allocations: 32.47 kB / 0.6456 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01847/1.057, allocations: 8.814 MB / 0.6542 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.057, allocations: 55.97 kB / 0.6542 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/1.057, allocations: 114.7 kB / 0.6543 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/1.061, allocations: 1.049 MB / 0.6554 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005106/1.066, allocations: 1.381 MB / 0.6567 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/1.069, allocations: 2.618 MB / 0.6593 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/1.073, allocations: 317.7 kB / 0.6596 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008108/1.074, allocations: 352 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.004381/1.079, allocations: 2.368 MB / 0.6622 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/1.079, allocations: 303.6 kB / 0.6625 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009193/1.088, allocations: 5.096 MB / 0.6675 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.916e-05/1.088, allocations: 47.45 kB / 0.6675 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.088, allocations: 1.719 kB / 0.6675 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/1.089, allocations: 11.14 kB / 0.6675 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.108, allocations: 11.73 MB / 0.679 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.108, allocations: 11.28 kB / 0.679 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.11, allocations: 432.3 kB / 0.6794 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/1.113, allocations: 0.9071 MB / 0.6803 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/1.113, allocations: 62.06 kB / 0.6804 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.115, allocations: 2.41 MB / 0.6827 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-05/1.115, allocations: 15.91 kB / 0.6827 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009781/1.125, allocations: 7.546 MB / 0.6901 GB, free: 94.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000868/1.126, allocations: 337.2 kB / 0.6904 GB, free: 94.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/1.126, allocations: 59.59 kB / 0.6905 GB, free: 94.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.128, allocations: 135.8 kB / 0.6906 GB, free: 94.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/1.128, allocations: 157.6 kB / 0.6908 GB, free: 94.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.128, allocations: 82.78 kB / 0.6908 GB, free: 94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002031/1.13, allocations: 1.836 MB / 0.6926 GB, free: 92.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.13, allocations: 4 kB / 0.6926 GB, free: 92.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004367/1.135, allocations: 1.047 MB / 0.6937 GB, free: 91.12 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.0003923/1.135, allocations: 199.3 kB / 0.6938 GB, free: 90.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008803/1.144, allocations: 6.325 MB / 0.7 GB, free: 84.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.144, allocations: 0 / 0.7 GB, free: 84.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003835/1.148, allocations: 2.616 MB / 0.7026 GB, free: 81.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.15, allocations: 0.5254 MB / 0.7031 GB, free: 81.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.166, allocations: 11.27 MB / 0.7141 GB, free: 70.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/1.169, allocations: 3.659 MB / 0.7177 GB, free: 66.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004208/1.173, allocations: 2.157 MB / 0.7198 GB, free: 64.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007341/1.174, allocations: 239.4 kB / 0.72 GB, free: 63.93 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/1.174, allocations: 8 kB / 0.72 GB, free: 63.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.05761/1.232, allocations: 33.33 MB / 0.7526 GB, free: 30.66 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)