Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") [: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.002115/0.002115, allocations: 182.1 kB / 7.458 MB, free: 2.496 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.098/1.098, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.001682/0.001682, allocations: 121.4 kB / 247.1 MB, free: 6.371 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.1542/0.1542, allocations: 39.95 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.714e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.4083, allocations: 95.19 MB / 0.5301 GB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4086, allocations: 75.25 kB / 0.5302 GB, free: 5.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.221/0.6296, allocations: 83.02 MB / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002242/0.6299, allocations: 75.94 kB / 0.6113 GB, free: 9.996 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01286/0.6428, allocations: 3.6 MB / 0.6149 GB, free: 6.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6428, allocations: 12.03 kB / 0.6149 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.6585, allocations: 2.798 MB / 0.6176 GB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.671, allocations: 4.19 MB / 0.6217 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.6714, allocations: 131.9 kB / 0.6218 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.6743, allocations: 224 kB / 0.622 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01696/0.6913, allocations: 7.435 MB / 0.6293 GB, free: 7.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.7182, allocations: 9.642 MB / 0.6387 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002558/0.7185, allocations: 27.72 kB / 0.6387 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002298/0.7208, allocations: 12 kB / 0.6387 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002175/0.723, allocations: 1.285 MB / 0.64 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.257/0.98, allocations: 33.34 MB / 0.6726 GB, free: 159.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.9844, allocations: 4.293 MB / 0.6768 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/0.987, allocations: 2.391 MB / 0.6791 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1, allocations: 10.12 MB / 0.689 GB, free: 154.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.001, allocations: 46.62 kB / 0.689 GB, free: 154.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=186): time 5.801e-06/1.001, allocations: 0 / 0.689 GB, free: 154.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=201): time 0.02199/1.023, allocations: 11.91 MB / 0.7006 GB, free: 153.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.023, allocations: 71.17 kB / 0.7007 GB, free: 153.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/1.026, allocations: 2.484 MB / 0.7031 GB, free: 153.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/1.027, allocations: 25.7 kB / 0.7032 GB, free: 153.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/1.028, allocations: 2.797 MB / 0.7059 GB, free: 151.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008097/1.029, allocations: 0.729 MB / 0.7066 GB, free: 151.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.029, allocations: 0 / 0.7066 GB, free: 151.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003654/1.03, allocations: 0.6008 MB / 0.7072 GB, free: 150.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.032, allocations: 2.198 MB / 0.7093 GB, free: 150.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/1.036, allocations: 5.317 MB / 0.7145 GB, free: 146.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/1.041, allocations: 3.475 MB / 0.7179 GB, free: 145.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-05/1.041, allocations: 30.47 kB / 0.718 GB, free: 145.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.01266/1.053, allocations: 7.502 MB / 0.7253 GB, free: 143.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.054, allocations: 3.875 kB / 0.7253 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.339e-05/1.054, allocations: 110.6 kB / 0.7254 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.056, allocations: 0.7579 MB / 0.7261 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.06, allocations: 1.255 MB / 0.7274 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/1.065, allocations: 3.927 MB / 0.7312 GB, free: 141.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/1.07, allocations: 167.2 kB / 0.7314 GB, free: 141.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00131/1.071, allocations: 323.7 kB / 0.7317 GB, free: 140.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (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 (680): * Single equations (assignments): 673 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001535/1.073, allocations: 395.3 kB / 0.732 GB, free: 140.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/1.073, allocations: 256.6 kB / 0.7323 GB, free: 140.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007401/1.081, allocations: 4.173 MB / 0.7364 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/1.081, allocations: 35.84 kB / 0.7364 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.081, allocations: 4 kB / 0.7364 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.081, allocations: 15.45 kB / 0.7364 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.095, allocations: 8.104 MB / 0.7443 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.095, allocations: 0 / 0.7443 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.097, allocations: 273.1 kB / 0.7446 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/1.099, allocations: 0.59 MB / 0.7452 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/1.099, allocations: 8 kB / 0.7452 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/1.103, allocations: 3.423 MB / 0.7485 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.103, allocations: 0 / 0.7485 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008234/1.111, allocations: 6.392 MB / 0.7548 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.113, allocations: 0.6145 MB / 0.7554 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/1.113, allocations: 3.906 kB / 0.7554 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.114, allocations: 69.23 kB / 0.7554 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/1.114, allocations: 72.02 kB / 0.7555 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.114, allocations: 51.75 kB / 0.7555 GB, free: 120.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002333/1.117, allocations: 1.623 MB / 0.7571 GB, free: 118.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004107/1.121, allocations: 0.8295 MB / 0.7579 GB, free: 117.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004059/1.121, allocations: 143.3 kB / 0.7581 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006339/1.128, allocations: 5.146 MB / 0.7631 GB, free: 113.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.128, allocations: 0 / 0.7631 GB, free: 113.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/1.13, allocations: 1.816 MB / 0.7649 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/1.131, allocations: 198.8 kB / 0.7651 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.144, allocations: 7.578 MB / 0.7725 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004268/1.149, allocations: 3.544 MB / 0.7759 GB, free: 101.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/1.149, allocations: 3.375 kB / 0.7759 GB, free: 101.8 MB / 474.7 MB Notification: Performance of Templates: time 0.05805/1.207, allocations: 33.29 MB / 0.8084 GB, free: 72.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)