Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001477/0.001477, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.003/2.003, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00175/0.00175, allocations: 106.7 kB / 252.6 MB, free: 4.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2276/0.2276, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.461e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 54.85 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.5892, allocations: 101.4 MB / 0.5435 GB, free: 6.512 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5895, allocations: 70.16 kB / 0.5436 GB, free: 6.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6715/1.261, allocations: 128.9 MB / 0.6695 GB, free: 85.51 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.507e-06/1.261, allocations: 2.5 kB / 0.6695 GB, free: 85.51 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007973/1.262, allocations: 128.8 kB / 0.6696 GB, free: 85.51 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02933/1.291, allocations: 6.552 MB / 0.676 GB, free: 84.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.688e-05/1.291, allocations: 8.438 kB / 0.676 GB, free: 84.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/1.324, allocations: 7.118 MB / 0.6829 GB, free: 83.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/1.345, allocations: 7.378 MB / 0.6901 GB, free: 82.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/1.346, allocations: 497.5 kB / 0.6906 GB, free: 82.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004439/1.35, allocations: 0.6478 MB / 0.6912 GB, free: 82.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04129/1.392, allocations: 16.17 MB / 0.707 GB, free: 78.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/1.392, allocations: 89 kB / 0.7071 GB, free: 78.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002077/1.394, allocations: 321.3 kB / 0.7074 GB, free: 78.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/1.396, allocations: 1.553 MB / 0.7089 GB, free: 78.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/1.424, allocations: 13.14 MB / 0.7218 GB, free: 78.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09573/1.52, allocations: 72.52 MB / 0.7926 GB, free: 27.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01863/1.538, allocations: 7.427 MB / 0.7999 GB, free: 21.65 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00622/1.545, allocations: 3.819 MB / 0.8036 GB, free: 18.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/1.563, allocations: 9.658 MB / 0.813 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.563, allocations: 75.19 kB / 0.8131 GB, free: 9.973 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 5.851e-06/1.563, allocations: 0 / 0.8131 GB, free: 9.973 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.08569/1.649, allocations: 27.63 MB / 0.8401 GB, free: 3.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/1.649, allocations: 239.9 kB / 0.8403 GB, free: 2.902 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01688/1.666, allocations: 6.01 MB / 0.8462 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/1.668, allocations: 73.7 kB / 0.8462 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006118/1.674, allocations: 4.694 MB / 0.8508 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002528/1.676, allocations: 1.187 MB / 0.852 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/1.678, allocations: 179.9 kB / 0.8522 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001211/1.679, allocations: 0.6781 MB / 0.8528 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007712/1.687, allocations: 3.481 MB / 0.8562 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2746/1.962, allocations: 8.6 MB / 0.8646 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.972, allocations: 5.416 MB / 0.8699 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000302/1.972, allocations: 51.72 kB / 0.87 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.0279/2, allocations: 13.36 MB / 0.883 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/2, allocations: 83.12 kB / 0.8831 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/2.001, allocations: 179.9 kB / 0.8833 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/2.005, allocations: 1.678 MB / 0.8849 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007308/2.012, allocations: 2.112 MB / 0.887 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/2.023, allocations: 11.21 MB / 0.8979 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/2.031, allocations: 0.5271 MB / 0.8984 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/2.033, allocations: 0.5228 MB / 0.8989 GB, free: 100.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.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 (1084): * Single equations (assignments): 1079 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001987/2.035, allocations: 0.7842 MB / 0.8997 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/2.036, allocations: 0.5805 MB / 0.9003 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/2.048, allocations: 6.732 MB / 0.9068 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/2.049, allocations: 33 kB / 0.9069 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.318e-05/2.049, allocations: 14.31 kB / 0.9069 GB, free: 99.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-05/2.049, allocations: 17.97 kB / 0.9069 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/2.078, allocations: 15.13 MB / 0.9217 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/2.078, allocations: 7.156 kB / 0.9217 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002964/2.081, allocations: 0.5934 MB / 0.9223 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/2.084, allocations: 1.395 MB / 0.9236 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000584/2.085, allocations: 54.66 kB / 0.9237 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/2.096, allocations: 10.42 MB / 0.9338 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.096, allocations: 10.55 kB / 0.9339 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/2.112, allocations: 11.81 MB / 0.9454 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003335/2.115, allocations: 1.155 MB / 0.9465 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/2.117, allocations: 64.94 kB / 0.9466 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/2.12, allocations: 208.9 kB / 0.9468 GB, free: 84.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006265/2.121, allocations: 195.7 kB / 0.947 GB, free: 84.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000308/2.121, allocations: 87.45 kB / 0.9471 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009212/2.131, allocations: 4.289 MB / 0.9512 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.42e-07/2.131, allocations: 2.875 kB / 0.9512 GB, free: 82.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009649/2.14, allocations: 1.627 MB / 0.9528 GB, free: 82.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/2.141, allocations: 200.8 kB / 0.953 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01395/2.155, allocations: 8.634 MB / 0.9615 GB, free: 74.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/2.155, allocations: 4 kB / 0.9615 GB, free: 74.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005908/2.161, allocations: 3.407 MB / 0.9648 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/2.167, allocations: 0.7 MB / 0.9655 GB, free: 71.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/2.195, allocations: 13.02 MB / 0.9782 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007556/2.203, allocations: 4.925 MB / 0.983 GB, free: 56.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008477/2.212, allocations: 2.962 MB / 0.9859 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002292/2.214, allocations: 399.5 kB / 0.9863 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/2.214, allocations: 0 / 0.9863 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.3681/2.582, allocations: 63.13 MB / 1.048 GB, free: 94.84 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)