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.006953/0.006953, allocations: 176 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.733/1.733, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001737/0.001737, allocations: 112.6 kB / 255.6 MB, free: 10.24 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.2049/0.2049, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 11.16 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5976, allocations: 99.29 MB / 0.5472 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5979, allocations: 77.95 kB / 0.5473 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3338/0.9317, allocations: 128.5 MB / 0.6727 GB, free: 1.773 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.9318, allocations: 0 / 0.6727 GB, free: 1.773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008923/0.9327, allocations: 119.9 kB / 0.6729 GB, free: 1.656 MB / 442.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.02934/0.9621, allocations: 6.68 MB / 0.6794 GB, free: 10.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9622, allocations: 8.031 kB / 0.6794 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/0.9905, allocations: 6.446 MB / 0.6857 GB, free: 4.418 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02657/1.017, allocations: 8.608 MB / 0.6941 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000648/1.018, allocations: 439.4 kB / 0.6945 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005393/1.023, allocations: 0.5817 MB / 0.6951 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04622/1.07, allocations: 15.42 MB / 0.7101 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004427/1.07, allocations: 59.48 kB / 0.7102 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003955/1.074, allocations: 259.8 kB / 0.7104 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003061/1.077, allocations: 1.687 MB / 0.7121 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3514/1.429, allocations: 14.83 MB / 0.7266 GB, free: 94.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09469/1.523, allocations: 56.26 MB / 0.7815 GB, free: 73.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/1.541, allocations: 8.004 MB / 0.7893 GB, free: 70.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/1.543, allocations: 2.21 MB / 0.7915 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.671e-05/1.543, allocations: 63.2 kB / 0.7916 GB, free: 68.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=367): time 1.266e-05/1.543, allocations: 3.531 kB / 0.7916 GB, free: 68.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=419): time 0.1106/1.654, allocations: 39.68 MB / 0.8303 GB, free: 56.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.654, allocations: 116 kB / 0.8304 GB, free: 56.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009282/1.663, allocations: 3.853 MB / 0.8342 GB, free: 52.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001392/1.665, allocations: 85.7 kB / 0.8343 GB, free: 52.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003691/1.669, allocations: 3.912 MB / 0.8381 GB, free: 49.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002811/1.671, allocations: 1.489 MB / 0.8395 GB, free: 48.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/1.673, allocations: 155.8 kB / 0.8397 GB, free: 48.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009622/1.674, allocations: 0.6339 MB / 0.8403 GB, free: 47.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007098/1.681, allocations: 3.889 MB / 0.8441 GB, free: 44.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009689/1.691, allocations: 7.676 MB / 0.8516 GB, free: 35.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009173/1.7, allocations: 5.427 MB / 0.8569 GB, free: 31.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/1.7, allocations: 40 kB / 0.8569 GB, free: 31.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.03065/1.731, allocations: 14.06 MB / 0.8707 GB, free: 19.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001903/1.731, allocations: 60 kB / 0.8707 GB, free: 19.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/1.732, allocations: 133.4 kB / 0.8709 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00761/1.739, allocations: 2.639 MB / 0.8734 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007785/1.747, allocations: 1.943 MB / 0.8753 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.765, allocations: 14.07 MB / 0.8891 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007885/1.773, allocations: 481.8 kB / 0.8895 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/1.775, allocations: 423.5 kB / 0.8899 GB, free: 2.949 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (920): * Single equations (assignments): 912 * 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.008143/1.783, allocations: 2.916 MB / 0.8928 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/1.785, allocations: 462.2 kB / 0.8932 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/1.808, allocations: 10.43 MB / 0.9034 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/1.808, allocations: 59.98 kB / 0.9035 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.808, allocations: 8.547 kB / 0.9035 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.505e-05/1.808, allocations: 15.94 kB / 0.9035 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3865/2.194, allocations: 21.05 MB / 0.9241 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.886e-05/2.195, allocations: 10.94 kB / 0.9241 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004388/2.199, allocations: 0.7837 MB / 0.9248 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007511/2.206, allocations: 2.416 MB / 0.9272 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001252/2.208, allocations: 79.98 kB / 0.9273 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/2.223, allocations: 12.81 MB / 0.9398 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/2.224, allocations: 16.5 kB / 0.9398 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/2.249, allocations: 16.24 MB / 0.9557 GB, free: 97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005043/2.254, allocations: 1.151 MB / 0.9568 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003031/2.257, allocations: 74.8 kB / 0.9568 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004903/2.262, allocations: 296.6 kB / 0.9571 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001647/2.264, allocations: 267.3 kB / 0.9574 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009831/2.265, allocations: 116.8 kB / 0.9575 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006822/2.272, allocations: 2.71 MB / 0.9601 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.102e-06/2.272, allocations: 0 / 0.9601 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01125/2.283, allocations: 1.645 MB / 0.9618 GB, free: 96.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * 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.001721/2.285, allocations: 243.8 kB / 0.962 GB, free: 96.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.303, allocations: 9.719 MB / 0.9715 GB, free: 94.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.439e-05/2.303, allocations: 0 / 0.9715 GB, free: 94.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008069/2.311, allocations: 4.237 MB / 0.9756 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007017/2.318, allocations: 0.6375 MB / 0.9762 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/2.36, allocations: 18.37 MB / 0.9942 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/2.371, allocations: 4.744 MB / 0.9988 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009749/2.381, allocations: 2.738 MB / 1.001 GB, free: 81.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/2.384, allocations: 345.1 kB / 1.002 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of SimCode: time 2.074e-06/2.384, allocations: 3.938 kB / 1.002 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.121/2.505, allocations: 65.11 MB / 1.065 GB, free: 30.99 MB / 0.4948 GB 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)