Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001049/0.001049, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.438/1.438, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001628/0.001628, allocations: 112.5 kB / 247.4 MB, free: 6.215 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.1796/0.1796, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.312e-05/1.315e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07708/0.07711, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.4023, allocations: 104.7 MB / 0.5399 GB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4025, allocations: 77.95 kB / 0.54 GB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7382/1.141, allocations: 231.2 MB / 0.7658 GB, free: 72.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.141, allocations: 0 / 0.7658 GB, free: 72.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001144/1.142, allocations: 253.4 kB / 0.766 GB, free: 72.58 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.03946/1.181, allocations: 12.24 MB / 0.778 GB, free: 63.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.182, allocations: 8.031 kB / 0.778 GB, free: 63.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0498/1.231, allocations: 12.79 MB / 0.7905 GB, free: 50.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0303/1.262, allocations: 13.23 MB / 0.8034 GB, free: 37.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005762/1.262, allocations: 408 kB / 0.8038 GB, free: 36.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004951/1.267, allocations: 0.742 MB / 0.8045 GB, free: 36.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03102/1.298, allocations: 17.44 MB / 0.8216 GB, free: 18.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0538/1.352, allocations: 25.78 MB / 0.8467 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009025/1.353, allocations: 146.6 kB / 0.8469 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005702/1.359, allocations: 72 kB / 0.8469 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004605/1.363, allocations: 2.855 MB / 0.8497 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3983/1.762, allocations: 120.9 MB / 0.9678 GB, free: 27.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/1.773, allocations: 10.92 MB / 0.9785 GB, free: 22.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008416/1.782, allocations: 7.685 MB / 0.986 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.783, allocations: 1.097 MB / 0.9871 GB, free: 18.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/1.783, allocations: 95.62 kB / 0.9872 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=552): time 8.115e-06/1.783, allocations: 2.688 kB / 0.9872 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=640): time 0.1255/1.909, allocations: 62.98 MB / 1.049 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/1.909, allocations: 381.6 kB / 1.049 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2947/2.204, allocations: 8.061 MB / 1.057 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002131/2.206, allocations: 26.61 kB / 1.057 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007548/2.213, allocations: 8.543 MB / 1.065 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003752/2.217, allocations: 2.284 MB / 1.067 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/2.219, allocations: 5.906 kB / 1.067 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008894/2.22, allocations: 0.9753 MB / 1.068 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009215/2.229, allocations: 6.423 MB / 1.075 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0162/2.245, allocations: 14.9 MB / 1.089 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/2.259, allocations: 9.662 MB / 1.099 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002744/2.259, allocations: 87.72 kB / 1.099 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.03726/2.296, allocations: 22.61 MB / 1.121 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/2.297, allocations: 131.6 kB / 1.121 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003729/2.297, allocations: 299.1 kB / 1.121 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006744/2.304, allocations: 3.303 MB / 1.125 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01379/2.317, allocations: 3.846 MB / 1.128 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/2.341, allocations: 21.25 MB / 1.149 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01299/2.354, allocations: 0.6331 MB / 1.15 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00319/2.357, allocations: 0.9031 MB / 1.151 GB, free: 93.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1935): * Single equations (assignments): 1928 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002411/2.36, allocations: 0.8844 MB / 1.151 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001898/2.362, allocations: 0.9014 MB / 1.152 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/2.382, allocations: 13.84 MB / 1.166 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/2.382, allocations: 67.05 kB / 1.166 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.101e-05/2.382, allocations: 23.95 kB / 1.166 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-05/2.382, allocations: 28.83 kB / 1.166 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04817/2.43, allocations: 28.86 MB / 1.194 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/2.43, allocations: 4 kB / 1.194 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006683/2.437, allocations: 1.251 MB / 1.195 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006534/2.444, allocations: 2.797 MB / 1.198 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001407/2.445, allocations: 25.95 kB / 1.198 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/2.467, allocations: 19.67 MB / 1.217 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/2.467, allocations: 15.25 kB / 1.217 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0333/2.5, allocations: 23.42 MB / 1.24 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007278/2.507, allocations: 1.922 MB / 1.242 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004548/2.512, allocations: 12 kB / 1.242 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008149/2.52, allocations: 355.3 kB / 1.242 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002109/2.522, allocations: 400.9 kB / 1.243 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/2.523, allocations: 165.2 kB / 1.243 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.3457/2.869, allocations: 5.353 MB / 1.248 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/2.869, allocations: 0 / 1.248 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02091/2.89, allocations: 2.652 MB / 1.251 GB, free: 107.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.001729/2.892, allocations: 195.3 kB / 1.251 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02828/2.92, allocations: 16.33 MB / 1.267 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.92, allocations: 0 / 1.267 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/2.931, allocations: 6.852 MB / 1.274 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008523/2.939, allocations: 0.9606 MB / 1.274 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05211/2.992, allocations: 24.86 MB / 1.299 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01537/3.007, allocations: 8.802 MB / 1.307 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01544/3.023, allocations: 5.069 MB / 1.312 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003338/3.026, allocations: 0.6496 MB / 1.313 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/3.026, allocations: 2.953 kB / 1.313 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.1717/3.198, allocations: 100.6 MB / 1.411 GB, free: 24.57 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)