Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") [: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.002911/0.002911, allocations: 182.3 kB / 7.458 MB, free: 2.5 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.268/1.268, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001711/0.001711, allocations: 119.8 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.1662/0.1662, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.514e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3207/0.422, allocations: 98.07 MB / 0.5329 GB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4223, allocations: 78.08 kB / 0.533 GB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.59/1.012, allocations: 160.5 MB / 0.6898 GB, free: 63.13 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004707/1.013, allocations: 157.6 kB / 0.6899 GB, free: 63.13 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02291/1.036, allocations: 7.849 MB / 0.6976 GB, free: 60.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.036, allocations: 9.531 kB / 0.6976 GB, free: 60.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/1.053, allocations: 3.05 MB / 0.7006 GB, free: 59.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/1.074, allocations: 9.788 MB / 0.7101 GB, free: 58.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/1.074, allocations: 276.9 kB / 0.7104 GB, free: 58.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003623/1.078, allocations: 0.4899 MB / 0.7109 GB, free: 58.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02325/1.101, allocations: 12.04 MB / 0.7226 GB, free: 58.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03506/1.136, allocations: 17.38 MB / 0.7396 GB, free: 54.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000409/1.137, allocations: 94.34 kB / 0.7397 GB, free: 54.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003272/1.14, allocations: 55.27 kB / 0.7397 GB, free: 54.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003057/1.143, allocations: 1.978 MB / 0.7417 GB, free: 54.22 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/1.244, allocations: 83.56 MB / 0.8233 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/1.248, allocations: 3.112 MB / 0.8263 GB, free: 3.469 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/1.251, allocations: 1.695 MB / 0.828 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/1.266, allocations: 8.112 MB / 0.8359 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/1.266, allocations: 51.88 kB / 0.8359 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=202): time 7.965e-06/1.266, allocations: 7.609 kB / 0.8359 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202): time 0.01481/1.281, allocations: 4.742 MB / 0.8406 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/1.281, allocations: 154.5 kB / 0.8407 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.291, allocations: 5.361 MB / 0.846 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004595/1.292, allocations: 29.22 kB / 0.846 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.2164/1.508, allocations: 5.49 MB / 0.8513 GB, free: 88.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.51, allocations: 0.8066 MB / 0.8521 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009581/1.511, allocations: 0 / 0.8521 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004753/1.511, allocations: 0.7006 MB / 0.8528 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/1.515, allocations: 2.38 MB / 0.8551 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/1.52, allocations: 8.426 MB / 0.8634 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005813/1.526, allocations: 4.446 MB / 0.8677 GB, free: 79.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002721/1.526, allocations: 62.69 kB / 0.8678 GB, free: 79.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01767/1.544, allocations: 9.328 MB / 0.8769 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.544, allocations: 4.719 kB / 0.8769 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005374/1.544, allocations: 221.4 kB / 0.8771 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/1.545, allocations: 317.1 kB / 0.8774 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00821/1.553, allocations: 2.272 MB / 0.8796 GB, free: 79.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004403/1.554, allocations: 431.6 kB / 0.88 GB, free: 79.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009014/1.563, allocations: 1.201 MB / 0.8812 GB, free: 78.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.564, allocations: 0.5746 MB / 0.8818 GB, free: 78.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1000 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1192): * Single equations (assignments): 1189 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002733/1.567, allocations: 0.6251 MB / 0.8824 GB, free: 78.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.568, allocations: 0.5436 MB / 0.8829 GB, free: 78.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/1.573, allocations: 2.367 MB / 0.8852 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.785e-05/1.573, allocations: 16.69 kB / 0.8852 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.573, allocations: 3.875 kB / 0.8852 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.573, allocations: 12.62 kB / 0.8852 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03691/1.61, allocations: 28.11 MB / 0.9127 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/1.61, allocations: 34.78 kB / 0.9127 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/1.612, allocations: 364 kB / 0.9131 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/1.612, allocations: 52.41 kB / 0.9131 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.612, allocations: 60.33 kB / 0.9132 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/1.612, allocations: 61.86 kB / 0.9132 GB, free: 75.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.318e-05/1.612, allocations: 54.97 kB / 0.9133 GB, free: 75.65 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005292/1.617, allocations: 10.05 MB / 0.9231 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.619, allocations: 0.6165 MB / 0.9237 GB, free: 66.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006933/1.619, allocations: 58.84 kB / 0.9238 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.622, allocations: 143.1 kB / 0.9239 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/1.622, allocations: 201.1 kB / 0.9241 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.622, allocations: 100.7 kB / 0.9242 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005552/1.628, allocations: 3.613 MB / 0.9277 GB, free: 66.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008823/1.637, allocations: 1.957 MB / 0.9296 GB, free: 65.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 155 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 179 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005778/1.637, allocations: 197.4 kB / 0.9298 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008934/1.646, allocations: 5.596 MB / 0.9353 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.848e-05/1.646, allocations: 3.594 kB / 0.9353 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.648, allocations: 1.26 MB / 0.9365 GB, free: 64.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/1.653, allocations: 0.669 MB / 0.9372 GB, free: 63.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.682, allocations: 13.64 MB / 0.9505 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007669/1.689, allocations: 6.292 MB / 0.9566 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/1.689, allocations: 4 kB / 0.9566 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.09279/1.782, allocations: 46.28 MB / 1.002 GB, free: 23.74 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)