Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 172.5 kB / 8.515 MB, free: 1.852 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.177/1.177, allocations: 221.4 MB / 230.3 MB, free: 7.66 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.0009181/0.0009181, allocations: 91.97 kB / 281.2 MB, free: 5.469 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.1589/0.1589, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1664/0.3253, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.4149, allocations: 61.9 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.6711, allocations: 109.1 MB / 0.6007 GB, free: 3.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.6714, allocations: 92.42 kB / 0.6008 GB, free: 3.602 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.4215/1.093, allocations: 105.4 MB / 0.7038 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/1.093, allocations: 10.88 kB / 0.7038 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02405/1.117, allocations: 6.485 MB / 0.7101 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.131, allocations: 6.544 MB / 0.7165 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.131, allocations: 166.6 kB / 0.7167 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007579/1.132, allocations: 314.5 kB / 0.717 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008495/1.14, allocations: 7.109 MB / 0.7239 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/1.151, allocations: 10.95 MB / 0.7346 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/1.151, allocations: 82.62 kB / 0.7347 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005125/1.152, allocations: 32.19 kB / 0.7347 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/1.153, allocations: 1.14 MB / 0.7358 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/1.195, allocations: 55.36 MB / 0.7899 GB, free: 60.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/1.199, allocations: 3.318 MB / 0.7931 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/1.201, allocations: 2.291 MB / 0.7954 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009951/1.211, allocations: 7.298 MB / 0.8025 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/1.211, allocations: 50.16 kB / 0.8025 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=169): time 4.028e-06/1.211, allocations: 0 / 0.8025 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191): time 0.03261/1.244, allocations: 16.67 MB / 0.8188 GB, free: 44.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.244, allocations: 200.4 kB / 0.819 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/1.249, allocations: 3.632 MB / 0.8226 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.249, allocations: 25.7 kB / 0.8226 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.25, allocations: 3.34 MB / 0.8258 GB, free: 37.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/1.251, allocations: 0.7178 MB / 0.8265 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.251, allocations: 0 / 0.8265 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002661/1.251, allocations: 0.5716 MB / 0.8271 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/1.253, allocations: 1.997 MB / 0.8291 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/1.257, allocations: 5.929 MB / 0.8348 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.261, allocations: 3.446 MB / 0.8382 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.619e-05/1.261, allocations: 43.94 kB / 0.8383 GB, free: 24.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.0106/1.271, allocations: 7.642 MB / 0.8457 GB, free: 17.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.271, allocations: 4 kB / 0.8457 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/1.271, allocations: 140 kB / 0.8459 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/1.274, allocations: 0.9075 MB / 0.8467 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/1.278, allocations: 1.451 MB / 0.8482 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007082/1.285, allocations: 6.713 MB / 0.8547 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/1.289, allocations: 195.2 kB / 0.8549 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005661/1.29, allocations: 399 kB / 0.8553 GB, free: 8.445 MB / 0.4948 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.0007013/1.29, allocations: 479.8 kB / 0.8557 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/1.291, allocations: 383.7 kB / 0.8561 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/1.296, allocations: 2.996 MB / 0.859 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/1.296, allocations: 20 kB / 0.859 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.296, allocations: 4 kB / 0.8591 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.296, allocations: 12.67 kB / 0.8591 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.312, allocations: 7.569 MB / 0.8665 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.312, allocations: 4.75 kB / 0.8665 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.313, allocations: 272.1 kB / 0.8667 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/1.316, allocations: 0.681 MB / 0.8674 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/1.316, allocations: 5.219 kB / 0.8674 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007877/1.324, allocations: 6.046 MB / 0.8733 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.324, allocations: 0 / 0.8733 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008081/1.332, allocations: 5.558 MB / 0.8787 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0105/1.343, allocations: 7.818 MB / 0.8864 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008249/1.343, allocations: 412 kB / 0.8867 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/1.344, allocations: 11.81 kB / 0.8868 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.346, allocations: 59.92 kB / 0.8868 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.346, allocations: 92.95 kB / 0.8869 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.346, allocations: 48 kB / 0.887 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004149/1.35, allocations: 2.485 MB / 0.8894 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005389/1.356, allocations: 0.9562 MB / 0.8903 GB, free: 7.105 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.0003992/1.356, allocations: 150 kB / 0.8905 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007515/1.364, allocations: 4.972 MB / 0.8953 GB, free: 2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.364, allocations: 0 / 0.8953 GB, free: 2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002626/1.366, allocations: 1.651 MB / 0.8969 GB, free: 336 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1288/1.495, allocations: 437.6 kB / 0.8973 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/1.508, allocations: 8.795 MB / 0.9059 GB, free: 181 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004413/1.513, allocations: 4.256 MB / 0.9101 GB, free: 180.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/1.513, allocations: 0 / 0.9101 GB, free: 180.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1)