Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",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 4.0.0+maint.om/package.mo): time 0.0009798/0.0009825, allocations: 180 kB / 8.519 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.4 MB / 230.3 MB, free: 7.625 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009367, allocations: 90.36 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1626/0.1626, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1694/0.332, allocations: 68.02 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.4224, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.674, allocations: 102.1 MB / 0.5939 GB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.6743, allocations: 76.72 kB / 0.5939 GB, free: 10.52 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.1345/0.8088, allocations: 54.34 MB / 0.647 GB, free: 3.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8088, allocations: 11.94 kB / 0.647 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/0.8159, allocations: 1.474 MB / 0.6484 GB, free: 2.254 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.8192, allocations: 1.672 MB / 0.6501 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/0.8193, allocations: 88 kB / 0.6502 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.8198, allocations: 156 kB / 0.6503 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005627/0.8254, allocations: 4.215 MB / 0.6544 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007143/0.8326, allocations: 5.849 MB / 0.6601 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.864e-05/0.8326, allocations: 19.81 kB / 0.6602 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.8329, allocations: 12 kB / 0.6602 GB, free: 5.855 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006483/0.8336, allocations: 0.6729 MB / 0.6608 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/0.8567, allocations: 22.22 MB / 0.6825 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.8582, allocations: 1.378 MB / 0.6839 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.8588, allocations: 0.5068 MB / 0.6844 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.8589, allocations: 8.594 kB / 0.6844 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.8589, allocations: 43.22 kB / 0.6844 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 3.367e-06/0.8589, allocations: 0 / 0.6844 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.002973/0.8619, allocations: 1.394 MB / 0.6858 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.8619, allocations: 60.06 kB / 0.6858 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.8638, allocations: 1.6 MB / 0.6874 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.8638, allocations: 25.7 kB / 0.6874 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009108/0.8648, allocations: 1.828 MB / 0.6892 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.865, allocations: 343.6 kB / 0.6895 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.8651, allocations: 0 / 0.6895 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.8654, allocations: 497.6 kB / 0.69 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.8665, allocations: 0.8613 MB / 0.6909 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.8686, allocations: 2.875 MB / 0.6937 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.8706, allocations: 1.622 MB / 0.6952 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/0.8706, allocations: 20 kB / 0.6953 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004489/0.8751, allocations: 3.269 MB / 0.6985 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8752, allocations: 4 kB / 0.6985 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.005e-05/0.8752, allocations: 75.98 kB / 0.6985 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.26e-05/0.8753, allocations: 108 kB / 0.6986 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.8773, allocations: 0.7057 MB / 0.6993 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.754e-05/0.8774, allocations: 143.4 kB / 0.6995 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.8791, allocations: 363.9 kB / 0.6998 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.8794, allocations: 204 kB / 0.7 GB, free: 11.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (393): * Single equations (assignments): 390 * 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.0002982/0.8797, allocations: 285.8 kB / 0.7003 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.8799, allocations: 161.8 kB / 0.7004 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.8815, allocations: 1.177 MB / 0.7016 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.8816, allocations: 8 kB / 0.7016 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8816, allocations: 0 / 0.7016 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.8816, allocations: 7.891 kB / 0.7016 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/0.887, allocations: 3.895 MB / 0.7054 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.887, allocations: 8 kB / 0.7054 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.8875, allocations: 119.8 kB / 0.7055 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.8875, allocations: 8 kB / 0.7055 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.8876, allocations: 12.66 kB / 0.7055 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.8876, allocations: 15.98 kB / 0.7056 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.8876, allocations: 19.88 kB / 0.7056 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001594/0.8892, allocations: 1.841 MB / 0.7074 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001679/0.8909, allocations: 2.232 MB / 0.7096 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.8912, allocations: 234.8 kB / 0.7098 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.8914, allocations: 8 kB / 0.7098 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.8919, allocations: 11.98 kB / 0.7098 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.892, allocations: 55.84 kB / 0.7098 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.892, allocations: 35.98 kB / 0.7099 GB, free: 148 kB / 0.5105 GB Notification: Performance of sort global known variables: time 0.1219/1.014, allocations: 1.07 MB / 0.7109 GB, free: 207.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002812/1.017, allocations: 0.6664 MB / 0.7116 GB, free: 207.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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.0002594/1.017, allocations: 136.9 kB / 0.7117 GB, free: 207.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.019, allocations: 2.045 MB / 0.7137 GB, free: 207.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.019, allocations: 5.516 kB / 0.7137 GB, free: 207.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/1.02, allocations: 0.5164 MB / 0.7142 GB, free: 207.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/1.02, allocations: 172.4 kB / 0.7144 GB, free: 207.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/1.026, allocations: 4.369 MB / 0.7186 GB, free: 206.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/1.029, allocations: 2.526 MB / 0.7211 GB, free: 205.7 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/1.029, allocations: 0 / 0.7211 GB, free: 205.7 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1)