Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007631/0.007631, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001246/0.001246, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3765/0.3765, allocations: 39.94 MB / 309.8 MB, free: 9.438 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.001474/0.001474, allocations: 79.86 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3073, allocations: 56.86 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01155/0.3188, allocations: 12.23 MB / 0.493 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009454/0.3283, allocations: 4.007 MB / 0.497 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.3311, allocations: 62.53 kB / 0.497 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.334, allocations: 1.192 MB / 0.4982 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.3387, allocations: 1.835 MB / 0.5 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.3399, allocations: 499.3 kB / 0.5005 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005741/0.3457, allocations: 4.121 MB / 0.5045 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.3479, allocations: 1.862 MB / 0.5063 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.3499, allocations: 1.23 MB / 0.5075 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.3519, allocations: 1.752 MB / 0.5092 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.3525, allocations: 237.6 kB / 0.5094 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.3547, allocations: 1.104 MB / 0.5105 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.3564, allocations: 1.684 MB / 0.5122 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.3588, allocations: 1.959 MB / 0.5141 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008372/0.3672, allocations: 6.497 MB / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3672, allocations: 0 / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3672, allocations: 0 / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000177/0.3674, allocations: 0 / 0.5204 GB, free: 8.008 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.009306/0.3767, allocations: 4.315 MB / 0.5246 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.3768, allocations: 15.89 kB / 0.5246 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.3881, allocations: 3.169 MB / 0.5277 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/0.3935, allocations: 2.177 MB / 0.5299 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.3937, allocations: 193 kB / 0.53 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.3947, allocations: 343.5 kB / 0.5304 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.4103, allocations: 10.78 MB / 0.5409 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.4105, allocations: 27.72 kB / 0.5409 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.4109, allocations: 119.8 kB / 0.541 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004104/0.415, allocations: 2.561 MB / 0.5435 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.4346, allocations: 10.29 MB / 0.5536 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05699/0.4917, allocations: 35.68 MB / 0.5884 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008852/0.5006, allocations: 4.422 MB / 0.5928 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/0.5041, allocations: 2.209 MB / 0.5949 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.5055, allocations: 1.315 MB / 0.5962 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.5055, allocations: 52.56 kB / 0.5962 GB, free: 8.395 MB / 478.1 MB Notification: Performance of pre-optimization done (n=245): time 5.029e-06/0.5056, allocations: 0 / 0.5962 GB, free: 8.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=261): time 0.04141/0.547, allocations: 17.06 MB / 0.6129 GB, free: 7.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001664/0.5487, allocations: 1.618 MB / 0.6145 GB, free: 5.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.5531, allocations: 2.782 MB / 0.6172 GB, free: 2.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006886/0.5538, allocations: 61.7 kB / 0.6173 GB, free: 2.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.5559, allocations: 2.737 MB / 0.6199 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.5572, allocations: 0.9519 MB / 0.6209 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.5588, allocations: 1.139 MB / 0.622 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.559, allocations: 309.1 kB / 0.6223 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/0.5625, allocations: 2.479 MB / 0.6247 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006054/0.5686, allocations: 5.529 MB / 0.6301 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3759/0.9446, allocations: 8.699 MB / 0.6386 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/0.9447, allocations: 33.48 kB / 0.6386 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03045/0.9752, allocations: 9.863 MB / 0.6483 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.9754, allocations: 59.53 kB / 0.6483 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01747/0.9929, allocations: 4.908 MB / 0.6531 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01254/1.006, allocations: 2.377 MB / 0.6554 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005931/1.011, allocations: 1.308 MB / 0.6567 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008777/1.02, allocations: 6.363 MB / 0.6629 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/1.025, allocations: 401.3 kB / 0.6633 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/1.027, allocations: 327.5 kB / 0.6636 GB, free: 108.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.004952/1.032, allocations: 2.119 MB / 0.6657 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/1.033, allocations: 280.2 kB / 0.6659 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.043, allocations: 5.444 MB / 0.6713 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008889/1.052, allocations: 4.695 MB / 0.6758 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/1.052, allocations: 0 / 0.6758 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/1.052, allocations: 15.64 kB / 0.6759 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02995/1.082, allocations: 14.7 MB / 0.6902 GB, free: 90.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/1.083, allocations: 12.22 kB / 0.6902 GB, free: 90.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.085, allocations: 427.3 kB / 0.6906 GB, free: 89.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004366/1.089, allocations: 1.238 MB / 0.6918 GB, free: 88.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005142/1.09, allocations: 67.97 kB / 0.6919 GB, free: 88.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004574/1.094, allocations: 4.744 MB / 0.6965 GB, free: 83.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001003/1.095, allocations: 1.56 MB / 0.6981 GB, free: 81.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/1.108, allocations: 8.158 MB / 0.706 GB, free: 73.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.109, allocations: 337.4 kB / 0.7064 GB, free: 73.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007953/1.11, allocations: 55.98 kB / 0.7064 GB, free: 73.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/1.112, allocations: 202.7 kB / 0.7066 GB, free: 73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/1.113, allocations: 173.5 kB / 0.7068 GB, free: 72.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.113, allocations: 83.92 kB / 0.7068 GB, free: 72.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003186/1.116, allocations: 1.717 MB / 0.7085 GB, free: 71.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.116, allocations: 0 / 0.7085 GB, free: 71.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006616/1.123, allocations: 1.089 MB / 0.7096 GB, free: 69.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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 {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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.000689/1.123, allocations: 204.3 kB / 0.7098 GB, free: 69.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.134, allocations: 6.639 MB / 0.7163 GB, free: 63.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.134, allocations: 0.9375 kB / 0.7163 GB, free: 63.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004562/1.139, allocations: 2.903 MB / 0.7191 GB, free: 60.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/1.143, allocations: 401.4 kB / 0.7195 GB, free: 59.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.163, allocations: 10.62 MB / 0.7299 GB, free: 48.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005436/1.169, allocations: 3.309 MB / 0.7331 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005274/1.174, allocations: 2.111 MB / 0.7351 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.175, allocations: 231.4 kB / 0.7354 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/1.175, allocations: 0 / 0.7354 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.06552/1.241, allocations: 35.19 MB / 0.7697 GB, free: 8.18 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)