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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003841/0.003841, allocations: 184.6 kB / 7.458 MB, free: 2.293 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.222/1.222, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.001688/0.001688, allocations: 126 kB / 247.1 MB, free: 6.199 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.162/0.162, allocations: 39.94 MB / 331.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.665e-06/7.795e-06, allocations: 4 kB / 392.8 MB, free: 75.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09161/0.09163, allocations: 54.86 MB / 447.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.4078, allocations: 98.46 MB / 0.5333 GB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4081, allocations: 72.3 kB / 0.5334 GB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3939/0.8019, allocations: 124.4 MB / 0.6549 GB, free: 13.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004645/0.8025, allocations: 120 kB / 0.655 GB, free: 13.09 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.02311/0.8256, allocations: 6.126 MB / 0.661 GB, free: 6.895 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.8257, allocations: 12.03 kB / 0.661 GB, free: 6.883 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02735/0.853, allocations: 5.583 MB / 0.6664 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2409/1.094, allocations: 8.662 MB / 0.6749 GB, free: 73.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/1.094, allocations: 185.3 kB / 0.6751 GB, free: 73.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003112/1.097, allocations: 352.7 kB / 0.6754 GB, free: 73.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01669/1.114, allocations: 10.93 MB / 0.6861 GB, free: 73.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/1.139, allocations: 14.09 MB / 0.6999 GB, free: 71.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003674/1.139, allocations: 53.16 kB / 0.6999 GB, free: 71.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/1.141, allocations: 21.69 kB / 0.6999 GB, free: 71.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002615/1.143, allocations: 1.809 MB / 0.7017 GB, free: 71.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08238/1.226, allocations: 54.92 MB / 0.7553 GB, free: 47.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007472/1.233, allocations: 5.781 MB / 0.761 GB, free: 44.83 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006333/1.24, allocations: 5.143 MB / 0.766 GB, free: 42.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03301/1.273, allocations: 18.26 MB / 0.7838 GB, free: 32.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/1.273, allocations: 68.17 kB / 0.7839 GB, free: 32.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.454e-06/1.273, allocations: 0 / 0.7839 GB, free: 32.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.08194/1.355, allocations: 34.02 MB / 0.8171 GB, free: 11.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.355, allocations: 111.8 kB / 0.8172 GB, free: 11.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/1.363, allocations: 3.775 MB / 0.8209 GB, free: 8.207 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.364, allocations: 29.7 kB / 0.8209 GB, free: 8.172 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.366, allocations: 3.741 MB / 0.8246 GB, free: 4.816 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00209/1.368, allocations: 1.356 MB / 0.8259 GB, free: 3.586 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/1.369, allocations: 0 / 0.8259 GB, free: 3.586 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000719/1.37, allocations: 0.6529 MB / 0.8266 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007996/1.378, allocations: 4.085 MB / 0.8305 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/1.39, allocations: 7.919 MB / 0.8383 GB, free: 6.801 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.401, allocations: 5.607 MB / 0.8438 GB, free: 2.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002238/1.402, allocations: 40 kB / 0.8438 GB, free: 2.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=1065) (initialization): time 0.2257/1.627, allocations: 13.61 MB / 0.8571 GB, free: 150.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.628, allocations: 6.219 kB / 0.8571 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/1.628, allocations: 138.8 kB / 0.8572 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007221/1.635, allocations: 2.423 MB / 0.8596 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008098/1.643, allocations: 1.917 MB / 0.8615 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/1.659, allocations: 12.47 MB / 0.8736 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.666, allocations: 259.7 kB / 0.8739 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.667, allocations: 460 kB / 0.8743 GB, free: 148 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 (968): * Single equations (assignments): 960 * 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,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001189/1.668, allocations: 471.7 kB / 0.8748 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006756/1.669, allocations: 455.4 kB / 0.8752 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.684, allocations: 9.544 MB / 0.8845 GB, free: 147.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.88e-05/1.684, allocations: 56.8 kB / 0.8846 GB, free: 147.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.684, allocations: 6.531 kB / 0.8846 GB, free: 147.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.684, allocations: 17.67 kB / 0.8846 GB, free: 147.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02868/1.713, allocations: 17.71 MB / 0.9019 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/1.713, allocations: 7.75 kB / 0.9019 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/1.717, allocations: 0.6394 MB / 0.9025 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006757/1.723, allocations: 2.193 MB / 0.9047 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006254/1.724, allocations: 13.61 kB / 0.9047 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.738, allocations: 11.36 MB / 0.9158 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.738, allocations: 5.094 kB / 0.9158 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02271/1.761, allocations: 14.61 MB / 0.9301 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00332/1.765, allocations: 1.12 MB / 0.9311 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.766, allocations: 11.28 kB / 0.9312 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/1.768, allocations: 144.5 kB / 0.9313 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.769, allocations: 179.2 kB / 0.9315 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/1.769, allocations: 96 kB / 0.9316 GB, free: 132.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003784/1.773, allocations: 2.547 MB / 0.934 GB, free: 129.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008018/1.781, allocations: 1.439 MB / 0.9355 GB, free: 128.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (306): * Single equations (assignments): 298 * 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%) 29,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007979/1.782, allocations: 162.3 kB / 0.9356 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01355/1.795, allocations: 9.389 MB / 0.9448 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.795, allocations: 2.719 kB / 0.9448 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005486/1.801, allocations: 3.966 MB / 0.9486 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/1.804, allocations: 472.8 kB / 0.9491 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/1.83, allocations: 12.96 MB / 0.9618 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006325/1.837, allocations: 5.086 MB / 0.9667 GB, free: 100.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.014e-06/1.837, allocations: 3.938 kB / 0.9667 GB, free: 100.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1077/1.944, allocations: 67.24 MB / 1.032 GB, free: 39.65 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)