Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 190.3 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 95.33 kB / 261.4 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2108/0.2108, allocations: 43.48 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2114/0.4223, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.7463, allocations: 58.83 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.9016, allocations: 104.3 MB / 0.5673 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9019, allocations: 75.95 kB / 0.5674 GB, free: 10.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.6903/1.592, allocations: 168.7 MB / 0.7321 GB, free: 74.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.592, allocations: 8 kB / 0.7321 GB, free: 74.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01985/1.612, allocations: 3.058 MB / 0.7351 GB, free: 71.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02831/1.641, allocations: 9.807 MB / 0.7447 GB, free: 61.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007691/1.641, allocations: 272 kB / 0.7449 GB, free: 61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006073/1.648, allocations: 0.496 MB / 0.7454 GB, free: 60.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02775/1.675, allocations: 12.05 MB / 0.7572 GB, free: 48.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05003/1.725, allocations: 17.4 MB / 0.7742 GB, free: 29.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007625/1.726, allocations: 99.05 kB / 0.7743 GB, free: 29.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005491/1.732, allocations: 44 kB / 0.7743 GB, free: 29.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003783/1.736, allocations: 1.993 MB / 0.7762 GB, free: 27.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5469/2.283, allocations: 83.67 MB / 0.858 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/2.287, allocations: 3.099 MB / 0.861 GB, free: 105.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/2.29, allocations: 1.699 MB / 0.8626 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/2.307, allocations: 8.109 MB / 0.8706 GB, free: 103.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/2.307, allocations: 53 kB / 0.8706 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=202): time 8.096e-06/2.307, allocations: 0 / 0.8706 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=202): time 0.01568/2.323, allocations: 4.75 MB / 0.8752 GB, free: 103.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.323, allocations: 148.7 kB / 0.8754 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01565/2.338, allocations: 5.39 MB / 0.8807 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006928/2.339, allocations: 25.7 kB / 0.8807 GB, free: 102.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006511/2.346, allocations: 5.496 MB / 0.886 GB, free: 99.64 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001913/2.348, allocations: 0.8031 MB / 0.8868 GB, free: 99.21 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/2.349, allocations: 0 / 0.8868 GB, free: 99.21 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001341/2.351, allocations: 0.7067 MB / 0.8875 GB, free: 98.89 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/2.355, allocations: 2.38 MB / 0.8898 GB, free: 98.86 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009196/2.364, allocations: 8.448 MB / 0.8981 GB, free: 90.91 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008734/2.373, allocations: 4.446 MB / 0.9024 GB, free: 90.88 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005101/2.374, allocations: 63.22 kB / 0.9025 GB, free: 90.88 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02546/2.399, allocations: 9.362 MB / 0.9116 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/2.399, allocations: 7.188 kB / 0.9116 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003855/2.4, allocations: 219.8 kB / 0.9119 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/2.4, allocations: 326.1 kB / 0.9122 GB, free: 88.55 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008666/2.409, allocations: 2.273 MB / 0.9144 GB, free: 88.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002966/2.409, allocations: 431.3 kB / 0.9148 GB, free: 88.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.421, allocations: 1.2 MB / 0.916 GB, free: 87.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/2.424, allocations: 0.5738 MB / 0.9165 GB, free: 87.48 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1003 * Number of states: 0 () * Number of discrete variables: 60 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1195): * Single equations (assignments): 1192 * 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.003254/2.427, allocations: 0.636 MB / 0.9171 GB, free: 86.95 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/2.429, allocations: 0.5446 MB / 0.9177 GB, free: 86.65 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/2.435, allocations: 2.369 MB / 0.92 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/2.435, allocations: 18.22 kB / 0.92 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/2.435, allocations: 6.656 kB / 0.92 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/2.435, allocations: 15 kB / 0.92 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/2.48, allocations: 28.11 MB / 0.9475 GB, free: 72.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.934e-05/2.48, allocations: 36 kB / 0.9475 GB, free: 72.77 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/2.482, allocations: 367.9 kB / 0.9479 GB, free: 72.46 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-05/2.482, allocations: 48 kB / 0.9479 GB, free: 72.41 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/2.483, allocations: 51.28 kB / 0.948 GB, free: 72.37 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.693e-05/2.483, allocations: 74.73 kB / 0.948 GB, free: 72.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.07e-05/2.483, allocations: 55.72 kB / 0.9481 GB, free: 72.25 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006795/2.49, allocations: 10.06 MB / 0.9579 GB, free: 60.98 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006232/2.496, allocations: 10.54 MB / 0.9682 GB, free: 49.24 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/2.497, allocations: 0.6179 MB / 0.9688 GB, free: 48.61 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000993/2.498, allocations: 50.75 kB / 0.9689 GB, free: 48.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/2.501, allocations: 151.6 kB / 0.969 GB, free: 48.46 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/2.502, allocations: 201.8 kB / 0.9692 GB, free: 48.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/2.502, allocations: 95.42 kB / 0.9693 GB, free: 48.21 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.006998/2.509, allocations: 3.629 MB / 0.9728 GB, free: 45.07 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01352/2.522, allocations: 1.974 MB / 0.9748 GB, free: 43.09 MB / 0.4949 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.0009166/2.523, allocations: 200 kB / 0.9749 GB, free: 42.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01026/2.534, allocations: 5.606 MB / 0.9804 GB, free: 37.84 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.276e-05/2.534, allocations: 4 kB / 0.9804 GB, free: 37.83 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/2.536, allocations: 1.26 MB / 0.9817 GB, free: 36.73 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/2.54, allocations: 0.6676 MB / 0.9823 GB, free: 36.16 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/2.574, allocations: 13.67 MB / 0.9957 GB, free: 23.33 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01578/2.59, allocations: 6.306 MB / 1.002 GB, free: 18.64 MB / 0.4949 GB Notification: Performance of SimCode: time 1.523e-06/2.59, allocations: 0 / 1.002 GB, free: 18.64 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1)