Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [: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.002555/0.002555, allocations: 182.9 kB / 7.456 MB, free: 2.508 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.25/1.25, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001807/0.001807, allocations: 124 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.162/0.162, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/8.025e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09283, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2966/0.3894, allocations: 98.71 MB / 0.5336 GB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.3898, allocations: 74.34 kB / 0.5336 GB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2066/0.5965, allocations: 77.75 MB / 0.6096 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002717/0.5968, allocations: 72 kB / 0.6096 GB, free: 11.96 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01289/0.6097, allocations: 3.75 MB / 0.6133 GB, free: 8.156 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.6098, allocations: 11.97 kB / 0.6133 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.6271, allocations: 3.937 MB / 0.6171 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.6391, allocations: 4.561 MB / 0.6216 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.6394, allocations: 124 kB / 0.6217 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.6409, allocations: 223.9 kB / 0.6219 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01144/0.6523, allocations: 5.774 MB / 0.6276 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.6702, allocations: 8.839 MB / 0.6362 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002062/0.6705, allocations: 55.47 kB / 0.6363 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.6716, allocations: 28 kB / 0.6363 GB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.673, allocations: 1.002 MB / 0.6373 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2148/0.8878, allocations: 42.53 MB / 0.6788 GB, free: 144.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/0.8915, allocations: 3.359 MB / 0.6821 GB, free: 143.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.8935, allocations: 2.058 MB / 0.6841 GB, free: 143.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008047/0.9016, allocations: 6.064 MB / 0.69 GB, free: 142.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.9017, allocations: 49.97 kB / 0.69 GB, free: 142.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 5.029e-06/0.9017, allocations: 0 / 0.69 GB, free: 142.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=172): time 0.02479/0.9265, allocations: 12.98 MB / 0.7027 GB, free: 139.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.9266, allocations: 173.5 kB / 0.7029 GB, free: 139.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.9309, allocations: 2.79 MB / 0.7056 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.9312, allocations: 25.7 kB / 0.7056 GB, free: 139.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.9327, allocations: 2.722 MB / 0.7083 GB, free: 137.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.9332, allocations: 0.6426 MB / 0.7089 GB, free: 137.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.9334, allocations: 2 kB / 0.7089 GB, free: 137.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.9337, allocations: 0.5432 MB / 0.7095 GB, free: 137.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.9361, allocations: 2.067 MB / 0.7115 GB, free: 137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.9397, allocations: 5.522 MB / 0.7169 GB, free: 132.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.9436, allocations: 3.386 MB / 0.7202 GB, free: 131.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-05/0.9437, allocations: 35.56 kB / 0.7202 GB, free: 131.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01241/0.9561, allocations: 7.458 MB / 0.7275 GB, free: 129.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.9562, allocations: 3.844 kB / 0.7275 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.9563, allocations: 122.7 kB / 0.7276 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.9583, allocations: 0.9071 MB / 0.7285 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004626/0.963, allocations: 1.301 MB / 0.7298 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007108/0.9701, allocations: 5.582 MB / 0.7352 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/0.9749, allocations: 186.8 kB / 0.7354 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/0.9762, allocations: 353.8 kB / 0.7357 GB, free: 125.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * Array equations: 3 * 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 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001566/0.9777, allocations: 408.2 kB / 0.7361 GB, free: 125.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008178/0.9786, allocations: 290.7 kB / 0.7364 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005877/0.9844, allocations: 3.328 MB / 0.7396 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-05/0.9845, allocations: 19.31 kB / 0.7397 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.9846, allocations: 4 kB / 0.7397 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.9846, allocations: 7.219 kB / 0.7397 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/1, allocations: 7.339 MB / 0.7468 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/1, allocations: 4 kB / 0.7468 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.002, allocations: 250 kB / 0.7471 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/1.004, allocations: 0.705 MB / 0.7478 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/1.004, allocations: 9.719 kB / 0.7478 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006338/1.01, allocations: 5.093 MB / 0.7528 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.01, allocations: 3.938 kB / 0.7528 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007977/1.018, allocations: 6.128 MB / 0.7587 GB, free: 106.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.02, allocations: 0.6161 MB / 0.7593 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000975/1.021, allocations: 0 / 0.7593 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.023, allocations: 52.06 kB / 0.7594 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/1.023, allocations: 76.44 kB / 0.7595 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.023, allocations: 44 kB / 0.7595 GB, free: 105.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003952/1.027, allocations: 1.87 MB / 0.7613 GB, free: 104.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005378/1.033, allocations: 0.7944 MB / 0.7621 GB, free: 103.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 128 * Array equations: 3 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004198/1.033, allocations: 136.9 kB / 0.7622 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007499/1.041, allocations: 5.031 MB / 0.7672 GB, free: 98.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.041, allocations: 0 / 0.7672 GB, free: 98.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/1.043, allocations: 1.783 MB / 0.7689 GB, free: 97.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.045, allocations: 283.8 kB / 0.7692 GB, free: 96.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/1.061, allocations: 7.29 MB / 0.7763 GB, free: 90.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005627/1.066, allocations: 3.375 MB / 0.7796 GB, free: 87.63 MB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/1.066, allocations: 4 kB / 0.7796 GB, free: 87.62 MB / 474.7 MB Notification: Performance of Templates: time 0.06234/1.129, allocations: 35.34 MB / 0.8141 GB, free: 57.48 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)