Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007403/0.007404, allocations: 102 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.001406/0.001406, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1888/0.1888, allocations: 38.01 MB / 307.9 MB, free: 5.965 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.001529/0.001529, allocations: 71.91 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1591, allocations: 56.48 MB / 489.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01381/0.173, allocations: 12.2 MB / 0.4899 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1836, allocations: 4.015 MB / 0.4938 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.1867, allocations: 63.81 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.1897, allocations: 1.195 MB / 0.4951 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.1948, allocations: 1.833 MB / 0.4969 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1967, allocations: 495 kB / 0.4973 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00708/0.2038, allocations: 4.122 MB / 0.5013 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.2062, allocations: 1.862 MB / 0.5032 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.2082, allocations: 1.226 MB / 0.5044 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.2104, allocations: 1.76 MB / 0.5061 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.2109, allocations: 232 kB / 0.5063 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.2129, allocations: 1.104 MB / 0.5074 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.2144, allocations: 1.695 MB / 0.509 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.2163, allocations: 1.956 MB / 0.5109 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4102/0.6265, allocations: 6.488 MB / 0.5173 GB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.6266, allocations: 1.531 kB / 0.5173 GB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.6267, allocations: 0 / 0.5173 GB, free: 12.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004539/0.6271, allocations: 0 / 0.5173 GB, free: 12.55 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.01751/0.6447, allocations: 4.319 MB / 0.5215 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.6447, allocations: 17.64 kB / 0.5215 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.6584, allocations: 3.167 MB / 0.5246 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009442/0.6679, allocations: 2.185 MB / 0.5267 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/0.6684, allocations: 190.6 kB / 0.5269 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/0.6707, allocations: 340.1 kB / 0.5273 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02523/0.696, allocations: 10.78 MB / 0.5378 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.6961, allocations: 35.81 kB / 0.5378 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.6966, allocations: 120.8 kB / 0.5379 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004388/0.701, allocations: 2.563 MB / 0.5404 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/0.7226, allocations: 10.28 MB / 0.5505 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07382/0.7965, allocations: 35.67 MB / 0.5853 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00953/0.8061, allocations: 4.433 MB / 0.5896 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.8097, allocations: 2.201 MB / 0.5918 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.8111, allocations: 1.32 MB / 0.5931 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.8112, allocations: 56.55 kB / 0.5931 GB, free: 4.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=245): time 4.93e-06/0.8112, allocations: 0 / 0.5931 GB, free: 4.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=261): time 0.04267/0.8539, allocations: 17.05 MB / 0.6098 GB, free: 3.152 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001698/0.8556, allocations: 1.623 MB / 0.6114 GB, free: 1.371 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006712/0.8623, allocations: 2.785 MB / 0.6141 GB, free: 14.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008915/0.8633, allocations: 65.22 kB / 0.6141 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00303/0.8663, allocations: 2.726 MB / 0.6168 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001966/0.8683, allocations: 0.9652 MB / 0.6177 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001932/0.8702, allocations: 1.144 MB / 0.6189 GB, free: 9.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8704, allocations: 301.1 kB / 0.6191 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/0.8744, allocations: 2.482 MB / 0.6216 GB, free: 6.898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007416/0.8818, allocations: 5.527 MB / 0.627 GB, free: 15.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/0.8943, allocations: 8.702 MB / 0.6355 GB, free: 6.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.8e-05/0.8944, allocations: 28.94 kB / 0.6355 GB, free: 6.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02597/0.9203, allocations: 9.878 MB / 0.6451 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.182e-05/0.9205, allocations: 48 kB / 0.6452 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01423/0.9347, allocations: 4.907 MB / 0.65 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0116/0.9463, allocations: 2.378 MB / 0.6523 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/0.9517, allocations: 1.31 MB / 0.6536 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009492/0.9612, allocations: 6.371 MB / 0.6598 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/0.9672, allocations: 406.2 kB / 0.6602 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/0.9686, allocations: 324 kB / 0.6605 GB, free: 12.61 MB / 0.5137 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.004804/0.9734, allocations: 2.116 MB / 0.6626 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007565/0.9741, allocations: 277.3 kB / 0.6628 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.985, allocations: 5.445 MB / 0.6681 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009257/0.9942, allocations: 4.69 MB / 0.6727 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.9943, allocations: 4 kB / 0.6727 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.9943, allocations: 15.91 kB / 0.6727 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02868/1.023, allocations: 14.71 MB / 0.6871 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.023, allocations: 8 kB / 0.6871 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.025, allocations: 427.3 kB / 0.6875 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00444/1.029, allocations: 1.243 MB / 0.6887 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003913/1.03, allocations: 71.95 kB / 0.6888 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/1.035, allocations: 4.744 MB / 0.6934 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001275/1.036, allocations: 1.554 MB / 0.695 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.051, allocations: 8.158 MB / 0.7029 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.052, allocations: 341.7 kB / 0.7032 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/1.053, allocations: 55.97 kB / 0.7033 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.054, allocations: 206.9 kB / 0.7035 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/1.055, allocations: 173.5 kB / 0.7037 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.055, allocations: 75.97 kB / 0.7037 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002749/1.057, allocations: 1.717 MB / 0.7054 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.057, allocations: 0 / 0.7054 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005115/1.063, allocations: 1.077 MB / 0.7065 GB, free: 12.52 MB / 0.5606 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.0005184/1.063, allocations: 200.5 kB / 0.7067 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.075, allocations: 6.644 MB / 0.7131 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.075, allocations: 0 / 0.7131 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005262/1.08, allocations: 2.904 MB / 0.716 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.083, allocations: 403.1 kB / 0.7164 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/1.102, allocations: 10.63 MB / 0.7267 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003762/1.106, allocations: 3.309 MB / 0.73 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00473/1.111, allocations: 2.115 MB / 0.732 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009039/1.112, allocations: 227.4 kB / 0.7323 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of SimCode: time 2.275e-06/1.112, allocations: 4 kB / 0.7323 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.4129/1.525, allocations: 35.17 MB / 0.7666 GB, free: 193.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)