Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001089/0.001089, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.245/1.245, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001575/0.001575, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1783/0.1783, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.916e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.08852, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4487, allocations: 92.68 MB / 498.4 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.4489, allocations: 73.81 kB / 498.5 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5895/1.038, allocations: 136.9 MB / 0.6205 GB, free: 63.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.038, allocations: 2.406 kB / 0.6205 GB, free: 63.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004504/1.039, allocations: 137.1 kB / 0.6206 GB, free: 63.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02471/1.064, allocations: 6.631 MB / 0.6271 GB, free: 62.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.064, allocations: 9.375 kB / 0.6271 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03984/1.104, allocations: 9.492 MB / 0.6364 GB, free: 62.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02211/1.126, allocations: 8.729 MB / 0.6449 GB, free: 61.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000549/1.126, allocations: 0.5052 MB / 0.6454 GB, free: 61.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003613/1.13, allocations: 0.6802 MB / 0.6461 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03718/1.167, allocations: 15.96 MB / 0.6617 GB, free: 57.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004821/1.168, allocations: 102.5 kB / 0.6618 GB, free: 57.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002334/1.17, allocations: 330.8 kB / 0.6621 GB, free: 57.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001848/1.172, allocations: 1.457 MB / 0.6635 GB, free: 57.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/1.196, allocations: 12.63 MB / 0.6758 GB, free: 57.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07737/1.274, allocations: 70.67 MB / 0.7449 GB, free: 22.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/1.288, allocations: 5.835 MB / 0.7506 GB, free: 18.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/1.292, allocations: 3.029 MB / 0.7535 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/1.293, allocations: 49.03 kB / 0.7536 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/1.293, allocations: 62.94 kB / 0.7536 GB, free: 15.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 6.713e-06/1.293, allocations: 0 / 0.7536 GB, free: 15.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.05291/1.346, allocations: 19.03 MB / 0.7722 GB, free: 15.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/1.346, allocations: 261.2 kB / 0.7724 GB, free: 14.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/1.357, allocations: 6.094 MB / 0.7784 GB, free: 9.523 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005778/1.357, allocations: 61.7 kB / 0.7785 GB, free: 9.457 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004189/1.361, allocations: 4.863 MB / 0.7832 GB, free: 5.086 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.363, allocations: 1.002 MB / 0.7842 GB, free: 4.207 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/1.363, allocations: 172 kB / 0.7843 GB, free: 4.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005131/1.364, allocations: 0.6601 MB / 0.785 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/1.368, allocations: 2.792 MB / 0.7877 GB, free: 0.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3299/1.698, allocations: 8.546 MB / 0.7961 GB, free: 84.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/1.712, allocations: 4.659 MB / 0.8006 GB, free: 84.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003334/1.712, allocations: 51.38 kB / 0.8007 GB, free: 84.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03088/1.743, allocations: 11.05 MB / 0.8115 GB, free: 84.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004337/1.743, allocations: 84.28 kB / 0.8115 GB, free: 84.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005077/1.744, allocations: 182.6 kB / 0.8117 GB, free: 84.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/1.746, allocations: 0.8054 MB / 0.8125 GB, free: 84.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00681/1.753, allocations: 1.928 MB / 0.8144 GB, free: 84.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/1.762, allocations: 8.302 MB / 0.8225 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008367/1.77, allocations: 461.1 kB / 0.8229 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.772, allocations: 0.5024 MB / 0.8234 GB, free: 80.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002899/1.775, allocations: 0.7635 MB / 0.8242 GB, free: 79.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/1.777, allocations: 0.5804 MB / 0.8247 GB, free: 79.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/1.785, allocations: 4.267 MB / 0.8289 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/1.785, allocations: 29.23 kB / 0.8289 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/1.785, allocations: 11.39 kB / 0.8289 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/1.785, allocations: 12.66 kB / 0.8289 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.807, allocations: 11.16 MB / 0.8398 GB, free: 78.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/1.807, allocations: 0 / 0.8398 GB, free: 78.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.809, allocations: 411.7 kB / 0.8402 GB, free: 78.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/1.811, allocations: 0.5067 MB / 0.8407 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/1.811, allocations: 43.38 kB / 0.8408 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007038/1.818, allocations: 7.386 MB / 0.848 GB, free: 74.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.818, allocations: 3.812 kB / 0.848 GB, free: 74.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.83, allocations: 7.63 MB / 0.8554 GB, free: 72.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004141/1.834, allocations: 0.9899 MB / 0.8564 GB, free: 72.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/1.836, allocations: 49.88 kB / 0.8565 GB, free: 72.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/1.84, allocations: 146.9 kB / 0.8566 GB, free: 72.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/1.841, allocations: 148.3 kB / 0.8567 GB, free: 72.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.841, allocations: 69.38 kB / 0.8568 GB, free: 72.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009544/1.85, allocations: 4.333 MB / 0.861 GB, free: 70.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.85, allocations: 0 / 0.861 GB, free: 70.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01034/1.861, allocations: 1.514 MB / 0.8625 GB, free: 70.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0008583/1.862, allocations: 201.6 kB / 0.8627 GB, free: 70.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01147/1.873, allocations: 7.109 MB / 0.8696 GB, free: 67.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.873, allocations: 2.656 kB / 0.8696 GB, free: 67.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003978/1.877, allocations: 2.388 MB / 0.872 GB, free: 66.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/1.883, allocations: 0.7628 MB / 0.8727 GB, free: 66.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/1.914, allocations: 12.02 MB / 0.8845 GB, free: 61.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009888/1.924, allocations: 5.03 MB / 0.8894 GB, free: 58.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00902/1.933, allocations: 2.752 MB / 0.8921 GB, free: 56.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/1.935, allocations: 384.8 kB / 0.8924 GB, free: 56.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.935, allocations: 0 / 0.8924 GB, free: 56.12 MB / 458.7 MB Notification: Performance of Templates: time 0.1032/2.038, allocations: 54.58 MB / 0.9457 GB, free: 14.93 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)