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.0007447/0.0007444, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008099/0.0008098, allocations: 168.7 kB / 15.95 MB, free: 204 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.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3229/0.3229, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005913/0.0005913, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1211, allocations: 57.51 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3213/0.4425, allocations: 113.3 MB / 0.5345 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.061/0.5035, allocations: 22.47 MB / 0.5564 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03074/0.5343, allocations: 0.5276 MB / 0.5569 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02178/0.5562, allocations: 6.007 MB / 0.5628 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04841/0.6046, allocations: 17.36 MB / 0.5798 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00797/0.6126, allocations: 1.231 MB / 0.581 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3543/0.9669, allocations: 67.41 MB / 0.6468 GB, free: 51.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.9826, allocations: 9.658 MB / 0.6562 GB, free: 51.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006931/0.9896, allocations: 2.61 MB / 0.6588 GB, free: 51.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00884/0.9985, allocations: 4.188 MB / 0.6629 GB, free: 51.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001974/1, allocations: 296.9 kB / 0.6631 GB, free: 51.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/1.005, allocations: 1.176 MB / 0.6643 GB, free: 51.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004901/1.01, allocations: 3.621 MB / 0.6678 GB, free: 51.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004302/1.014, allocations: 1.637 MB / 0.6694 GB, free: 51.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/1.027, allocations: 11.18 MB / 0.6803 GB, free: 47.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.027, allocations: 0 / 0.6803 GB, free: 47.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.027, allocations: 0 / 0.6803 GB, free: 47.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006653/1.027, allocations: 0 / 0.6803 GB, free: 47.74 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.0244/1.052, allocations: 8.099 MB / 0.6883 GB, free: 43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.052, allocations: 8.031 kB / 0.6883 GB, free: 42.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/1.07, allocations: 3.746 MB / 0.6919 GB, free: 39.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/1.085, allocations: 6.355 MB / 0.6981 GB, free: 34.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005098/1.086, allocations: 482.9 kB / 0.6986 GB, free: 34.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003451/1.089, allocations: 0.6417 MB / 0.6992 GB, free: 34.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04104/1.13, allocations: 19.12 MB / 0.7179 GB, free: 19.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006475/1.131, allocations: 85.92 kB / 0.718 GB, free: 19.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003317/1.134, allocations: 301.8 kB / 0.7182 GB, free: 19.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005769/1.14, allocations: 3.415 MB / 0.7216 GB, free: 16.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/1.176, allocations: 16.14 MB / 0.7373 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/1.279, allocations: 70.58 MB / 0.8063 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/1.3, allocations: 8.484 MB / 0.8146 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006922/1.307, allocations: 4.517 MB / 0.819 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.308, allocations: 0.6634 MB / 0.8196 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/1.308, allocations: 75.2 kB / 0.8197 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=307): time 6.863e-06/1.308, allocations: 0 / 0.8197 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=331): time 0.3189/1.627, allocations: 34.95 MB / 0.8538 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.627, allocations: 293.6 kB / 0.8541 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.64, allocations: 7.599 MB / 0.8615 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.641, allocations: 72.56 kB / 0.8616 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003432/1.645, allocations: 5.504 MB / 0.867 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001822/1.647, allocations: 1.256 MB / 0.8682 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005907/1.647, allocations: 196.5 kB / 0.8684 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004215/1.648, allocations: 0.7281 MB / 0.8691 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005785/1.653, allocations: 4 MB / 0.873 GB, free: 212.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/1.661, allocations: 9.554 MB / 0.8823 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009679/1.671, allocations: 6.016 MB / 0.8882 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.671, allocations: 57.75 kB / 0.8883 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03253/1.703, allocations: 15.39 MB / 0.9033 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/1.704, allocations: 87.88 kB / 0.9034 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002946/1.704, allocations: 190.6 kB / 0.9036 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006238/1.71, allocations: 2.328 MB / 0.9058 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/1.719, allocations: 2.345 MB / 0.9081 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/1.735, allocations: 15.31 MB / 0.9231 GB, free: 186 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008669/1.744, allocations: 0.5638 MB / 0.9236 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/1.746, allocations: 0.5681 MB / 0.9242 GB, free: 185.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 (1220): * Single equations (assignments): 1213 * 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 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009411/1.755, allocations: 3.741 MB / 0.9278 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002104/1.758, allocations: 0.6499 MB / 0.9285 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.773, allocations: 7.863 MB / 0.9361 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.538e-05/1.773, allocations: 34.47 kB / 0.9362 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-05/1.773, allocations: 10.62 kB / 0.9362 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.35e-05/1.773, allocations: 15.09 kB / 0.9362 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03151/1.805, allocations: 16.94 MB / 0.9527 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/1.805, allocations: 4 kB / 0.9528 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.808, allocations: 0.6033 MB / 0.9533 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004536/1.812, allocations: 1.963 MB / 0.9553 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005903/1.813, allocations: 65.98 kB / 0.9553 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/1.825, allocations: 14.16 MB / 0.9692 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.826, allocations: 3.938 kB / 0.9692 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/1.842, allocations: 12.21 MB / 0.9811 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/1.845, allocations: 1.266 MB / 0.9823 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.846, allocations: 60.86 kB / 0.9824 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.849, allocations: 241.6 kB / 0.9826 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/1.85, allocations: 195.6 kB / 0.9828 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.85, allocations: 83.98 kB / 0.9829 GB, free: 138 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006806/1.857, allocations: 4.835 MB / 0.9876 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.857, allocations: 0 / 0.9876 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01012/1.867, allocations: 1.962 MB / 0.9895 GB, free: 131.2 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.0006424/1.867, allocations: 200.7 kB / 0.9897 GB, free: 131 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.881, allocations: 9.853 MB / 0.9993 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.881, allocations: 0 / 0.9993 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/1.886, allocations: 3.592 MB / 1.003 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00573/1.891, allocations: 0.9132 MB / 1.004 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/1.92, allocations: 21.43 MB / 1.025 GB, free: 95.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007049/1.927, allocations: 5.733 MB / 1.03 GB, free: 89.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006989/1.934, allocations: 3.022 MB / 1.033 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.935, allocations: 447.4 kB / 1.034 GB, free: 85.88 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.935, allocations: 0 / 1.034 GB, free: 85.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.3142/2.25, allocations: 74.32 MB / 1.106 GB, free: 202 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: