Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.002743/0.002743, allocations: 172.5 kB / 7.446 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.256/1.256, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001753/0.001753, allocations: 115.8 kB / 217.7 MB, free: 8.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2064/0.2064, allocations: 37.97 MB / 294.8 MB, free: 9.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.306e-06, allocations: 1.375 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 48.71 MB / 398.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5387, allocations: 91.66 MB / 489.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5389, allocations: 72.69 kB / 489.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3518/0.8908, allocations: 124.4 MB / 0.5999 GB, free: 8 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006399/0.8915, allocations: 123.6 kB / 0.6 GB, free: 15.89 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: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.029/0.9205, allocations: 6.123 MB / 0.606 GB, free: 9.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.636e-05/0.9206, allocations: 8.031 kB / 0.606 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02813/0.9487, allocations: 5.587 MB / 0.6115 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2119/1.161, allocations: 8.66 MB / 0.6199 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004861/1.161, allocations: 183.8 kB / 0.6201 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005121/1.166, allocations: 351.5 kB / 0.6204 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02119/1.188, allocations: 10.94 MB / 0.6311 GB, free: 115.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/1.221, allocations: 14.08 MB / 0.6449 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/1.222, allocations: 60.88 kB / 0.6449 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002631/1.224, allocations: 18.03 kB / 0.645 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/1.227, allocations: 1.81 MB / 0.6467 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08552/1.313, allocations: 54.9 MB / 0.7003 GB, free: 86.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/1.323, allocations: 5.782 MB / 0.706 GB, free: 84.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006597/1.329, allocations: 5.14 MB / 0.711 GB, free: 82.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03303/1.362, allocations: 18.27 MB / 0.7288 GB, free: 67.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.238e-05/1.363, allocations: 68.73 kB / 0.7289 GB, free: 67.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=336): time 1.38e-05/1.363, allocations: 3.891 kB / 0.7289 GB, free: 67.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=389): time 0.08493/1.448, allocations: 34.01 MB / 0.7621 GB, free: 39.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.448, allocations: 114.7 kB / 0.7622 GB, free: 39.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009464/1.457, allocations: 3.781 MB / 0.7659 GB, free: 35.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001452/1.459, allocations: 25.7 kB / 0.766 GB, free: 35.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002684/1.461, allocations: 3.734 MB / 0.7696 GB, free: 32.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002492/1.464, allocations: 1.358 MB / 0.7709 GB, free: 31.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001659/1.466, allocations: 0 / 0.7709 GB, free: 31.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000968/1.467, allocations: 0.6536 MB / 0.7716 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006451/1.473, allocations: 3.901 MB / 0.7754 GB, free: 27.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009225/1.482, allocations: 7.918 MB / 0.7831 GB, free: 18.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009728/1.492, allocations: 5.611 MB / 0.7886 GB, free: 13.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002354/1.492, allocations: 40 kB / 0.7886 GB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=1065) (initialization): time 0.03305/1.525, allocations: 13.35 MB / 0.8017 GB, free: 2.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.526, allocations: 4 kB / 0.8017 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004044/1.526, allocations: 141 kB / 0.8018 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008259/1.534, allocations: 2.427 MB / 0.8042 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2043/1.739, allocations: 1.921 MB / 0.806 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/1.755, allocations: 12.47 MB / 0.8182 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007601/1.762, allocations: 260.8 kB / 0.8185 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/1.765, allocations: 451.8 kB / 0.8189 GB, free: 101.2 MB / 426.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.001697/1.766, allocations: 483.5 kB / 0.8194 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.767, allocations: 456.2 kB / 0.8198 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.784, allocations: 9.545 MB / 0.8291 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/1.784, allocations: 59.67 kB / 0.8292 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/1.784, allocations: 10.47 kB / 0.8292 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-05/1.784, allocations: 21.58 kB / 0.8292 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03317/1.817, allocations: 17.7 MB / 0.8465 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.817, allocations: 7.625 kB / 0.8465 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00349/1.82, allocations: 0.6349 MB / 0.8471 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007016/1.828, allocations: 2.2 MB / 0.8493 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006675/1.828, allocations: 12.38 kB / 0.8493 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.843, allocations: 11.37 MB / 0.8604 GB, free: 97.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.843, allocations: 13.19 kB / 0.8604 GB, free: 97.02 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02039/1.863, allocations: 14.61 MB / 0.8747 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/1.867, allocations: 1.114 MB / 0.8757 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.868, allocations: 10.48 kB / 0.8758 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.87, allocations: 151.3 kB / 0.8759 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/1.871, allocations: 167.6 kB / 0.8761 GB, free: 91.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003148/1.871, allocations: 96.41 kB / 0.8761 GB, free: 91.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003511/1.875, allocations: 2.554 MB / 0.8786 GB, free: 90.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007428/1.882, allocations: 1.431 MB / 0.88 GB, free: 90.27 MB / 426.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.0007764/1.883, allocations: 163.9 kB / 0.8802 GB, free: 90.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/1.896, allocations: 9.399 MB / 0.8894 GB, free: 87.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.896, allocations: 3.5 kB / 0.8894 GB, free: 87.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.901, allocations: 3.965 MB / 0.8932 GB, free: 84.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/1.904, allocations: 477.1 kB / 0.8937 GB, free: 84.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/1.928, allocations: 12.97 MB / 0.9064 GB, free: 73.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006921/1.935, allocations: 5.086 MB / 0.9113 GB, free: 69.21 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/1.935, allocations: 0 / 0.9113 GB, free: 69.21 MB / 426.7 MB Notification: Performance of Templates: time 0.3173/2.252, allocations: 67.24 MB / 0.977 GB, free: 97.98 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)