Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001804/0.001804, allocations: 206.7 kB / 8.538 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009699/0.0009698, allocations: 94.25 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.174/0.174, allocations: 45.13 MB / 383.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1954/0.3694, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.4515, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/0.7156, allocations: 103.1 MB / 0.6046 GB, free: 112 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.7158, allocations: 76.28 kB / 0.6047 GB, free: 76 kB / 394.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.1426/0.8584, allocations: 55.76 MB / 0.6591 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.8585, allocations: 12 kB / 0.6591 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007235/0.8657, allocations: 1.474 MB / 0.6606 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.8689, allocations: 1.663 MB / 0.6622 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/0.869, allocations: 88 kB / 0.6623 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004575/0.8694, allocations: 160 kB / 0.6624 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006149/0.8756, allocations: 4.219 MB / 0.6665 GB, free: 9.004 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007737/0.8834, allocations: 5.841 MB / 0.6722 GB, free: 2.812 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.075e-05/0.8834, allocations: 11.88 kB / 0.6723 GB, free: 2.801 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.8838, allocations: 15.94 kB / 0.6723 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006985/0.8845, allocations: 0.6729 MB / 0.6729 GB, free: 2.109 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02395/0.9084, allocations: 22.23 MB / 0.6946 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.9099, allocations: 1.379 MB / 0.696 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.9106, allocations: 0.495 MB / 0.6965 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.9106, allocations: 16.55 kB / 0.6965 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.9107, allocations: 39.22 kB / 0.6965 GB, free: 9.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.837e-06/0.9107, allocations: 3.984 kB / 0.6965 GB, free: 9.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.003088/0.9138, allocations: 1.402 MB / 0.6979 GB, free: 7.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.9138, allocations: 56.06 kB / 0.6979 GB, free: 7.582 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.9157, allocations: 1.604 MB / 0.6995 GB, free: 5.977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.9158, allocations: 29.64 kB / 0.6995 GB, free: 5.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009306/0.9167, allocations: 1.82 MB / 0.7013 GB, free: 4.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.9169, allocations: 347.6 kB / 0.7016 GB, free: 3.746 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.9171, allocations: 0 / 0.7016 GB, free: 3.746 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.9173, allocations: 0.4898 MB / 0.7021 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.9184, allocations: 0.8613 MB / 0.703 GB, free: 2.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/0.9206, allocations: 2.867 MB / 0.7058 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.9225, allocations: 1.63 MB / 0.7074 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/0.9226, allocations: 20 kB / 0.7074 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004596/0.9272, allocations: 3.258 MB / 0.7106 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.9272, allocations: 12.03 kB / 0.7106 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-05/0.9272, allocations: 75.98 kB / 0.7106 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.341e-05/0.9273, allocations: 104 kB / 0.7107 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.9294, allocations: 0.7018 MB / 0.7114 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.814e-05/0.9295, allocations: 147.3 kB / 0.7116 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.9313, allocations: 359.6 kB / 0.7119 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.9315, allocations: 204 kB / 0.7121 GB, free: 7.988 MB / 0.4948 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.0003337/0.9319, allocations: 285.7 kB / 0.7124 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.932, allocations: 153.9 kB / 0.7125 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.9337, allocations: 1.177 MB / 0.7137 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.9338, allocations: 8.141 kB / 0.7137 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.9338, allocations: 3.906 kB / 0.7137 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9338, allocations: 7.969 kB / 0.7137 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.9395, allocations: 3.903 MB / 0.7175 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.9395, allocations: 11.98 kB / 0.7175 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.94, allocations: 107.8 kB / 0.7176 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.9401, allocations: 12 kB / 0.7176 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.9401, allocations: 19.98 kB / 0.7176 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.9401, allocations: 11.94 kB / 0.7177 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.9402, allocations: 11.94 kB / 0.7177 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001701/0.9419, allocations: 1.837 MB / 0.7195 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001821/0.9437, allocations: 2.232 MB / 0.7216 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.944, allocations: 234.8 kB / 0.7219 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.9442, allocations: 11.98 kB / 0.7219 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.9447, allocations: 12 kB / 0.7219 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.9448, allocations: 63.64 kB / 0.722 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.9449, allocations: 31.91 kB / 0.722 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001323/0.9462, allocations: 1.077 MB / 0.723 GB, free: 12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00296/0.9492, allocations: 0.6607 MB / 0.7237 GB, free: 11.33 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.0002649/0.9495, allocations: 146.9 kB / 0.7238 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.952, allocations: 2.04 MB / 0.7258 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.952, allocations: 3.938 kB / 0.7258 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.9526, allocations: 0.5176 MB / 0.7263 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.9534, allocations: 179.9 kB / 0.7265 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/0.9601, allocations: 4.361 MB / 0.7308 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/0.9629, allocations: 2.525 MB / 0.7332 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/0.9629, allocations: 0 / 0.7332 GB, free: 1.387 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1)