Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 190.1 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 95.42 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1906/0.1906, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1935/0.3841, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.7171, allocations: 58.84 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.8798, allocations: 108 MB / 0.571 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.8802, allocations: 83.45 kB / 0.571 GB, free: 6.867 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.5479/1.428, allocations: 108.3 MB / 0.6768 GB, free: 103 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.428, allocations: 7.469 kB / 0.6768 GB, free: 103 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/1.454, allocations: 6.527 MB / 0.6832 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/1.472, allocations: 6.965 MB / 0.69 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/1.472, allocations: 173.3 kB / 0.6901 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/1.474, allocations: 322.6 kB / 0.6905 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01738/1.492, allocations: 7.447 MB / 0.6977 GB, free: 98.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02664/1.518, allocations: 11.39 MB / 0.7088 GB, free: 91.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003162/1.519, allocations: 71.97 kB / 0.7089 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/1.52, allocations: 35.38 kB / 0.7089 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/1.522, allocations: 1.207 MB / 0.7101 GB, free: 91.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06108/1.583, allocations: 56.85 MB / 0.7656 GB, free: 35.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/1.587, allocations: 3.49 MB / 0.7691 GB, free: 32.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/1.59, allocations: 2.452 MB / 0.7715 GB, free: 29.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/1.602, allocations: 7.722 MB / 0.779 GB, free: 21.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/1.602, allocations: 55.81 kB / 0.779 GB, free: 21.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 4.599e-06/1.602, allocations: 0 / 0.779 GB, free: 21.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=213): time 0.03412/1.636, allocations: 18.54 MB / 0.7972 GB, free: 2.969 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.636, allocations: 201.2 kB / 0.7973 GB, free: 2.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/1.642, allocations: 3.755 MB / 0.801 GB, free: 14.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004904/1.643, allocations: 25.7 kB / 0.801 GB, free: 14.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/1.645, allocations: 3.45 MB / 0.8044 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.646, allocations: 0.7981 MB / 0.8052 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/1.646, allocations: 0 / 0.8052 GB, free: 10.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004943/1.647, allocations: 0.5912 MB / 0.8058 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.65, allocations: 2.165 MB / 0.8079 GB, free: 7.852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006948/1.657, allocations: 6.243 MB / 0.814 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005877/1.663, allocations: 3.682 MB / 0.8176 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.609e-05/1.663, allocations: 40 kB / 0.8176 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01538/1.679, allocations: 8.121 MB / 0.8255 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.679, allocations: 4 kB / 0.8255 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/1.679, allocations: 144.1 kB / 0.8257 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/1.682, allocations: 0.9126 MB / 0.8266 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005151/1.687, allocations: 1.544 MB / 0.8281 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2232/1.91, allocations: 6.707 MB / 0.8346 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/1.916, allocations: 210.7 kB / 0.8348 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/1.918, allocations: 414.2 kB / 0.8352 GB, free: 169.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 (823): * Single equations (assignments): 818 * 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.001118/1.919, allocations: 488.3 kB / 0.8357 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.92, allocations: 398.2 kB / 0.8361 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/1.927, allocations: 3.364 MB / 0.8394 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/1.927, allocations: 18.91 kB / 0.8394 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.927, allocations: 12.91 kB / 0.8394 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/1.927, allocations: 11.95 kB / 0.8394 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.942, allocations: 8.058 MB / 0.8473 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.942, allocations: 9.453 kB / 0.8473 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.944, allocations: 318.9 kB / 0.8476 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.946, allocations: 0.66 MB / 0.8482 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/1.946, allocations: 12.75 kB / 0.8482 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006822/1.953, allocations: 6.038 MB / 0.8541 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.953, allocations: 0 / 0.8541 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008038/1.961, allocations: 6.156 MB / 0.8601 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0102/1.971, allocations: 8.671 MB / 0.8686 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.973, allocations: 0.6916 MB / 0.8693 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/1.974, allocations: 3.422 kB / 0.8693 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.975, allocations: 68.03 kB / 0.8694 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.976, allocations: 92.98 kB / 0.8694 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.976, allocations: 56.86 kB / 0.8695 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003863/1.98, allocations: 2.559 MB / 0.872 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006454/1.986, allocations: 1.014 MB / 0.873 GB, free: 159.3 MB / 0.4948 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 (164): * Single equations (assignments): 159 * 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.0004612/1.986, allocations: 144.4 kB / 0.8731 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00813/1.995, allocations: 5.382 MB / 0.8784 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.995, allocations: 5.906 kB / 0.8784 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.997, allocations: 1.838 MB / 0.8802 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/2, allocations: 436.8 kB / 0.8806 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/2.021, allocations: 9.332 MB / 0.8897 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007094/2.028, allocations: 4.428 MB / 0.894 GB, free: 152 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/2.029, allocations: 0 / 0.894 GB, free: 152 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1)