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.001183/0.001182, allocations: 108 kB / 15.61 MB, free: 128 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.001204/0.001204, allocations: 198 kB / 16.53 MB, free: 6.668 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.519/1.519, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3579/0.3579, allocations: 38 MB / 307.8 MB, free: 9.98 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.002613/0.002614, allocations: 76.52 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1765, allocations: 56.48 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.02351/0.2, allocations: 19.84 MB / 451.6 MB, free: 2.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3257/0.5258, allocations: 5.935 MB / 457.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005249/0.5311, allocations: 138.7 kB / 457.6 MB, free: 35.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.5439, allocations: 6.369 MB / 464 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.5563, allocations: 3.23 MB / 467.2 MB, free: 34.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.5616, allocations: 1.591 MB / 468.8 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0162/0.5778, allocations: 9.598 MB / 478.4 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009607/0.5875, allocations: 8.248 MB / 486.7 MB, free: 27.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008882/0.5964, allocations: 3.352 MB / 490 MB, free: 26.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.6069, allocations: 4.632 MB / 494.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004383/0.6113, allocations: 0.75 MB / 495.4 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.6218, allocations: 1.758 MB / 497.2 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01341/0.6352, allocations: 4.193 MB / 0.4896 GB, free: 22.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02164/0.6569, allocations: 4.643 MB / 0.4941 GB, free: 19.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02635/0.6833, allocations: 14.02 MB / 0.5078 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.6834, allocations: 2.75 kB / 0.5078 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6834, allocations: 0 / 0.5078 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009309/0.6844, allocations: 0 / 0.5078 GB, free: 10.98 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.04103/0.7254, allocations: 9.77 MB / 0.5174 GB, free: 2.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.7255, allocations: 11.89 kB / 0.5174 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02281/0.7483, allocations: 3.681 MB / 0.521 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/0.7658, allocations: 6.465 MB / 0.5273 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/0.7664, allocations: 486 kB / 0.5278 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003225/0.7696, allocations: 0.6402 MB / 0.5284 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05032/0.8199, allocations: 19.13 MB / 0.5471 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005102/0.8205, allocations: 83.22 kB / 0.5471 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/0.8232, allocations: 297.7 kB / 0.5474 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007131/0.8304, allocations: 3.41 MB / 0.5508 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/0.8721, allocations: 16.18 MB / 0.5666 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3913/1.263, allocations: 70.58 MB / 0.6355 GB, free: 95.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02049/1.284, allocations: 8.469 MB / 0.6438 GB, free: 94.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006146/1.29, allocations: 4.528 MB / 0.6482 GB, free: 94.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/1.291, allocations: 0.6642 MB / 0.6488 GB, free: 94.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.763e-05/1.291, allocations: 80.47 kB / 0.6489 GB, free: 94.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 7.123e-06/1.291, allocations: 2.297 kB / 0.6489 GB, free: 94.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1078/1.399, allocations: 35 MB / 0.6831 GB, free: 82.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.399, allocations: 292.7 kB / 0.6834 GB, free: 81.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.412, allocations: 7.641 MB / 0.6908 GB, free: 79.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/1.414, allocations: 82.11 kB / 0.6909 GB, free: 79.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004439/1.418, allocations: 5.498 MB / 0.6963 GB, free: 75.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.42, allocations: 1.258 MB / 0.6975 GB, free: 74.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003409/1.424, allocations: 2.029 MB / 0.6995 GB, free: 73.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/1.424, allocations: 310 kB / 0.6998 GB, free: 72.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/1.429, allocations: 4.04 MB / 0.7037 GB, free: 71.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008845/1.438, allocations: 9.588 MB / 0.7131 GB, free: 62.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/1.455, allocations: 14.54 MB / 0.7273 GB, free: 48.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002202/1.455, allocations: 56 kB / 0.7273 GB, free: 48.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03052/1.486, allocations: 15.48 MB / 0.7425 GB, free: 32.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.486, allocations: 88 kB / 0.7425 GB, free: 32.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002757/1.486, allocations: 192 kB / 0.7427 GB, free: 32.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005597/1.492, allocations: 2.317 MB / 0.745 GB, free: 30.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008111/1.5, allocations: 2.332 MB / 0.7473 GB, free: 27.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.515, allocations: 16.5 MB / 0.7634 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/1.526, allocations: 0.5616 MB / 0.7639 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/1.529, allocations: 0.5691 MB / 0.7645 GB, free: 9.727 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,13,100.0%), (2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00979/1.539, allocations: 3.748 MB / 0.7681 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/1.541, allocations: 0.6479 MB / 0.7688 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.557, allocations: 7.879 MB / 0.7765 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.891e-05/1.557, allocations: 39.67 kB / 0.7765 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.772e-05/1.557, allocations: 8 kB / 0.7765 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-05/1.557, allocations: 19.94 kB / 0.7765 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04812/1.605, allocations: 16.97 MB / 0.7931 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/1.605, allocations: 96 / 0.7931 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/1.609, allocations: 0.6045 MB / 0.7937 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006164/1.615, allocations: 1.977 MB / 0.7956 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/1.616, allocations: 59.98 kB / 0.7957 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/1.635, allocations: 15.33 MB / 0.8107 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.636, allocations: 7.969 kB / 0.8107 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02565/1.661, allocations: 12.26 MB / 0.8226 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006749/1.668, allocations: 1.25 MB / 0.8239 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003268/1.671, allocations: 56 kB / 0.8239 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005669/1.677, allocations: 227.7 kB / 0.8241 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/1.678, allocations: 202.1 kB / 0.8243 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007636/1.679, allocations: 83.98 kB / 0.8244 GB, free: 11.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01211/1.691, allocations: 4.882 MB / 0.8292 GB, free: 6.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.691, allocations: 0 / 0.8292 GB, free: 6.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01526/1.707, allocations: 1.957 MB / 0.8311 GB, free: 4.824 MB / 0.545 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,10,100.0%), (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.001605/1.708, allocations: 210.3 kB / 0.8313 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2543/1.962, allocations: 12.14 MB / 0.8431 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.963, allocations: 2.297 kB / 0.8431 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005058/1.968, allocations: 3.607 MB / 0.8467 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007508/1.975, allocations: 0.9555 MB / 0.8476 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03344/2.009, allocations: 18.46 MB / 0.8656 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/2.02, allocations: 5.733 MB / 0.8712 GB, free: 176.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00994/2.03, allocations: 3.017 MB / 0.8742 GB, free: 176.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/2.032, allocations: 455.2 kB / 0.8746 GB, free: 176.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/2.032, allocations: 0 / 0.8746 GB, free: 176.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1439/2.176, allocations: 80.42 MB / 0.9531 GB, free: 117.3 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (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)