Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005477/0.005477, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.424/1.424, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001532/0.001532, allocations: 132.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2486/0.2486, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005278, allocations: 10.5 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1357, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5298/0.6656, allocations: 99.46 MB / 0.5473 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.6659, allocations: 77.69 kB / 0.5474 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3975/1.063, allocations: 162.5 MB / 0.7061 GB, free: 15.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.063, allocations: 0 / 0.7061 GB, free: 15.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000643/1.064, allocations: 167.9 kB / 0.7063 GB, free: 15.31 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03569/1.1, allocations: 8.784 MB / 0.7149 GB, free: 6.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.1, allocations: 12.03 kB / 0.7149 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3987/1.499, allocations: 12.01 MB / 0.7266 GB, free: 72.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0321/1.531, allocations: 10.84 MB / 0.7372 GB, free: 72.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007021/1.531, allocations: 0.6046 MB / 0.7378 GB, free: 72.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/1.536, allocations: 0.8198 MB / 0.7386 GB, free: 72.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04977/1.586, allocations: 19.26 MB / 0.7574 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007711/1.586, allocations: 113 kB / 0.7575 GB, free: 68.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00396/1.59, allocations: 386.1 kB / 0.7579 GB, free: 68.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00275/1.593, allocations: 1.735 MB / 0.7596 GB, free: 68.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03419/1.627, allocations: 15.7 MB / 0.7749 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/1.728, allocations: 79.64 MB / 0.8527 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/1.747, allocations: 8.261 MB / 0.8607 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000776/1.748, allocations: 0.6654 MB / 0.8614 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/1.748, allocations: 68.19 kB / 0.8615 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 6.192e-06/1.748, allocations: 0 / 0.8615 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.08042/1.828, allocations: 30.25 MB / 0.891 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.829, allocations: 298.9 kB / 0.8913 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01394/1.843, allocations: 6.718 MB / 0.8978 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.844, allocations: 77.7 kB / 0.8979 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005689/1.85, allocations: 5.609 MB / 0.9034 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002316/1.852, allocations: 1.245 MB / 0.9046 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/1.853, allocations: 184 kB / 0.9048 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005757/1.853, allocations: 0.7098 MB / 0.9055 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005546/1.859, allocations: 3.449 MB / 0.9089 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3069/2.166, allocations: 8.942 MB / 0.9176 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/2.177, allocations: 5.433 MB / 0.9229 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003299/2.177, allocations: 55.41 kB / 0.9229 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03221/2.209, allocations: 13.01 MB / 0.9357 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000477/2.21, allocations: 88.84 kB / 0.9357 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006159/2.211, allocations: 198 kB / 0.9359 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/2.214, allocations: 1.009 MB / 0.9369 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008692/2.223, allocations: 2.163 MB / 0.939 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/2.235, allocations: 11.2 MB / 0.95 GB, free: 84.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009893/2.245, allocations: 0.5029 MB / 0.9504 GB, free: 84.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002485/2.248, allocations: 0.5517 MB / 0.951 GB, free: 84.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01071/2.258, allocations: 3.731 MB / 0.9546 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002298/2.261, allocations: 0.6588 MB / 0.9553 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/2.274, allocations: 5.944 MB / 0.9611 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-05/2.274, allocations: 36.98 kB / 0.9611 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.832e-05/2.274, allocations: 7.281 kB / 0.9611 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/2.274, allocations: 18.84 kB / 0.9611 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03848/2.312, allocations: 14.72 MB / 0.9755 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/2.312, allocations: 3.469 kB / 0.9755 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/2.315, allocations: 0.5187 MB / 0.976 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/2.317, allocations: 0.6733 MB / 0.9767 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003533/2.317, allocations: 63 kB / 0.9767 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009643/2.327, allocations: 10.07 MB / 0.9866 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.327, allocations: 0 / 0.9866 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/2.342, allocations: 10.04 MB / 0.9964 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004914/2.347, allocations: 1.178 MB / 0.9975 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002177/2.349, allocations: 57.22 kB / 0.9976 GB, free: 72.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/2.354, allocations: 192.9 kB / 0.9978 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006745/2.354, allocations: 190.4 kB / 0.998 GB, free: 72.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/2.355, allocations: 85.09 kB / 0.998 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009918/2.365, allocations: 4.817 MB / 1.003 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.92e-07/2.365, allocations: 0 / 1.003 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01069/2.375, allocations: 1.809 MB / 1.005 GB, free: 70.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007695/2.376, allocations: 205.7 kB / 1.005 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01352/2.39, allocations: 8.783 MB / 1.013 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/2.39, allocations: 7.688 kB / 1.013 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004247/2.394, allocations: 3.183 MB / 1.016 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/2.399, allocations: 0.9196 MB / 1.017 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/2.436, allocations: 20.61 MB / 1.037 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.446, allocations: 5.892 MB / 1.043 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009987/2.456, allocations: 3.043 MB / 1.046 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/2.459, allocations: 444.6 kB / 1.047 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/2.459, allocations: 0 / 1.047 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.4547/2.913, allocations: 68.02 MB / 1.113 GB, free: 74.16 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1)