Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001383/0.001383, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.644/1.644, allocations: 194.3 MB / 202.4 MB, free: 8.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.001671/0.00167, allocations: 117.5 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3245/0.3245, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.62e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5159, allocations: 98.53 MB / 0.5339 GB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5162, allocations: 74.53 kB / 0.534 GB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3371/0.8534, allocations: 126.3 MB / 0.6573 GB, free: 10.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8534, allocations: 0 / 0.6573 GB, free: 10.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004363/0.8539, allocations: 120 kB / 0.6574 GB, free: 10.79 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.02374/0.8776, allocations: 6.231 MB / 0.6635 GB, free: 4.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8777, allocations: 12.03 kB / 0.6635 GB, free: 4.469 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3321/1.21, allocations: 6.451 MB / 0.6698 GB, free: 95.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/1.234, allocations: 8.55 MB / 0.6782 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/1.235, allocations: 189 kB / 0.6784 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004164/1.239, allocations: 353.2 kB / 0.6787 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02168/1.26, allocations: 10.54 MB / 0.689 GB, free: 94.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03229/1.293, allocations: 13.7 MB / 0.7024 GB, free: 92.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000368/1.293, allocations: 67.16 kB / 0.7025 GB, free: 92.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002826/1.296, allocations: 28.53 kB / 0.7025 GB, free: 92.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/1.299, allocations: 1.689 MB / 0.7041 GB, free: 92.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08105/1.38, allocations: 53.26 MB / 0.7561 GB, free: 64.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007485/1.387, allocations: 6.618 MB / 0.7626 GB, free: 61.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005169/1.393, allocations: 4.602 MB / 0.7671 GB, free: 59.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/1.394, allocations: 2.217 MB / 0.7693 GB, free: 57.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/1.394, allocations: 65.09 kB / 0.7693 GB, free: 57.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=369): time 6.271e-06/1.394, allocations: 1.031 kB / 0.7693 GB, free: 57.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=431): time 0.0688/1.463, allocations: 35.86 MB / 0.8044 GB, free: 27.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/1.463, allocations: 118.7 kB / 0.8045 GB, free: 26.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/1.469, allocations: 3.511 MB / 0.8079 GB, free: 23.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001551/1.471, allocations: 25.7 kB / 0.8079 GB, free: 23.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002661/1.473, allocations: 3.988 MB / 0.8118 GB, free: 20.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002977/1.476, allocations: 1.483 MB / 0.8133 GB, free: 18.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008322/1.477, allocations: 0 / 0.8133 GB, free: 18.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005058/1.478, allocations: 0.661 MB / 0.8139 GB, free: 18.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00509/1.483, allocations: 3.824 MB / 0.8176 GB, free: 14.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007833/1.491, allocations: 7.837 MB / 0.8253 GB, free: 5.777 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008481/1.499, allocations: 5.493 MB / 0.8307 GB, free: 1.258 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/1.5, allocations: 44 kB / 0.8307 GB, free: 1.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.03594/1.535, allocations: 13.89 MB / 0.8443 GB, free: 6.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.536, allocations: 68 kB / 0.8443 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/1.536, allocations: 140 kB / 0.8445 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00773/1.544, allocations: 2.609 MB / 0.847 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008372/1.552, allocations: 2.059 MB / 0.849 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3075/1.859, allocations: 12.9 MB / 0.8616 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/1.867, allocations: 338.5 kB / 0.8619 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.869, allocations: 460.3 kB / 0.8624 GB, free: 93.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (977): * Single equations (assignments): 969 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001705/1.87, allocations: 485.9 kB / 0.8628 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000993/1.871, allocations: 455.1 kB / 0.8633 GB, free: 93.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.889, allocations: 10.27 MB / 0.8733 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.719e-05/1.889, allocations: 62.77 kB / 0.8734 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/1.889, allocations: 13.73 kB / 0.8734 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.097e-05/1.889, allocations: 18.94 kB / 0.8734 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/1.92, allocations: 19.73 MB / 0.8927 GB, free: 92.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.92, allocations: 10.88 kB / 0.8927 GB, free: 92.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/1.924, allocations: 0.8098 MB / 0.8935 GB, free: 92.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006221/1.93, allocations: 2.385 MB / 0.8958 GB, free: 92.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005297/1.931, allocations: 25.84 kB / 0.8958 GB, free: 92.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.944, allocations: 11.7 MB / 0.9073 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.944, allocations: 14.62 kB / 0.9073 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02239/1.966, allocations: 16.16 MB / 0.923 GB, free: 80.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003547/1.97, allocations: 1.149 MB / 0.9242 GB, free: 80.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.971, allocations: 20.78 kB / 0.9242 GB, free: 80.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.974, allocations: 237.3 kB / 0.9244 GB, free: 80.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/1.975, allocations: 274.9 kB / 0.9247 GB, free: 80.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002947/1.975, allocations: 119.9 kB / 0.9248 GB, free: 80.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00388/1.979, allocations: 2.364 MB / 0.9271 GB, free: 79.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.979, allocations: 384 / 0.9271 GB, free: 79.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008902/1.988, allocations: 1.46 MB / 0.9285 GB, free: 79.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 338 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009512/1.989, allocations: 185 kB / 0.9287 GB, free: 79.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01409/2.003, allocations: 9.473 MB / 0.9379 GB, free: 76.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/2.003, allocations: 7.75 kB / 0.938 GB, free: 76.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005672/2.009, allocations: 4.175 MB / 0.942 GB, free: 74.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/2.012, allocations: 485.6 kB / 0.9425 GB, free: 74.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/2.035, allocations: 13.29 MB / 0.9555 GB, free: 62.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/2.041, allocations: 4.753 MB / 0.9601 GB, free: 58.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007297/2.048, allocations: 2.868 MB / 0.9629 GB, free: 57.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/2.05, allocations: 344.1 kB / 0.9632 GB, free: 56.89 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/2.05, allocations: 0 / 0.9632 GB, free: 56.89 MB / 490.7 MB Notification: Performance of Templates: time 0.09435/2.144, allocations: 59.35 MB / 1.021 GB, free: 4.016 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)