Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",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.001597/0.001597, allocations: 206.2 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009242/0.0009242, allocations: 86.31 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1699/0.1699, allocations: 45.15 MB / 383.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1843/0.3542, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.4329, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.6936, allocations: 108.6 MB / 0.61 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.6938, allocations: 74.34 kB / 0.61 GB, free: 10.45 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.2161/0.9099, allocations: 86.26 MB / 0.6943 GB, free: 12.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.91, allocations: 8 kB / 0.6943 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009288/0.9193, allocations: 1.999 MB / 0.6962 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009728/0.929, allocations: 4.434 MB / 0.7006 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.9292, allocations: 136 kB / 0.7007 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007808/0.93, allocations: 240 kB / 0.7009 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01004/0.94, allocations: 6.123 MB / 0.7069 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.9517, allocations: 9.391 MB / 0.7161 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.9519, allocations: 59.5 kB / 0.7161 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.9523, allocations: 31.91 kB / 0.7162 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.9536, allocations: 1.053 MB / 0.7172 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1734/1.127, allocations: 48.13 MB / 0.7642 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/1.13, allocations: 2.5 MB / 0.7666 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/1.131, allocations: 1.621 MB / 0.7682 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006997/1.138, allocations: 5.785 MB / 0.7739 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.138, allocations: 52.94 kB / 0.7739 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=144): time 3.387e-06/1.138, allocations: 0 / 0.7739 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=161): time 0.02239/1.161, allocations: 12.04 MB / 0.7857 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/1.161, allocations: 141.7 kB / 0.7858 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.164, allocations: 3.07 MB / 0.7888 GB, free: 164 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/1.164, allocations: 31.92 kB / 0.7888 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.165, allocations: 2.938 MB / 0.7917 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/1.166, allocations: 0.6323 MB / 0.7923 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.166, allocations: 0 / 0.7923 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.166, allocations: 0.5677 MB / 0.7929 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/1.169, allocations: 1.93 MB / 0.7948 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/1.172, allocations: 5.764 MB / 0.8004 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/1.175, allocations: 3.325 MB / 0.8036 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/1.175, allocations: 41.62 kB / 0.8037 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01103/1.186, allocations: 7.504 MB / 0.811 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.186, allocations: 12.23 kB / 0.811 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004399/1.191, allocations: 2.459 MB / 0.8134 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/1.194, allocations: 1.07 MB / 0.8145 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/1.198, allocations: 1.396 MB / 0.8158 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/1.202, allocations: 4.431 MB / 0.8202 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/1.206, allocations: 223.6 kB / 0.8204 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/1.206, allocations: 385.8 kB / 0.8207 GB, free: 150.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (767): * Single equations (assignments): 758 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005806/1.207, allocations: 453 kB / 0.8212 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/1.207, allocations: 317.6 kB / 0.8215 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/1.213, allocations: 2.802 MB / 0.8242 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004534/1.217, allocations: 2.371 MB / 0.8265 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.217, allocations: 2.562 kB / 0.8265 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.217, allocations: 7.266 kB / 0.8265 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.231, allocations: 8.502 MB / 0.8348 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.231, allocations: 4 kB / 0.8348 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.232, allocations: 234.4 kB / 0.8351 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002983/1.235, allocations: 0.9397 MB / 0.836 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/1.235, allocations: 26.66 kB / 0.836 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/1.239, allocations: 4.608 MB / 0.8405 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005974/1.24, allocations: 1.362 MB / 0.8418 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006735/1.247, allocations: 5.615 MB / 0.8473 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00807/1.255, allocations: 7.622 MB / 0.8548 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/1.255, allocations: 370 kB / 0.8551 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/1.256, allocations: 11.19 kB / 0.8551 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.257, allocations: 68.91 kB / 0.8552 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.257, allocations: 84 kB / 0.8553 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.258, allocations: 43.94 kB / 0.8553 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002397/1.26, allocations: 2.043 MB / 0.8573 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004889/1.265, allocations: 0.9034 MB / 0.8582 GB, free: 120.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 120 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003511/1.265, allocations: 174.1 kB / 0.8584 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006868/1.272, allocations: 5.174 MB / 0.8634 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.272, allocations: 3.938 kB / 0.8634 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/1.275, allocations: 1.963 MB / 0.8653 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.277, allocations: 357.6 kB / 0.8657 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.288, allocations: 7.762 MB / 0.8732 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003569/1.291, allocations: 3.574 MB / 0.8767 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/1.291, allocations: 0 / 0.8767 GB, free: 103.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)