Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.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 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.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009543/0.0009544, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4099/0.4099, allocations: 38.02 MB / 308.4 MB, free: 10.35 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.1. 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.000603/0.0006032, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1552, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4435/0.5987, allocations: 106.9 MB / 0.5282 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1025/0.7014, allocations: 23.6 MB / 0.5512 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03853/0.7399, allocations: 0.5286 MB / 0.5517 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02508/0.7651, allocations: 5.433 MB / 0.557 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0615/0.8266, allocations: 15.21 MB / 0.5719 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008652/0.8353, allocations: 1.223 MB / 0.5731 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0779/0.9132, allocations: 52.4 MB / 0.6243 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3761/1.289, allocations: 9.592 MB / 0.6336 GB, free: 55.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006323/1.296, allocations: 2.098 MB / 0.6357 GB, free: 55.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006924/1.303, allocations: 2.91 MB / 0.6385 GB, free: 55.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00303/1.306, allocations: 296.3 kB / 0.6388 GB, free: 55.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/1.311, allocations: 1.141 MB / 0.6399 GB, free: 55.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006501/1.317, allocations: 3.358 MB / 0.6432 GB, free: 55.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005741/1.323, allocations: 1.665 MB / 0.6448 GB, free: 55.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02201/1.345, allocations: 11.44 MB / 0.656 GB, free: 54.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/1.345, allocations: 0 / 0.656 GB, free: 54.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.741e-06/1.345, allocations: 3.156 kB / 0.656 GB, free: 54.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001324/1.347, allocations: 0 / 0.656 GB, free: 54.51 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.04231/1.389, allocations: 8.622 MB / 0.6644 GB, free: 49.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.779e-05/1.389, allocations: 12.78 kB / 0.6644 GB, free: 49.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08714/1.476, allocations: 14.24 MB / 0.6783 GB, free: 44.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/1.5, allocations: 7.084 MB / 0.6853 GB, free: 42.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008892/1.501, allocations: 486.7 kB / 0.6857 GB, free: 42.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005518/1.506, allocations: 0.6384 MB / 0.6863 GB, free: 42.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05485/1.561, allocations: 19.06 MB / 0.705 GB, free: 28.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008524/1.562, allocations: 90.11 kB / 0.705 GB, free: 28.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004977/1.567, allocations: 297.6 kB / 0.7053 GB, free: 28.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006409/1.574, allocations: 3.412 MB / 0.7087 GB, free: 25.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/1.615, allocations: 15.87 MB / 0.7242 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.122/1.737, allocations: 70.03 MB / 0.7925 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/1.759, allocations: 8.241 MB / 0.8006 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.76, allocations: 0.6728 MB / 0.8012 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/1.76, allocations: 70.2 kB / 0.8013 GB, free: 13.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 9.418e-06/1.76, allocations: 4 kB / 0.8013 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.1035/1.864, allocations: 31.86 MB / 0.8324 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/1.864, allocations: 302.5 kB / 0.8327 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02053/1.885, allocations: 8.13 MB / 0.8407 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.886, allocations: 77.7 kB / 0.8407 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006551/1.892, allocations: 5.596 MB / 0.8462 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002577/1.895, allocations: 1.247 MB / 0.8474 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/1.897, allocations: 184 kB / 0.8476 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.001229/1.898, allocations: 0.7027 MB / 0.8483 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3267/2.224, allocations: 3.572 MB / 0.8518 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/2.235, allocations: 9.039 MB / 0.8606 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00895/2.244, allocations: 5.541 MB / 0.866 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/2.244, allocations: 57.19 kB / 0.8661 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.02746/2.271, allocations: 13.43 MB / 0.8792 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005228/2.272, allocations: 86.84 kB / 0.8793 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008771/2.273, allocations: 192.4 kB / 0.8794 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004485/2.277, allocations: 1.306 MB / 0.8807 GB, free: 216.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/2.287, allocations: 2.23 MB / 0.8829 GB, free: 216.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/2.306, allocations: 12.7 MB / 0.8953 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.317, allocations: 0.5298 MB / 0.8958 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004376/2.322, allocations: 0.5467 MB / 0.8963 GB, free: 207.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (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.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 (1144): * Single equations (assignments): 1137 * 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.01345/2.335, allocations: 3.738 MB / 0.9 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002612/2.338, allocations: 0.6629 MB / 0.9006 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/2.351, allocations: 6.391 MB / 0.9069 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-05/2.352, allocations: 33.62 kB / 0.9069 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/2.352, allocations: 15.58 kB / 0.9069 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/2.352, allocations: 14.48 kB / 0.9069 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04033/2.392, allocations: 15.53 MB / 0.9221 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/2.392, allocations: 0 / 0.9221 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/2.395, allocations: 0.6001 MB / 0.9227 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/2.398, allocations: 0.9614 MB / 0.9236 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004469/2.398, allocations: 63.38 kB / 0.9237 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/2.41, allocations: 11.55 MB / 0.935 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.41, allocations: 4.031 kB / 0.935 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/2.428, allocations: 10.7 MB / 0.9454 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006693/2.434, allocations: 1.232 MB / 0.9466 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003157/2.437, allocations: 55.95 kB / 0.9467 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005393/2.443, allocations: 213.7 kB / 0.9469 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008075/2.444, allocations: 194.9 kB / 0.9471 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/2.444, allocations: 88.22 kB / 0.9471 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01197/2.456, allocations: 5.272 MB / 0.9523 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/2.456, allocations: 4.75 kB / 0.9523 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01421/2.47, allocations: 1.868 MB / 0.9541 GB, free: 167.1 MB / 0.5762 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.00138/2.472, allocations: 217.3 kB / 0.9543 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01597/2.488, allocations: 9.059 MB / 0.9632 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/2.488, allocations: 4 kB / 0.9632 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004908/2.493, allocations: 3.336 MB / 0.9664 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006871/2.5, allocations: 0.9185 MB / 0.9673 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03922/2.539, allocations: 20.81 MB / 0.9877 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00995/2.549, allocations: 5.912 MB / 0.9934 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00872/2.558, allocations: 3.046 MB / 0.9964 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/2.56, allocations: 459.4 kB / 0.9968 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/2.56, allocations: 2.844 kB / 0.9968 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.1218/2.681, allocations: 71.5 MB / 1.067 GB, free: 52.29 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) Environment - environmentSimulation: