Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",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.001616/0.001616, allocations: 206 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009404/0.0009404, allocations: 98.25 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1729/0.1729, allocations: 45.15 MB / 383.3 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1905/0.3635, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.4425, allocations: 63.25 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.7115, allocations: 110 MB / 0.6113 GB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.7117, allocations: 86.16 kB / 0.6114 GB, free: 9.078 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.273/0.9848, allocations: 107.7 MB / 0.7165 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.9848, allocations: 12 kB / 0.7166 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02669/1.012, allocations: 6.525 MB / 0.7229 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/1.026, allocations: 5.879 MB / 0.7287 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.026, allocations: 164 kB / 0.7288 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/1.027, allocations: 311.8 kB / 0.7291 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01119/1.038, allocations: 7.111 MB / 0.7361 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/1.053, allocations: 10.96 MB / 0.7468 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/1.053, allocations: 71.3 kB / 0.7468 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005646/1.054, allocations: 36 kB / 0.7469 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/1.055, allocations: 1.144 MB / 0.748 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1772/1.232, allocations: 55.36 MB / 0.802 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/1.236, allocations: 3.318 MB / 0.8053 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/1.238, allocations: 2.287 MB / 0.8075 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008767/1.247, allocations: 7.287 MB / 0.8146 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/1.247, allocations: 54.78 kB / 0.8147 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=169): time 3.958e-06/1.247, allocations: 0 / 0.8147 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=191): time 0.03155/1.278, allocations: 16.67 MB / 0.831 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.278, allocations: 198.5 kB / 0.8312 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/1.283, allocations: 3.641 MB / 0.8347 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.283, allocations: 25.7 kB / 0.8347 GB, free: 140 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/1.284, allocations: 3.333 MB / 0.838 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/1.285, allocations: 0.7197 MB / 0.8387 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.285, allocations: 3.719 kB / 0.8387 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002528/1.285, allocations: 0.5763 MB / 0.8393 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/1.288, allocations: 1.988 MB / 0.8412 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/1.291, allocations: 5.927 MB / 0.847 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/1.295, allocations: 3.45 MB / 0.8504 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.138e-05/1.295, allocations: 38.25 kB / 0.8504 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.01234/1.307, allocations: 7.638 MB / 0.8579 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.307, allocations: 5.938 kB / 0.8579 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.308, allocations: 143.8 kB / 0.858 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/1.31, allocations: 0.9034 MB / 0.8589 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004607/1.315, allocations: 1.456 MB / 0.8603 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/1.322, allocations: 6.71 MB / 0.8669 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/1.326, allocations: 196.7 kB / 0.867 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004468/1.327, allocations: 396.8 kB / 0.8674 GB, free: 118.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 773 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005906/1.327, allocations: 476.9 kB / 0.8679 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/1.328, allocations: 386.9 kB / 0.8682 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/1.333, allocations: 3.006 MB / 0.8712 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/1.333, allocations: 16 kB / 0.8712 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.333, allocations: 8 kB / 0.8712 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.333, allocations: 7.312 kB / 0.8712 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.344, allocations: 7.39 MB / 0.8784 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.345, allocations: 0 / 0.8784 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.346, allocations: 272.9 kB / 0.8787 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/1.348, allocations: 0.6693 MB / 0.8793 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/1.349, allocations: 15.28 kB / 0.8794 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/1.355, allocations: 6.034 MB / 0.8852 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.355, allocations: 4 kB / 0.8853 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007363/1.363, allocations: 5.561 MB / 0.8907 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008855/1.372, allocations: 7.82 MB / 0.8983 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006644/1.372, allocations: 418.7 kB / 0.8987 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/1.373, allocations: 4 kB / 0.8987 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.374, allocations: 54.33 kB / 0.8988 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/1.375, allocations: 88.75 kB / 0.8989 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.375, allocations: 51.75 kB / 0.8989 GB, free: 90.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003135/1.378, allocations: 2.488 MB / 0.9013 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005269/1.383, allocations: 0.9577 MB / 0.9023 GB, free: 87.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 136 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/1.383, allocations: 153.7 kB / 0.9024 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006146/1.39, allocations: 4.962 MB / 0.9073 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.39, allocations: 0 / 0.9073 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/1.392, allocations: 1.659 MB / 0.9089 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.394, allocations: 434.8 kB / 0.9093 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.407, allocations: 8.806 MB / 0.9179 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004478/1.412, allocations: 4.252 MB / 0.9221 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/1.412, allocations: 0 / 0.9221 GB, free: 69.82 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1)