Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, 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.00143/0.00143, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3871/0.3871, allocations: 39.93 MB / 309.7 MB, free: 9.312 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.002097/0.002097, allocations: 64.47 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1946, allocations: 56.9 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01672/0.2114, allocations: 14.22 MB / 448.7 MB, free: 5.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.2253, allocations: 4.665 MB / 453.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004438/0.2298, allocations: 87.75 kB / 453.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3317/0.5616, allocations: 3.773 MB / 457.2 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008748/0.5704, allocations: 2.415 MB / 459.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.5733, allocations: 1.005 MB / 460.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.5853, allocations: 6.024 MB / 466.7 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006597/0.5919, allocations: 4.735 MB / 471.4 MB, free: 34.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.5966, allocations: 2.122 MB / 473.5 MB, free: 33.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.602, allocations: 2.883 MB / 476.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001663/0.6037, allocations: 457.2 kB / 476.9 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.6074, allocations: 1.479 MB / 478.4 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002976/0.6104, allocations: 2.692 MB / 481 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005047/0.6154, allocations: 3.026 MB / 484.1 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.6345, allocations: 9.338 MB / 493.4 MB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6345, allocations: 1 kB / 493.4 MB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6346, allocations: 0 / 493.4 MB, free: 26.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005956/0.6352, allocations: 3.656 kB / 493.4 MB, free: 26.13 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.03062/0.6658, allocations: 6.55 MB / 500 MB, free: 22.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6659, allocations: 16.92 kB / 500 MB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.6807, allocations: 2.662 MB / 0.4909 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.6948, allocations: 3.994 MB / 0.4948 GB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/0.6955, allocations: 310.8 kB / 0.4951 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003276/0.6988, allocations: 413.3 kB / 0.4955 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03488/0.7337, allocations: 13.01 MB / 0.5082 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004188/0.7341, allocations: 59.45 kB / 0.5082 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/0.7367, allocations: 202.2 kB / 0.5084 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004419/0.7411, allocations: 2.499 MB / 0.5109 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.7687, allocations: 10.82 MB / 0.5214 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08582/0.8546, allocations: 50.18 MB / 0.5704 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.8666, allocations: 4.535 MB / 0.5749 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004311/0.871, allocations: 2.466 MB / 0.5773 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01344/0.8844, allocations: 6.739 MB / 0.5838 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.8845, allocations: 55.59 kB / 0.5839 GB, free: 10.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 5.63e-06/0.8845, allocations: 0 / 0.5839 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=195): time 0.05217/0.9367, allocations: 19.41 MB / 0.6028 GB, free: 7.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.9369, allocations: 227.1 kB / 0.6031 GB, free: 6.918 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009822/0.9467, allocations: 5.921 MB / 0.6088 GB, free: 1.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007122/0.9475, allocations: 59.97 kB / 0.6089 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003291/0.9508, allocations: 4.062 MB / 0.6129 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/0.9522, allocations: 0.7728 MB / 0.6136 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002386/0.9546, allocations: 1.533 MB / 0.6151 GB, free: 10.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9547, allocations: 305.1 kB / 0.6154 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/0.9589, allocations: 2.63 MB / 0.618 GB, free: 7.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3289/1.288, allocations: 7.162 MB / 0.625 GB, free: 139 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.301, allocations: 10.51 MB / 0.6352 GB, free: 132 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002092/1.301, allocations: 46.53 kB / 0.6353 GB, free: 132 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02344/1.325, allocations: 10.57 MB / 0.6456 GB, free: 128.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/1.325, allocations: 76.03 kB / 0.6457 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002722/1.325, allocations: 164 kB / 0.6458 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/1.329, allocations: 1.236 MB / 0.647 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006605/1.335, allocations: 1.723 MB / 0.6487 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.347, allocations: 8.501 MB / 0.657 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008732/1.355, allocations: 415.2 kB / 0.6574 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002554/1.358, allocations: 454.4 kB / 0.6579 GB, free: 122.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 911 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01027/1.368, allocations: 2.695 MB / 0.6605 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002192/1.37, allocations: 490.7 kB / 0.6609 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/1.382, allocations: 4.033 MB / 0.6649 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/1.382, allocations: 21.09 kB / 0.6649 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-05/1.382, allocations: 6.344 kB / 0.6649 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-05/1.382, allocations: 12.48 kB / 0.6649 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03093/1.413, allocations: 9.557 MB / 0.6743 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-05/1.413, allocations: 3.938 kB / 0.6743 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.415, allocations: 322.3 kB / 0.6746 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/1.418, allocations: 1.015 MB / 0.6756 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/1.419, allocations: 35.81 kB / 0.6756 GB, free: 116.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008764/1.427, allocations: 7.826 MB / 0.6832 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.427, allocations: 7.625 kB / 0.6832 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/1.439, allocations: 6.875 MB / 0.69 GB, free: 109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00349/1.443, allocations: 0.8339 MB / 0.6908 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/1.445, allocations: 32 kB / 0.6908 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003464/1.448, allocations: 126.2 kB / 0.6909 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/1.449, allocations: 111.5 kB / 0.691 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.449, allocations: 52 kB / 0.6911 GB, free: 108.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009543/1.459, allocations: 3.78 MB / 0.6948 GB, free: 104.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.459, allocations: 4 kB / 0.6948 GB, free: 104.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01073/1.469, allocations: 1.3 MB / 0.696 GB, free: 103.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/1.471, allocations: 171.8 kB / 0.6962 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01259/1.483, allocations: 6.955 MB / 0.703 GB, free: 96.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.483, allocations: 0 / 0.703 GB, free: 96.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/1.486, allocations: 1.91 MB / 0.7049 GB, free: 94.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/1.493, allocations: 0.6251 MB / 0.7055 GB, free: 93.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.52, allocations: 12.19 MB / 0.7174 GB, free: 81.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009597/1.53, allocations: 4.131 MB / 0.7214 GB, free: 77.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008196/1.538, allocations: 2.318 MB / 0.7237 GB, free: 75.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.539, allocations: 316.1 kB / 0.724 GB, free: 74.86 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/1.539, allocations: 0 / 0.724 GB, free: 74.86 MB / 494.1 MB Notification: Performance of Templates: time 0.09032/1.63, allocations: 49.25 MB / 0.7721 GB, free: 25.71 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)