Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 192.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4406/0.4406, allocations: 39.94 MB / 309.7 MB, free: 9.273 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.001621/0.001621, allocations: 74.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1511, allocations: 56.87 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01605/0.1672, allocations: 13.72 MB / 448.2 MB, free: 5.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.18, allocations: 4.614 MB / 452.8 MB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003489/0.1836, allocations: 87.75 kB / 452.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.351/0.5346, allocations: 3.751 MB / 456.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00958/0.5443, allocations: 2.367 MB / 459 MB, free: 36.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003321/0.5476, allocations: 1.004 MB / 460 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.5596, allocations: 5.905 MB / 465.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007708/0.5674, allocations: 4.697 MB / 470.6 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005725/0.5731, allocations: 2.079 MB / 472.7 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/0.579, allocations: 2.815 MB / 475.5 MB, free: 33.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.5809, allocations: 450 kB / 476 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.5852, allocations: 1.466 MB / 477.4 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004206/0.5894, allocations: 2.623 MB / 480.1 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005635/0.5951, allocations: 2.94 MB / 483 MB, free: 29.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02329/0.6184, allocations: 9.069 MB / 492.1 MB, free: 26.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.089e-05/0.6185, allocations: 0 / 492.1 MB, free: 26.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.6185, allocations: 0 / 492.1 MB, free: 26.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008801/0.6194, allocations: 1.094 kB / 492.1 MB, free: 26.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0346/0.654, allocations: 6.391 MB / 498.5 MB, free: 23.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.094e-05/0.6541, allocations: 13.2 kB / 498.5 MB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.6706, allocations: 2.637 MB / 0.4894 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.6851, allocations: 3.951 MB / 0.4932 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/0.6856, allocations: 298.5 kB / 0.4935 GB, free: 20.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003354/0.689, allocations: 398.4 kB / 0.4939 GB, free: 20.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/0.7265, allocations: 12.62 MB / 0.5062 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003583/0.7269, allocations: 55.53 kB / 0.5063 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/0.7285, allocations: 197.3 kB / 0.5065 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004345/0.7329, allocations: 2.401 MB / 0.5088 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.7577, allocations: 10.54 MB / 0.5191 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08223/0.8399, allocations: 48.82 MB / 0.5668 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.8526, allocations: 4.796 MB / 0.5715 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.8566, allocations: 2.436 MB / 0.5738 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01415/0.8707, allocations: 7.17 MB / 0.5808 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.8708, allocations: 51.8 kB / 0.5809 GB, free: 14.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 5.71e-06/0.8709, allocations: 4 kB / 0.5809 GB, free: 14.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.05245/0.9233, allocations: 17.99 MB / 0.5985 GB, free: 11.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.9235, allocations: 205.2 kB / 0.5986 GB, free: 11.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/0.9343, allocations: 5.827 MB / 0.6043 GB, free: 5.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007681/0.9352, allocations: 57.7 kB / 0.6044 GB, free: 5.809 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003421/0.9386, allocations: 3.953 MB / 0.6083 GB, free: 1.863 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.9402, allocations: 0.7642 MB / 0.609 GB, free: 1.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002982/0.9432, allocations: 1.505 MB / 0.6105 GB, free: 15.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9433, allocations: 305.1 kB / 0.6108 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/0.948, allocations: 2.603 MB / 0.6133 GB, free: 12.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008229/0.9562, allocations: 7.039 MB / 0.6202 GB, free: 3.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3932/1.349, allocations: 10.34 MB / 0.6303 GB, free: 134 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002322/1.35, allocations: 48.23 kB / 0.6303 GB, free: 134 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02803/1.378, allocations: 10.4 MB / 0.6405 GB, free: 131.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.378, allocations: 74.28 kB / 0.6405 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/1.378, allocations: 158 kB / 0.6407 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/1.381, allocations: 1.223 MB / 0.6419 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006421/1.388, allocations: 1.697 MB / 0.6436 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/1.397, allocations: 8.362 MB / 0.6517 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008039/1.405, allocations: 414.8 kB / 0.6521 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/1.407, allocations: 447.4 kB / 0.6525 GB, free: 125.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007786/1.415, allocations: 2.62 MB / 0.6551 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/1.417, allocations: 482.2 kB / 0.6556 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008684/1.425, allocations: 3.979 MB / 0.6594 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/1.425, allocations: 23.53 kB / 0.6595 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/1.426, allocations: 5.344 kB / 0.6595 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.426, allocations: 7.953 kB / 0.6595 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.449, allocations: 9.297 MB / 0.6686 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/1.449, allocations: 3.219 kB / 0.6686 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.451, allocations: 361.6 kB / 0.6689 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/1.453, allocations: 0.9883 MB / 0.6699 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.454, allocations: 43.25 kB / 0.6699 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007945/1.461, allocations: 7.68 MB / 0.6774 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.462, allocations: 3.688 kB / 0.6774 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.472, allocations: 6.751 MB / 0.684 GB, free: 112.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003681/1.476, allocations: 0.8261 MB / 0.6848 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002135/1.478, allocations: 36.12 kB / 0.6849 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/1.482, allocations: 122.7 kB / 0.685 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/1.482, allocations: 111.8 kB / 0.6851 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.482, allocations: 50.05 kB / 0.6851 GB, free: 111.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01107/1.494, allocations: 3.732 MB / 0.6888 GB, free: 110.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.132e-06/1.494, allocations: 0 / 0.6888 GB, free: 110.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01255/1.506, allocations: 1.279 MB / 0.69 GB, free: 108.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/1.508, allocations: 166.5 kB / 0.6902 GB, free: 108.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01613/1.524, allocations: 7.338 MB / 0.6973 GB, free: 101.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.524, allocations: 0 / 0.6973 GB, free: 101.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003327/1.527, allocations: 1.875 MB / 0.6992 GB, free: 99.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008971/1.536, allocations: 0.6227 MB / 0.6998 GB, free: 99.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.567, allocations: 11.9 MB / 0.7114 GB, free: 87.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009424/1.577, allocations: 4.025 MB / 0.7153 GB, free: 83.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006972/1.584, allocations: 2.291 MB / 0.7176 GB, free: 80.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.585, allocations: 311.4 kB / 0.7179 GB, free: 80.45 MB / 494.1 MB Notification: Performance of SimCode: time 2.635e-06/1.585, allocations: 0 / 0.7179 GB, free: 80.45 MB / 494.1 MB Notification: Performance of Templates: time 0.1026/1.688, allocations: 49.16 MB / 0.7659 GB, free: 31.39 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)