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.008914/0.008914, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001784/0.001784, allocations: 188.8 kB / 16.67 MB, free: 5.914 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.54/1.54, allocations: 205.1 MB / 222.6 MB, free: 4.328 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.3564/0.3564, allocations: 39.95 MB / 309.9 MB, free: 9.656 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.001733/0.001733, allocations: 67.91 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3983, allocations: 56.88 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01489/0.4132, allocations: 13.74 MB / 0.4946 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.4257, allocations: 4.602 MB / 0.4991 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.4303, allocations: 88.56 kB / 0.4991 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008274/0.4386, allocations: 3.752 MB / 0.5028 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009159/0.4478, allocations: 2.369 MB / 0.5051 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.4514, allocations: 1.003 MB / 0.5061 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.4654, allocations: 5.909 MB / 0.5119 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0125/0.478, allocations: 4.685 MB / 0.5164 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006559/0.4846, allocations: 2.08 MB / 0.5185 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006319/0.4909, allocations: 2.823 MB / 0.5212 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.4931, allocations: 444 kB / 0.5217 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.4979, allocations: 1.471 MB / 0.5231 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004362/0.5023, allocations: 2.618 MB / 0.5256 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006743/0.5091, allocations: 2.94 MB / 0.5285 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.525, allocations: 9.408 MB / 0.5377 GB, free: 6.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.525, allocations: 0 / 0.5377 GB, free: 6.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.525, allocations: 0 / 0.5377 GB, free: 6.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003037/0.5253, allocations: 0 / 0.5377 GB, free: 6.211 MB / 414.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.01562/0.541, allocations: 6.559 MB / 0.5441 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.541, allocations: 15.89 kB / 0.5441 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.5542, allocations: 2.661 MB / 0.5467 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.5661, allocations: 4.045 MB / 0.5507 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.5664, allocations: 307.3 kB / 0.551 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002971/0.5694, allocations: 403.7 kB / 0.5514 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/0.5975, allocations: 12.61 MB / 0.5637 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.5977, allocations: 59.58 kB / 0.5637 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/0.5982, allocations: 191.8 kB / 0.5639 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004159/0.6024, allocations: 2.409 MB / 0.5663 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.6249, allocations: 10.54 MB / 0.5766 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06474/0.6898, allocations: 48.69 MB / 0.6241 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.7016, allocations: 4.802 MB / 0.6288 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003563/0.7052, allocations: 2.44 MB / 0.6312 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3803/1.086, allocations: 7.189 MB / 0.6382 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/1.086, allocations: 54.47 kB / 0.6382 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 5.991e-06/1.086, allocations: 0 / 0.6382 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.05309/1.139, allocations: 18.29 MB / 0.6561 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.139, allocations: 203.1 kB / 0.6563 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.151, allocations: 5.849 MB / 0.662 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006903/1.152, allocations: 59.2 kB / 0.6621 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/1.155, allocations: 4.097 MB / 0.6661 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.157, allocations: 0.7975 MB / 0.6668 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002865/1.16, allocations: 1.519 MB / 0.6683 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/1.16, allocations: 303 kB / 0.6686 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/1.164, allocations: 2.601 MB / 0.6712 GB, free: 110 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005684/1.17, allocations: 7.042 MB / 0.678 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009786/1.18, allocations: 10.34 MB / 0.6881 GB, free: 93.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/1.18, allocations: 46.16 kB / 0.6882 GB, free: 93.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01914/1.199, allocations: 10.42 MB / 0.6984 GB, free: 83.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/1.199, allocations: 72.97 kB / 0.6984 GB, free: 83.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.2, allocations: 156 kB / 0.6986 GB, free: 83.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/1.202, allocations: 1.231 MB / 0.6998 GB, free: 82.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005468/1.208, allocations: 1.704 MB / 0.7014 GB, free: 80.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008887/1.217, allocations: 8.361 MB / 0.7096 GB, free: 71.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009044/1.226, allocations: 407.6 kB / 0.71 GB, free: 71.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.227, allocations: 444 kB / 0.7104 GB, free: 71.06 MB / 0.4981 GB 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.005015/1.232, allocations: 2.626 MB / 0.713 GB, free: 68.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.234, allocations: 0.5044 MB / 0.7135 GB, free: 67.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/1.242, allocations: 3.978 MB / 0.7174 GB, free: 63.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/1.242, allocations: 24 kB / 0.7174 GB, free: 63.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.242, allocations: 4 kB / 0.7174 GB, free: 63.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/1.242, allocations: 7.969 kB / 0.7174 GB, free: 63.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.258, allocations: 9.264 MB / 0.7264 GB, free: 54.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.258, allocations: 4.281 kB / 0.7264 GB, free: 54.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.259, allocations: 355.5 kB / 0.7268 GB, free: 54.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/1.262, allocations: 0.9886 MB / 0.7277 GB, free: 53.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.262, allocations: 40 kB / 0.7278 GB, free: 53.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007082/1.269, allocations: 7.685 MB / 0.7353 GB, free: 45.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.269, allocations: 7.938 kB / 0.7353 GB, free: 45.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009484/1.279, allocations: 6.765 MB / 0.7419 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/1.281, allocations: 0.849 MB / 0.7427 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007507/1.282, allocations: 32 kB / 0.7428 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.284, allocations: 119.8 kB / 0.7429 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/1.284, allocations: 117 kB / 0.743 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.284, allocations: 51.73 kB / 0.743 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006145/1.291, allocations: 3.737 MB / 0.7467 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.291, allocations: 0 / 0.7467 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00803/1.299, allocations: 1.262 MB / 0.7479 GB, free: 32.22 MB / 0.4981 GB 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.0005651/1.299, allocations: 178.6 kB / 0.7481 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.309, allocations: 6.244 MB / 0.7542 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.309, allocations: 0 / 0.7542 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.311, allocations: 1.887 MB / 0.756 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006361/1.317, allocations: 0.6173 MB / 0.7566 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/1.336, allocations: 11.94 MB / 0.7683 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.34, allocations: 4.017 MB / 0.7722 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004836/1.345, allocations: 2.283 MB / 0.7745 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008709/1.346, allocations: 315.3 kB / 0.7748 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.346, allocations: 0 / 0.7748 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of Templates: time 0.0875/1.433, allocations: 44.72 MB / 0.8184 GB, free: 8.008 MB / 0.545 GB 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)