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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 100.1 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.00126/0.00126, 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3218/0.3218, allocations: 39.99 MB / 310.4 MB, free: 9.605 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.2. 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.0005007/0.0005008, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3305/0.4454, allocations: 106.9 MB / 0.531 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06547/0.5109, allocations: 23.59 MB / 0.554 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02859/0.5395, allocations: 0.5222 MB / 0.5545 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02205/0.5616, allocations: 5.434 MB / 0.5598 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05404/0.6157, allocations: 15.22 MB / 0.5747 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008609/0.6243, allocations: 1.219 MB / 0.5759 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.07369/0.698, allocations: 52.39 MB / 0.627 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2975/0.9955, allocations: 9.595 MB / 0.6364 GB, free: 53.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007021/1.003, allocations: 2.105 MB / 0.6385 GB, free: 53.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007081/1.01, allocations: 2.904 MB / 0.6413 GB, free: 53.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002597/1.012, allocations: 296.9 kB / 0.6416 GB, free: 53.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/1.017, allocations: 1.143 MB / 0.6427 GB, free: 53.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00641/1.024, allocations: 3.363 MB / 0.646 GB, free: 53.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004649/1.029, allocations: 1.666 MB / 0.6476 GB, free: 53.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02515/1.054, allocations: 11.44 MB / 0.6588 GB, free: 52.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.054, allocations: 0 / 0.6588 GB, free: 52.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.938e-06/1.054, allocations: 0 / 0.6588 GB, free: 52.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008528/1.055, allocations: 0.5625 kB / 0.6588 GB, free: 52.25 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.03357/1.088, allocations: 8.624 MB / 0.6672 GB, free: 47.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.088, allocations: 9.188 kB / 0.6672 GB, free: 47.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0815/1.17, allocations: 14.24 MB / 0.6811 GB, free: 41.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/1.188, allocations: 7.075 MB / 0.688 GB, free: 38.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/1.189, allocations: 483.3 kB / 0.6885 GB, free: 38.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003799/1.193, allocations: 0.6467 MB / 0.6891 GB, free: 37.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04562/1.238, allocations: 19.05 MB / 0.7077 GB, free: 22.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005357/1.239, allocations: 92.7 kB / 0.7078 GB, free: 22.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/1.242, allocations: 300.8 kB / 0.7081 GB, free: 22.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006112/1.248, allocations: 3.411 MB / 0.7114 GB, free: 19.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03665/1.285, allocations: 15.88 MB / 0.7269 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/1.399, allocations: 70.02 MB / 0.7953 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02101/1.42, allocations: 8.241 MB / 0.8034 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009665/1.421, allocations: 0.6617 MB / 0.804 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.999e-05/1.421, allocations: 71.05 kB / 0.8041 GB, free: 7.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 5.671e-06/1.421, allocations: 0 / 0.8041 GB, free: 7.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.1016/1.523, allocations: 31.89 MB / 0.8352 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/1.523, allocations: 293.7 kB / 0.8355 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/1.543, allocations: 8.135 MB / 0.8434 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009567/1.544, allocations: 73.7 kB / 0.8435 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2424/1.786, allocations: 5.596 MB / 0.849 GB, free: 227.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.788, allocations: 1.25 MB / 0.8502 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.789, allocations: 184.7 kB / 0.8504 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004922/1.789, allocations: 0.7027 MB / 0.851 GB, free: 227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00694/1.796, allocations: 3.577 MB / 0.8545 GB, free: 227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.807, allocations: 9.036 MB / 0.8634 GB, free: 220 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009167/1.816, allocations: 5.542 MB / 0.8688 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/1.817, allocations: 56 kB / 0.8688 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.02919/1.846, allocations: 13.42 MB / 0.8819 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004001/1.846, allocations: 87.31 kB / 0.882 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005976/1.847, allocations: 192.4 kB / 0.8822 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/1.851, allocations: 1.302 MB / 0.8835 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009361/1.861, allocations: 2.226 MB / 0.8857 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.876, allocations: 12.7 MB / 0.8981 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008853/1.885, allocations: 0.5291 MB / 0.8986 GB, free: 204.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/1.887, allocations: 0.5526 MB / 0.8991 GB, free: 204.2 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.009462/1.896, allocations: 3.734 MB / 0.9028 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001822/1.898, allocations: 0.6648 MB / 0.9034 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.912, allocations: 6.399 MB / 0.9097 GB, free: 199.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/1.912, allocations: 31.38 kB / 0.9097 GB, free: 199.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-05/1.912, allocations: 11.84 kB / 0.9097 GB, free: 199.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-05/1.912, allocations: 16.36 kB / 0.9097 GB, free: 199.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03488/1.947, allocations: 15.53 MB / 0.9249 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.947, allocations: 4 kB / 0.9249 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/1.95, allocations: 0.5945 MB / 0.9255 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002513/1.953, allocations: 0.9596 MB / 0.9264 GB, free: 188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003706/1.953, allocations: 58.2 kB / 0.9265 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009869/1.963, allocations: 11.55 MB / 0.9377 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.963, allocations: 3.938 kB / 0.9377 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/1.976, allocations: 10.69 MB / 0.9482 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004055/1.98, allocations: 1.24 MB / 0.9494 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/1.982, allocations: 56 kB / 0.9494 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/1.985, allocations: 210.3 kB / 0.9496 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/1.986, allocations: 190.8 kB / 0.9498 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.986, allocations: 91.66 kB / 0.9499 GB, free: 166 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01028/1.996, allocations: 5.271 MB / 0.9551 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.944e-06/1.996, allocations: 0 / 0.9551 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01324/2.01, allocations: 1.875 MB / 0.9569 GB, free: 159.8 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.001289/2.011, allocations: 214 kB / 0.9571 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01504/2.026, allocations: 9.068 MB / 0.966 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.026, allocations: 0 / 0.966 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005004/2.031, allocations: 3.331 MB / 0.9692 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/2.038, allocations: 0.9126 MB / 0.9701 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/2.077, allocations: 20.82 MB / 0.9904 GB, free: 125.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009822/2.087, allocations: 5.904 MB / 0.9962 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008483/2.095, allocations: 3.05 MB / 0.9992 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/2.097, allocations: 459.4 kB / 0.9996 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/2.097, allocations: 0 / 0.9996 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1174/2.215, allocations: 71.5 MB / 1.069 GB, free: 44.68 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: