Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",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.001099/0.001099, allocations: 209.9 kB / 8.538 MB, free: 1.789 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 225.5 MB / 234.4 MB, free: 14.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009445/0.0009445, allocations: 105.8 kB / 286.4 MB, free: 12.51 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 45.14 MB / 383.3 MB, free: 40.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1018/0.3714, allocations: 69.37 MB / 452.7 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.6097, allocations: 63.23 MB / 0.5039 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.7183, allocations: 108.3 MB / 0.6096 GB, free: 1.855 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.7185, allocations: 75.95 kB / 0.6097 GB, free: 1.781 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.4399/1.158, allocations: 112.3 MB / 0.7194 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.158, allocations: 10.72 kB / 0.7194 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/1.184, allocations: 6.506 MB / 0.7258 GB, free: 98.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.197, allocations: 5.786 MB / 0.7314 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/1.197, allocations: 161.2 kB / 0.7316 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/1.199, allocations: 303.8 kB / 0.7319 GB, free: 97.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/1.209, allocations: 7.03 MB / 0.7387 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.224, allocations: 11.1 MB / 0.7496 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/1.224, allocations: 85.8 kB / 0.7497 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00059/1.225, allocations: 37.25 kB / 0.7497 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001243/1.226, allocations: 1.209 MB / 0.7509 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0441/1.27, allocations: 55.62 MB / 0.8052 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/1.274, allocations: 3.385 MB / 0.8085 GB, free: 45.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/1.276, allocations: 2.09 MB / 0.8105 GB, free: 44.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009299/1.286, allocations: 6.191 MB / 0.8166 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.286, allocations: 59.27 kB / 0.8166 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=141): time 4.558e-06/1.286, allocations: 0 / 0.8166 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=155): time 0.02713/1.313, allocations: 15.36 MB / 0.8316 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/1.313, allocations: 218.1 kB / 0.8319 GB, free: 25.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004867/1.318, allocations: 3.997 MB / 0.8358 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/1.318, allocations: 29.7 kB / 0.8358 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.32, allocations: 3.568 MB / 0.8393 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/1.32, allocations: 0.6225 MB / 0.8399 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/1.321, allocations: 0 / 0.8399 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003018/1.321, allocations: 0.5949 MB / 0.8405 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.323, allocations: 1.916 MB / 0.8423 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/1.327, allocations: 6.308 MB / 0.8485 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/1.332, allocations: 3.499 MB / 0.8519 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-05/1.332, allocations: 44 kB / 0.8519 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.01272/1.344, allocations: 7.522 MB / 0.8593 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.344, allocations: 7.938 kB / 0.8593 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/1.345, allocations: 160 kB / 0.8595 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/1.346, allocations: 0.598 MB / 0.86 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005114/1.351, allocations: 1.532 MB / 0.8615 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/1.358, allocations: 5.431 MB / 0.8668 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005092/1.363, allocations: 203.7 kB / 0.867 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008552/1.364, allocations: 436 kB / 0.8674 GB, free: 5.215 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (835): * Single equations (assignments): 830 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007995/1.365, allocations: 498 kB / 0.8679 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.365, allocations: 398.8 kB / 0.8683 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/1.369, allocations: 2.293 MB / 0.8705 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/1.369, allocations: 16 kB / 0.8706 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.369, allocations: 4 kB / 0.8706 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.369, allocations: 11.97 kB / 0.8706 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.379, allocations: 6.106 MB / 0.8765 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.38, allocations: 0 / 0.8765 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.381, allocations: 199.7 kB / 0.8767 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/1.382, allocations: 361.3 kB / 0.8771 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.382, allocations: 4 kB / 0.8771 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/1.387, allocations: 4.759 MB / 0.8817 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.387, allocations: 3.938 kB / 0.8817 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006158/1.393, allocations: 4.613 MB / 0.8862 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1454/1.539, allocations: 6.507 MB / 0.8926 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/1.54, allocations: 434.9 kB / 0.893 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/1.54, allocations: 3.906 kB / 0.893 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.542, allocations: 31.14 kB / 0.893 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.542, allocations: 73.09 kB / 0.8931 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.542, allocations: 39.98 kB / 0.8931 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00356/1.546, allocations: 2.706 MB / 0.8958 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005615/1.551, allocations: 0.963 MB / 0.8967 GB, free: 169.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 108 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003744/1.552, allocations: 144.9 kB / 0.8969 GB, free: 169 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005741/1.557, allocations: 4.715 MB / 0.9015 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.557, allocations: 3.469 kB / 0.9015 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/1.559, allocations: 1.339 MB / 0.9028 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.561, allocations: 481.4 kB / 0.9032 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.576, allocations: 8.638 MB / 0.9117 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004965/1.581, allocations: 4.269 MB / 0.9158 GB, free: 166 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/1.581, allocations: 3.906 kB / 0.9158 GB, free: 166 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)