Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005096/0.005096, allocations: 174.4 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.314/1.314, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00162/0.00162, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2973/0.2973, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004671, allocations: 11.06 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 54.88 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4754/0.6056, allocations: 99.57 MB / 0.5475 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.606, allocations: 81.53 kB / 0.5475 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3492/0.9552, allocations: 137 MB / 0.6813 GB, free: 9.078 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.9553, allocations: 0 / 0.6813 GB, free: 9.078 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006911/0.956, allocations: 143.9 kB / 0.6814 GB, free: 8.938 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.03948/0.9955, allocations: 7.247 MB / 0.6885 GB, free: 1.605 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.599e-05/0.9955, allocations: 12.03 kB / 0.6885 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0559/1.051, allocations: 9.48 MB / 0.6978 GB, free: 8.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03015/1.082, allocations: 8.773 MB / 0.7063 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007598/1.082, allocations: 0.5093 MB / 0.7068 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004803/1.087, allocations: 0.6754 MB / 0.7075 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3705/1.458, allocations: 16.1 MB / 0.7232 GB, free: 81.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005644/1.458, allocations: 94.72 kB / 0.7233 GB, free: 81.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/1.461, allocations: 326.1 kB / 0.7236 GB, free: 81.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003126/1.464, allocations: 1.46 MB / 0.725 GB, free: 81.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03391/1.498, allocations: 12.85 MB / 0.7376 GB, free: 81.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08826/1.587, allocations: 70.7 MB / 0.8066 GB, free: 56.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/1.6, allocations: 5.914 MB / 0.8124 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/1.601, allocations: 50.91 kB / 0.8125 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/1.601, allocations: 65.58 kB / 0.8125 GB, free: 53.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 6.242e-06/1.601, allocations: 0 / 0.8125 GB, free: 53.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.06499/1.666, allocations: 22.47 MB / 0.8345 GB, free: 44.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.666, allocations: 262.1 kB / 0.8347 GB, free: 44.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.678, allocations: 6.146 MB / 0.8407 GB, free: 42.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007487/1.679, allocations: 63.42 kB / 0.8408 GB, free: 42.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003941/1.683, allocations: 4.862 MB / 0.8455 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/1.684, allocations: 1.002 MB / 0.8465 GB, free: 37.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/1.685, allocations: 170.7 kB / 0.8467 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005252/1.685, allocations: 0.6611 MB / 0.8473 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004376/1.69, allocations: 2.864 MB / 0.8501 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007746/1.697, allocations: 7.985 MB / 0.8579 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.708, allocations: 4.69 MB / 0.8625 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002829/1.708, allocations: 49.78 kB / 0.8625 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.02477/1.733, allocations: 11.21 MB / 0.8735 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000356/1.734, allocations: 84 kB / 0.8736 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005071/1.734, allocations: 180 kB / 0.8737 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/1.736, allocations: 0.8134 MB / 0.8745 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007776/1.744, allocations: 1.92 MB / 0.8764 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.755, allocations: 8.456 MB / 0.8847 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.766, allocations: 463.8 kB / 0.8851 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002721/1.769, allocations: 0.5019 MB / 0.8856 GB, free: 8.328 MB / 0.4948 GB 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 () * Number of clocked 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.0113/1.78, allocations: 3.207 MB / 0.8887 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/1.783, allocations: 0.5862 MB / 0.8893 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.796, allocations: 4.34 MB / 0.8935 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.189e-05/1.796, allocations: 28 kB / 0.8936 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/1.796, allocations: 8 kB / 0.8936 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.615e-05/1.796, allocations: 22.36 kB / 0.8936 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03734/1.833, allocations: 11.36 MB / 0.9047 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/1.834, allocations: 0 / 0.9047 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/1.836, allocations: 406.4 kB / 0.9051 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/1.838, allocations: 0.5045 MB / 0.9056 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000522/1.838, allocations: 47.7 kB / 0.9056 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009166/1.848, allocations: 7.539 MB / 0.913 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.848, allocations: 3.938 kB / 0.913 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3861/2.234, allocations: 7.726 MB / 0.9205 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005577/2.239, allocations: 0.9874 MB / 0.9215 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002714/2.242, allocations: 44.41 kB / 0.9215 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/2.246, allocations: 136.6 kB / 0.9217 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/2.246, allocations: 158.6 kB / 0.9218 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/2.246, allocations: 66.61 kB / 0.9219 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01093/2.257, allocations: 4.388 MB / 0.9262 GB, free: 106 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/2.257, allocations: 0 / 0.9262 GB, free: 106 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0121/2.269, allocations: 1.519 MB / 0.9276 GB, free: 106 MB / 0.5105 GB 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 () * Number of clocked 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.0007159/2.27, allocations: 186.1 kB / 0.9278 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01373/2.284, allocations: 7.244 MB / 0.9349 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/2.284, allocations: 3.062 kB / 0.9349 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004092/2.288, allocations: 2.442 MB / 0.9373 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00689/2.295, allocations: 0.747 MB / 0.938 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/2.336, allocations: 17.08 MB / 0.9547 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/2.35, allocations: 5.033 MB / 0.9596 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01109/2.361, allocations: 2.751 MB / 0.9623 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/2.364, allocations: 384.4 kB / 0.9627 GB, free: 97.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.733e-06/2.364, allocations: 3.875 kB / 0.9627 GB, free: 97.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.1221/2.486, allocations: 54.57 MB / 1.016 GB, free: 88.29 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)