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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001425, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.831/1.831, allocations: 205.1 MB / 222 MB, free: 4.758 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.4271/0.4271, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.001372/0.001372, allocations: 67.91 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.2777/0.4108, allocations: 46.17 MB / 477.2 MB, free: 28.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02792/0.4388, allocations: 9.887 MB / 487.1 MB, free: 22.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/0.4515, allocations: 197.2 kB / 487.3 MB, free: 22.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.4565, allocations: 2.366 MB / 489.6 MB, free: 21.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.4625, allocations: 1.793 MB / 491.4 MB, free: 20.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.4648, allocations: 0.8551 MB / 492.3 MB, free: 20.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006759/0.4716, allocations: 5.909 MB / 498.2 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005339/0.477, allocations: 3.448 MB / 0.4899 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.4803, allocations: 1.334 MB / 0.4912 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.4852, allocations: 2.237 MB / 0.4934 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001764/0.487, allocations: 246 kB / 0.4936 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.4911, allocations: 1.138 MB / 0.4947 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003707/0.4948, allocations: 1.92 MB / 0.4966 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006519/0.5013, allocations: 2.287 MB / 0.4988 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.516, allocations: 7.449 MB / 0.5061 GB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.5161, allocations: 0 / 0.5061 GB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5161, allocations: 0 / 0.5061 GB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005195/0.5166, allocations: 5.125 kB / 0.5061 GB, free: 10.56 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.02085/0.5375, allocations: 5.224 MB / 0.5112 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.5376, allocations: 8.531 kB / 0.5112 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.5494, allocations: 3.168 MB / 0.5143 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.5567, allocations: 2.319 MB / 0.5166 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.5571, allocations: 248.4 kB / 0.5168 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/0.5594, allocations: 330.6 kB / 0.5171 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/0.5842, allocations: 11.9 MB / 0.5288 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.5844, allocations: 31.66 kB / 0.5288 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008654/0.5853, allocations: 151.8 kB / 0.5289 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004245/0.5895, allocations: 2.641 MB / 0.5315 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/0.6156, allocations: 10.99 MB / 0.5422 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07172/0.6874, allocations: 37.57 MB / 0.5789 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008634/0.6961, allocations: 4.409 MB / 0.5832 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.6994, allocations: 2.17 MB / 0.5854 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.7007, allocations: 1.311 MB / 0.5866 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.7008, allocations: 60.5 kB / 0.5867 GB, free: 12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 4.047e-06/0.7008, allocations: 0 / 0.5867 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04077/0.7416, allocations: 13.85 MB / 0.6002 GB, free: 14.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.7417, allocations: 73.41 kB / 0.6003 GB, free: 13.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005836/0.7476, allocations: 2.997 MB / 0.6032 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004999/0.7481, allocations: 53.7 kB / 0.6033 GB, free: 10.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002501/0.7506, allocations: 3.116 MB / 0.6063 GB, free: 7.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001971/0.7526, allocations: 0.9751 MB / 0.6073 GB, free: 6.766 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.7548, allocations: 1.203 MB / 0.6084 GB, free: 5.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.755, allocations: 305.1 kB / 0.6087 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/0.7595, allocations: 2.401 MB / 0.6111 GB, free: 2.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006656/0.7661, allocations: 5.705 MB / 0.6166 GB, free: 11.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.7776, allocations: 8.892 MB / 0.6253 GB, free: 1.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.7778, allocations: 32 kB / 0.6254 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.2452/1.023, allocations: 8.814 MB / 0.634 GB, free: 145.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/1.023, allocations: 58.5 kB / 0.634 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.023, allocations: 114.2 kB / 0.6341 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/1.026, allocations: 1.042 MB / 0.6351 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/1.032, allocations: 1.38 MB / 0.6365 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/1.034, allocations: 2.48 MB / 0.6389 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.039, allocations: 325.4 kB / 0.6392 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.041, allocations: 347.2 kB / 0.6396 GB, free: 143.2 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.004536/1.045, allocations: 2.373 MB / 0.6419 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000604/1.046, allocations: 296.1 kB / 0.6422 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007865/1.054, allocations: 5.092 MB / 0.6471 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.094e-05/1.054, allocations: 54.09 kB / 0.6472 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.054, allocations: 0 / 0.6472 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.054, allocations: 12.52 kB / 0.6472 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.073, allocations: 11.78 MB / 0.6587 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/1.073, allocations: 11.94 kB / 0.6587 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.075, allocations: 432.4 kB / 0.6591 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/1.078, allocations: 0.9046 MB / 0.66 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/1.079, allocations: 68.91 kB / 0.6601 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/1.081, allocations: 2.261 MB / 0.6623 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.081, allocations: 12.19 kB / 0.6623 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.093, allocations: 7.556 MB / 0.6697 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.094, allocations: 337.5 kB / 0.67 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/1.095, allocations: 52.89 kB / 0.67 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.096, allocations: 140.1 kB / 0.6702 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/1.096, allocations: 162.5 kB / 0.6703 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.097, allocations: 79.42 kB / 0.6704 GB, free: 131.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002968/1.1, allocations: 1.843 MB / 0.6722 GB, free: 131 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.1, allocations: 0 / 0.6722 GB, free: 131 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005121/1.105, allocations: 1.043 MB / 0.6732 GB, free: 130.9 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.0006141/1.105, allocations: 198.8 kB / 0.6734 GB, free: 130.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/1.116, allocations: 6.276 MB / 0.6795 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.116, allocations: 0 / 0.6795 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00408/1.12, allocations: 2.612 MB / 0.6821 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/1.123, allocations: 0.4927 MB / 0.6826 GB, free: 125.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.142, allocations: 13.83 MB / 0.6961 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/1.145, allocations: 3.665 MB / 0.6997 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004642/1.15, allocations: 2.155 MB / 0.7018 GB, free: 107.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/1.15, allocations: 249.9 kB / 0.702 GB, free: 107.7 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/1.15, allocations: 0 / 0.702 GB, free: 107.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05706/1.208, allocations: 34.64 MB / 0.7358 GB, free: 73.44 MB / 494.1 MB 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)