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.001359/0.001359, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.706/1.706, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.4462/0.4462, allocations: 39.94 MB / 309.7 MB, free: 9.258 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.001687/0.001687, allocations: 70.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1552, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01659/0.1718, allocations: 14.8 MB / 449.3 MB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1836, allocations: 4.563 MB / 453.9 MB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004193/0.1879, allocations: 87.75 kB / 453.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3252/0.5131, allocations: 2.392 MB / 456.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.5185, allocations: 1.914 MB / 458.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.5206, allocations: 0.8978 MB / 459.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005393/0.526, allocations: 4.119 MB / 463.3 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005737/0.5317, allocations: 3.509 MB / 466.8 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.5356, allocations: 1.539 MB / 468.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.5385, allocations: 2.133 MB / 470.4 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007835/0.5393, allocations: 343.4 kB / 470.8 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.5416, allocations: 1.161 MB / 471.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.5433, allocations: 1.998 MB / 473.9 MB, free: 33.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00237/0.5457, allocations: 2.373 MB / 476.3 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.5541, allocations: 7.557 MB / 483.9 MB, free: 29.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5542, allocations: 3 kB / 483.9 MB, free: 29.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5542, allocations: 0 / 483.9 MB, free: 29.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002728/0.5545, allocations: 0 / 483.9 MB, free: 29.35 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.0141/0.5686, allocations: 5.217 MB / 489.1 MB, free: 26.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.5687, allocations: 16.73 kB / 489.1 MB, free: 26.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.5807, allocations: 3.172 MB / 492.3 MB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/0.5864, allocations: 2.318 MB / 494.6 MB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.5866, allocations: 251.7 kB / 494.8 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006628/0.5873, allocations: 333.8 kB / 495.2 MB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/0.6064, allocations: 11.89 MB / 0.4952 GB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.6065, allocations: 35.34 kB / 0.4952 GB, free: 19.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.607, allocations: 149.7 kB / 0.4953 GB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004487/0.6115, allocations: 2.64 MB / 0.4979 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02023/0.6318, allocations: 10.99 MB / 0.5087 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06612/0.6979, allocations: 37.56 MB / 0.5453 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/0.7075, allocations: 4.418 MB / 0.5497 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.7108, allocations: 2.164 MB / 0.5518 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.7121, allocations: 1.319 MB / 0.5531 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.7122, allocations: 56.44 kB / 0.5531 GB, free: 10.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 5.45e-06/0.7122, allocations: 0 / 0.5531 GB, free: 10.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.03985/0.7521, allocations: 13.84 MB / 0.5666 GB, free: 12.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.7522, allocations: 73.41 kB / 0.5667 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004953/0.7571, allocations: 2.989 MB / 0.5696 GB, free: 9.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003729/0.7575, allocations: 61.7 kB / 0.5697 GB, free: 9.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002379/0.7599, allocations: 3.118 MB / 0.5727 GB, free: 6.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.761, allocations: 0.9719 MB / 0.5737 GB, free: 5.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.7626, allocations: 1.19 MB / 0.5748 GB, free: 3.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7627, allocations: 305.1 kB / 0.5751 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/0.7662, allocations: 2.405 MB / 0.5775 GB, free: 1.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006387/0.7726, allocations: 5.708 MB / 0.583 GB, free: 9.805 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.7841, allocations: 8.892 MB / 0.5917 GB, free: 15.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.7842, allocations: 32 kB / 0.5918 GB, free: 15.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0181/0.8023, allocations: 8.813 MB / 0.6004 GB, free: 6.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-05/0.8025, allocations: 56 kB / 0.6004 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/0.8026, allocations: 120.8 kB / 0.6005 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/0.8065, allocations: 1.052 MB / 0.6016 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/0.8117, allocations: 1.38 MB / 0.6029 GB, free: 3.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.8146, allocations: 2.603 MB / 0.6055 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/0.8192, allocations: 319.8 kB / 0.6058 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/0.8203, allocations: 352 kB / 0.6061 GB, free: 432 kB / 478.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.00489/0.8252, allocations: 2.38 MB / 0.6084 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/0.8258, allocations: 296.2 kB / 0.6087 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009636/0.8355, allocations: 5.101 MB / 0.6137 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.538e-05/0.8356, allocations: 47.98 kB / 0.6137 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8356, allocations: 4 kB / 0.6137 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.8356, allocations: 11.95 kB / 0.6137 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02536/0.861, allocations: 11.79 MB / 0.6253 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.861, allocations: 8 kB / 0.6253 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.8629, allocations: 427.3 kB / 0.6257 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/0.8663, allocations: 0.9076 MB / 0.6266 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.8665, allocations: 63.42 kB / 0.6266 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.8692, allocations: 2.421 MB / 0.629 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.8692, allocations: 11.94 kB / 0.629 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.8811, allocations: 7.551 MB / 0.6364 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.8821, allocations: 341.1 kB / 0.6367 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.8825, allocations: 55.03 kB / 0.6367 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.8838, allocations: 139.8 kB / 0.6369 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.8842, allocations: 161.5 kB / 0.637 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.8844, allocations: 78.88 kB / 0.6371 GB, free: 132 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2743/1.159, allocations: 1.835 MB / 0.6389 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.159, allocations: 0 / 0.6389 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008371/1.167, allocations: 1.044 MB / 0.6399 GB, free: 159.5 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.001295/1.168, allocations: 191.2 kB / 0.6401 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02147/1.19, allocations: 10.54 MB / 0.6504 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/1.19, allocations: 0 / 0.6504 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005636/1.196, allocations: 2.615 MB / 0.6529 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/1.201, allocations: 0.5191 MB / 0.6534 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/1.227, allocations: 11.4 MB / 0.6646 GB, free: 152.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008682/1.236, allocations: 3.659 MB / 0.6682 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008628/1.245, allocations: 2.15 MB / 0.6703 GB, free: 150.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.247, allocations: 250 kB / 0.6705 GB, free: 150.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.044e-06/1.247, allocations: 0 / 0.6705 GB, free: 150.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.07287/1.319, allocations: 35.89 MB / 0.7055 GB, free: 128.1 MB / 0.4981 GB 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)