Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001097/0.001097, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.128/1.128, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001533/0.001533, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1708/0.1708, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.178e-05, allocations: 6.578 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09039, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4305, allocations: 97.17 MB / 0.4911 GB, free: 15.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4308, allocations: 75.08 kB / 0.4912 GB, free: 15.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.613/1.044, allocations: 148.6 MB / 0.6362 GB, free: 63.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.044, allocations: 0 / 0.6362 GB, free: 63.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008685/1.045, allocations: 154.6 kB / 0.6364 GB, free: 63.57 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.02818/1.073, allocations: 7.373 MB / 0.6436 GB, free: 60.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.073, allocations: 7.844 kB / 0.6436 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03045/1.103, allocations: 7.323 MB / 0.6507 GB, free: 60.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/1.127, allocations: 7.87 MB / 0.6584 GB, free: 59.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006535/1.128, allocations: 0.5859 MB / 0.659 GB, free: 59.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00537/1.133, allocations: 0.768 MB / 0.6597 GB, free: 59.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05218/1.185, allocations: 18.83 MB / 0.6781 GB, free: 55.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006312/1.186, allocations: 86.86 kB / 0.6782 GB, free: 55.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004948/1.191, allocations: 372.9 kB / 0.6786 GB, free: 55.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003776/1.195, allocations: 1.835 MB / 0.6804 GB, free: 55.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03533/1.23, allocations: 15.35 MB / 0.6954 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/1.335, allocations: 81.69 MB / 0.7751 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0233/1.358, allocations: 8.666 MB / 0.7836 GB, free: 9.535 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006963/1.365, allocations: 4.62 MB / 0.7881 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2898/1.655, allocations: 11.7 MB / 0.7995 GB, free: 88.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/1.655, allocations: 71.44 kB / 0.7996 GB, free: 88.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=347): time 7.424e-06/1.655, allocations: 0 / 0.7996 GB, free: 88.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=389): time 0.09507/1.75, allocations: 31.5 MB / 0.8304 GB, free: 83.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/1.75, allocations: 245.7 kB / 0.8306 GB, free: 82.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/1.762, allocations: 6.492 MB / 0.8369 GB, free: 82.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001129/1.763, allocations: 87.42 kB / 0.837 GB, free: 82.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003746/1.766, allocations: 5.273 MB / 0.8422 GB, free: 80.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002236/1.769, allocations: 1.442 MB / 0.8436 GB, free: 79.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008194/1.77, allocations: 200.3 kB / 0.8438 GB, free: 79.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005225/1.77, allocations: 0.7288 MB / 0.8445 GB, free: 78.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006241/1.776, allocations: 4.019 MB / 0.8484 GB, free: 78.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01285/1.789, allocations: 9.59 MB / 0.8578 GB, free: 71.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.8, allocations: 6.154 MB / 0.8638 GB, free: 70.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/1.8, allocations: 56.59 kB / 0.8638 GB, free: 70.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.03142/1.832, allocations: 14.95 MB / 0.8784 GB, free: 65.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.832, allocations: 90.5 kB / 0.8785 GB, free: 65.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000284/1.832, allocations: 193.7 kB / 0.8787 GB, free: 65.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/1.836, allocations: 1.727 MB / 0.8804 GB, free: 65.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009646/1.846, allocations: 2.421 MB / 0.8828 GB, free: 65.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.861, allocations: 11.41 MB / 0.8939 GB, free: 59.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/1.871, allocations: 0.5793 MB / 0.8945 GB, free: 58.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002707/1.874, allocations: 0.5724 MB / 0.895 GB, free: 58.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003474/1.878, allocations: 0.8627 MB / 0.8959 GB, free: 57.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/1.879, allocations: 0.6478 MB / 0.8965 GB, free: 56.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.894, allocations: 8.132 MB / 0.9044 GB, free: 50.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/1.894, allocations: 40 kB / 0.9045 GB, free: 50.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/1.894, allocations: 8 kB / 0.9045 GB, free: 50.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.545e-05/1.894, allocations: 25 kB / 0.9045 GB, free: 50.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04363/1.938, allocations: 18.2 MB / 0.9223 GB, free: 35.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.104e-05/1.938, allocations: 4 kB / 0.9223 GB, free: 35.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004357/1.942, allocations: 0.7771 MB / 0.9231 GB, free: 34.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003888/1.946, allocations: 1.416 MB / 0.9244 GB, free: 33.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/1.947, allocations: 79.5 kB / 0.9245 GB, free: 33.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/1.96, allocations: 10.6 MB / 0.9349 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.96, allocations: 8 kB / 0.9349 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/1.982, allocations: 14.35 MB / 0.9489 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004342/1.986, allocations: 1.321 MB / 0.9502 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002492/1.989, allocations: 79.38 kB / 0.9503 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/1.994, allocations: 248.7 kB / 0.9505 GB, free: 9.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008439/1.994, allocations: 242.4 kB / 0.9507 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000465/1.995, allocations: 104.8 kB / 0.9508 GB, free: 9.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01111/2.006, allocations: 4.651 MB / 0.9554 GB, free: 5.332 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.006, allocations: 3.938 kB / 0.9554 GB, free: 5.328 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0134/2.019, allocations: 1.865 MB / 0.9572 GB, free: 3.469 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/2.021, allocations: 229.2 kB / 0.9574 GB, free: 3.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2963/2.317, allocations: 10.01 MB / 0.9672 GB, free: 77.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/2.317, allocations: 4.5 kB / 0.9672 GB, free: 77.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007842/2.325, allocations: 3.973 MB / 0.9711 GB, free: 77.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007141/2.332, allocations: 0.7742 MB / 0.9718 GB, free: 77.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03319/2.366, allocations: 15.16 MB / 0.9866 GB, free: 74.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01053/2.376, allocations: 5.637 MB / 0.9921 GB, free: 73.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009074/2.385, allocations: 3.329 MB / 0.9954 GB, free: 73.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/2.387, allocations: 459.1 kB / 0.9958 GB, free: 73.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.273e-06/2.387, allocations: 0 / 0.9958 GB, free: 73.47 MB / 458.7 MB Notification: Performance of Templates: time 0.1247/2.512, allocations: 70.62 MB / 1.065 GB, free: 50.1 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)